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.


Topics - jtailleur

Pages: [1]
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 / 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.




4
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.

5
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.

6
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.

7
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.

8
Web Server - Ask For Help / Records per Page
« on: January 25, 2012, 04:00:36 PM »
Is there any way to set the records per page differently for mobile vs. normal browser mode?


Joe.

9
Web Server - Ask For Help / 6.15 issue - JavaScript Error
« on: January 19, 2012, 07:29:54 AM »
Hi there,

I just downloaded and installed Nettalk 6.15, and recompiled my web app (was on 6.14).  I had two errors appear on the first compile (the batch files didn't seem to run).  I re-downloaded and reinstalled 6.15, and then opened Clarion and my project back up, and recompiled, with no error messages.  However, when I browse to my webserver, I get a the following error.

"Error in site JavaScript"

The same site in 6.14 works fine (I have it running on a VM). 

I even tried manually running the bat files (CopyAll.Bat and GzipAll.Bat). 

I don't have "Combine common files" or "Serve pre-compressed files" on (checks are unmarked).

I did delete to recreate the buttons (after I had the issue).

This project compiled and worked fine a couple of days ago using NT 6.14, but now it's behaving badly.  Any thoughts would be appreciated.


Joe.

10
Web Server - Ask For Help / 6.05 and Internet Explorer 9 and Mobile
« on: November 25, 2011, 02:10:14 PM »
Weird situation.  I have a website I created using Nettalk 6.05.  When I go to my site using Google Chrome; everthing works as it should.

If I go to my site using Internet Explorer 9; I can login, but when I display my browses, I can't select a record (so I can't view or change it), the same is true when I try to go to the site with an iPhone 4S.  The login normally has a button to save (login); but it is missing from the mobile version so I can't even login from a mobile device.

I generated the base of the project with the NT Server App wizard.

Any thoughts on what I might be able to check?

Also, I have a Blackberry Torch (9800) and it is not being detected as a mobile device.  Any way for me to add it?


Joe.

11
Web Server - Ask For Help / Multi-Row Browse and Search
« on: November 18, 2011, 03:44:55 PM »
I am just starting in Nettalk (using 5.42); and have a little website built and working pretty darn well (thanks Capesoft!).  I am just playing with setting the browse with 2 rows of data per item.  In Clarion; that means on a browse, I see both columns titles, and I can click on either title to search by that one.  Is this possible in Nettalk WebServer?


Joe.

Pages: [1]