NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jtailleur

Pages: [1] 2 3
1
Web Server - Ask For Help / Transmit file to Azure website
« on: June 13, 2022, 08:51:33 AM »
Hi there,

I have a project where I need to create a JSON file (already done), and then transmit it to an Azure website.  I have the URL, the user name and password, and I know I have to connect and then post the file to the website.

I need a hand getting started on which Nettalk portion to use (webclient?), and how to set up the user name and password, etc.

Unfortunately there are 0 docs available from the person requesting me to do this as far as method to implement this.  I know at the moment it's just using a plain text login, although it sounds like somewhere down the road they will switch to OAuth.

I've been digging through the examples I have (I have Nettalk 10.45) but so far I'm not really seeing a relatively clear example of accomplishing what I need to do.

Can someone guide me in the right direction please?


Joe.



2
Web Server - Ask For Help / Browse Locator focus on mobile
« on: September 25, 2015, 09:06:16 AM »
Hi all,

Nettalk 8.61
Clarion 10.0.11897

On mobile only; even though I have my locator set to have focus (Default focus to Locator is checked on), when I enter my browse, my locator does not have focus.  I have a default sort order set on my customer_name field.

If I click on a header, the sort changes, and then the locator automatically gets focus.  I've been round and round with debugging, and for the life of me can't figure out why this isn't working in mobile.  In the desktop site; the locator properly gets focus from the start.

Here are my debug lines:
This is the initial loading of the browse:
1   10:59:59.534   2068   E360Mobile.exe   [st] [netTalk][thread=1] ThisWebServer.AddLog PROCEDURE(String p_Data,<string p_ip>)
2   10:59:59.535   2068   E360Mobile.exe   [st] [netTalk][thread=1] Adding the request to the Queue, and File, at this point
3   10:59:59.539   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers: Event: Generate
4   10:59:59.553   2068   E360Mobile.exe   E360Mobile: SetSortHeaderStart
5   10:59:59.553   2068   E360Mobile.exe   E360Mobile: Customer ID: 905
6   10:59:59.553   2068   E360Mobile.exe   E360Mobile: After BrowseHeader
7   10:59:59.553   2068   E360Mobile.exe   [st] [netTalk][thread=3] GetLocatorValue  clearlocator=0
8   10:59:59.554   2068   E360Mobile.exe   E360Mobile: After Browse Table
9   10:59:59.554   2068   E360Mobile.exe   [st] [netTalk][thread=3] GetLocatorValue  clearlocator=0
10   10:59:59.575   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers :: Order: -UPPER(cus:customer_name),cus:customer_id
11   10:59:59.575   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers :: Filter: SQL(company_id = 4 AND customer_name <> '' AND (customer_type <> 'HOUSE' OR customer_type IS NULL))
12   10:59:59.669   2068   E360Mobile.exe   [st] [netTalk][thread=3] GetLocatorValue  clearlocator=0
13   10:59:59.669   2068   E360Mobile.exe   E360Mobile: Customer ID: 905
14   10:59:59.673   2068   E360Mobile.exe   E360Mobile: AfterBrowseOutside <Form>
15   10:59:59.673   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers END Event=
16   10:59:59.675   2068   E360Mobile.exe   [st] [netTalk][thread=3] ThisWebServer.AddLog PROCEDURE(NetWebServerWorker p_web)


This is after I click on the header:
17   11:00:11.649   2068   E360Mobile.exe   [st] [netTalk][thread=1] ThisWebServer.AddLog PROCEDURE(String p_Data,<string p_ip>)
18   11:00:11.649   2068   E360Mobile.exe   [st] [netTalk][thread=1] Adding the request to the Queue, and File, at this point
19   11:00:11.654   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers: Event: SortChanged
20   11:00:11.656   2068   E360Mobile.exe   E360Mobile: SetSortHeaderStart
21   11:00:11.656   2068   E360Mobile.exe   E360Mobile: Customer ID: 905
22   11:00:11.656   2068   E360Mobile.exe   [st] [netTalk][thread=3] GetLocatorValue  clearlocator=0
23   11:00:11.656   2068   E360Mobile.exe   E360Mobile: After Browse Table
24   11:00:11.657   2068   E360Mobile.exe   [st] [netTalk][thread=3] GetLocatorValue  clearlocator=0
25   11:00:11.657   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers :: Order: UPPER(cus:customer_name),cus:customer_id
26   11:00:11.657   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers :: Filter: SQL(company_id = 4 AND customer_name <> '' AND (customer_type <> 'HOUSE' OR customer_type IS NULL))
27   11:00:11.742   2068   E360Mobile.exe   [st] [netTalk][thread=3] GetLocatorValue  clearlocator=0
28   11:00:11.743   2068   E360Mobile.exe   [st] [netTalk][thread=3] Customers END Event=sortchanged
29   11:00:11.744   2068   E360Mobile.exe   [st] [netTalk][thread=3] ThisWebServer.AddLog PROCEDURE(NetWebServerWorker p_web)

I saw a message about this a while ago; but I never saw a solution.


Joe.

3
Web Server - Ask For Help / Re: Error 30 from mobile device
« on: September 21, 2015, 05:36:32 AM »
I have been unable to determine "why" it's not setting the action incorrectly; only that it is. 

4
Web Server - Ask For Help / Error 30 from mobile device
« on: September 17, 2015, 05:20:27 AM »
Good day all.

I'm getting the following error when using my Nettalk 8.61 web app with my phone (Samsung S4).  Desktop works fine.

Error Message: record not found: (-2)
Error 30: Entry Not
Found from key
cus:cusmast_pkey

cus:cusmast_pkey contains one field, cus:customer_id (LONG), and is unique.

Oddly, if I just cancel and click again, it works fine. 

As well; it works fine with my desktop, every time.  The error only appears once whenever I try to edit a different item.

After adding some debug code I notice that the error also means that the form action has not been set.  Normally loc:act would be 2 for a "ChangeRecord"; but in the case of this failure, it's 0. 

It's bloody confusing; as I said, it never occurs with my desktop PC; even when emulating a "mobile" app (using Chrome's tools), but just on my actual mobile device.  This is my last hurdle to get this app out the door; any information or thoughts on how to get around it would be greatly appreciated.


Joe.




5
Web Server - Ask For Help / Re: WebServer SQL Login Issue
« on: January 30, 2015, 07:46:48 AM »
Ok; well, apparently the secret is to use a PROP:Disconnect before Opening the file.  That way it ensures Clarion "Connects" again.

It seems to work very reliably now. 

6
Web Server - Ask For Help / WebServer SQL Login Issue
« on: January 30, 2015, 07:05:24 AM »
Hi All,

Not sure quite how to tackle this one.  I have a small webserver I am testing, and have it all working great.  I have a separate login procedure that reads login information from an SQL table.  The webserver happily connects and opens the table; gets the security information, etc.

The issue, is that nightly, this server gets reset (not under my control).  The webserver, for some reason, leaves the connection up once someone logs in, and once that connection is killed, I can no longer log in.  I have to restart the webserver.  Any thoughts on how to handle this disconnect?


Joe.

7
Web Server - Ask For Help / Re: Search (x reset not working)
« on: January 30, 2015, 07:01:40 AM »
Hi Bruce,

I tried both Chrome and IE 11.  It's a little X that appears inside the search box.


Joe.

8
Web Server - Ask For Help / Search (x reset not working)
« on: January 26, 2015, 09:00:53 AM »
Hi all,

I am using Nettalk 8.34 and having a small issue.  I have a browse which displays customers, and a search box about set to check for "Contains".  The filter works fine; and if I set a filter, and then go up into the search box, and use the backspace key to remove the filter text, the browse resets fine.  However, if I click the little "X" at the right of the search field; the browse does not reset.  Any thoughts?


Joe.

9
The Rest - Ask For Help / Nettalk - Shutdown
« on: April 02, 2013, 05:05:25 AM »
Bruce asked me to post this here; to remind him about it.   :)

I am wondering if there is a way to set the “Description” that is displayed by the autoshutdown control.  The description is often not very helpful; for example, in the app I’m working with now, the description simply shows as “Template”.  I would like to be able to set this to the user name of the person or something else to help me identify the station more easily.
 
Cheers,

Joe.

10
Hi Bruce,

I just went through the settings with a fine tooth comb, and it appears that the app wizard set "Combine common files" and "serve precompressed files" to on.  I've just switched those off and I now see a "Login" button.

Thanks,


Joe.

11
Hi Bruce,

I just tried example 7.  When I flip that example app into mobile mode, the login button disappears.  Put it back into desktop mode and the login button appears again below the login information.


Joe.

12
Hi Bruce,

Web3 example won't go into mobile mode; using the manual method (?_mobile_=1); or from my phone.  It always uses the desktop style.

So, I can't recreate using that example.

I would not mind sending you my app; except that it uses postgresql as the backend; so there's going to be a lot of set up required.  I don't use TPS at all any more.

Would you still like me to send it to you?  I certainly don't mind.


Joe.

13
Just some additional information: 

There appears to be text above the window that says "Login", when I hover over it, it says "Click on this to Save the form"; but it's not a button, it's just text,

Clicking on it doesn't trigger the event. 


Joe.

14
Hi guys,

No joy.  I am actually using the sample login form; with the two separate lines to set the text on the "save" button to "login"

No save button anywhere, either manually forcing mobile mode from my desktop browser, or from my Samsung Galaxy II phone browser.


Joe.

15
Hi folks,

Just recreating a web site for use with mobile phone.  The site works fine; except when in mobile mode; I am missing my "Login" (save) button.  it's there in desktop mode; but disappears in mobile.

Using Nettalk 7.00

The same thing happens when I just switch modes on my desktop to mobile; using the ?_mobile_=1 setting.


Cheers,


Joe.

Pages: [1] 2 3