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.
1
Web Server - Ask For Help / Re: NetWebClient - post data?
« on: September 04, 2025, 08:40:55 AM »
Hi Jane
thanks
NetShowSend=>1 is exactly what I was after
thanks
Johan
thanks
NetShowSend=>1 is exactly what I was after
thanks
Johan
2
Web Server - Ask For Help / NetWebClient - post data?
« on: September 02, 2025, 10:02:06 PM »
Hi,
How do I check the actual Post request?
Having some issues and want to make sure that all the bits are in the correct places.
Current specific error that I'm getting is that the bearer token is invalid, as far as I can it's good and has not expired.
So want to see what the post data actually looks like, complete with header etc...
thanks
Johan
How do I check the actual Post request?
Having some issues and want to make sure that all the bits are in the correct places.
Current specific error that I'm getting is that the bearer token is invalid, as far as I can it's good and has not expired.
So want to see what the post data actually looks like, complete with header etc...
thanks
Johan
3
Web Server - Ask For Help / Re: 2Step process - Bearer token - OAuth?
« on: September 01, 2025, 09:38:45 PM »
Hi Jane
Thanks for detailed reply as always!
I'm glad to report after reading your reply and method, it's the route I am busy with.
Feels good to know I am on the right path
After reading the OAuth docs, I also went the route of doing my own thing.
I've done quite a few different API's but not the 2 step process.
Just seemed more simple and in control than trying to understand the OAuth process.
I'm almost done, so far so good.
All seems pretty simple, and thanks to NT and the Codewriter takes an enormous amount of time, pain and possible mistakes out of it.
thanks
Johan
Thanks for detailed reply as always!
I'm glad to report after reading your reply and method, it's the route I am busy with.
Feels good to know I am on the right path

After reading the OAuth docs, I also went the route of doing my own thing.
I've done quite a few different API's but not the 2 step process.
Just seemed more simple and in control than trying to understand the OAuth process.
I'm almost done, so far so good.
All seems pretty simple, and thanks to NT and the Codewriter takes an enormous amount of time, pain and possible mistakes out of it.
thanks
Johan
4
Web Server - Ask For Help / 2Step process - Bearer token - OAuth?
« on: September 01, 2025, 08:29:09 AM »
Hi,
Looking to get some JSON data from a 3rd party API server tracking , Fedex
I have to request the bearer token using credentials, and then use the returned bearer token to fetch the data.
The bearer token expires after an hour.
Before I dive in and code the 2 steps , this seems to be exactly the same as OAuth.
Am I on the right path?
Or as simple to code the 2 steps?
thanks
Johan
Looking to get some JSON data from a 3rd party API server tracking , Fedex
I have to request the bearer token using credentials, and then use the returned bearer token to fetch the data.
The bearer token expires after an hour.
Before I dive in and code the 2 steps , this seems to be exactly the same as OAuth.
Am I on the right path?
Or as simple to code the 2 steps?
thanks
Johan
5
Web Server - Ask For Help / Re: Table update Netwebform with popup memory forms
« on: August 21, 2025, 02:23:13 AM »
Hi Ron
Thanks, that is a very clear explanation.
You have confirmed what I understand it to do with some more information that is very helpful
thanks
Johan
Thanks, that is a very clear explanation.
You have confirmed what I understand it to do with some more information that is very helpful
thanks
Johan
6
Web Server - Ask For Help / Table update Netwebform with popup memory forms
« on: August 20, 2025, 11:56:16 PM »Hi,
I have a table update FORM, the master.
On it I have a few buttons that call small popup forms that also update some of the same table fields, the popup form are memory forms.
These fields are sometimes display fields on the master FORM, sometimes not.
It all seems to work and the table fields from the popups are updated and saved, but still testing the process to make sure all is reliable.
The way I undestand is that the Table update form will write the record from the session variables?
Is there anything to follow to make this process 100% reliable?
eg. call a certain sync routine to ensure all is good?
Is there perhaps a webinar or resource that discusses simialr process that will be of use?
thanks
Johan
7
Web Server - Ask For Help / Re: How to debug this slow request?
« on: August 08, 2025, 10:32:16 AM »
Hi Ron
Yes have to agree with that.
However it's good to attempt and get things to look as PRO as possible as well as easy as possible
regards
Johan

However it's good to attempt and get things to look as PRO as possible as well as easy as possible
regards
Johan
8
Web Server - Ask For Help / Re: How to debug this slow request?
« on: August 08, 2025, 02:45:43 AM »
Hi Bruce/Jane/Ron
Thanks for all your input and ideas thus far, thought I should give some feedback.
There are 2 seperate issues that have contributed to my slow request problem.
1)
Initially I thought it was the DB access but this only seems to be an issue if the Browse row is refreshed, then it seems to read through the whole file.
If the whole Browse is refresh this is not an issue.
2)
The other issue which Jane alluded to was the dropbox creation.
Each EIP dropbox has about 30 options and on a large browse (80 lines) this is a fair amount as each line has all the options.
The code that generates the dropbox is very quick and the page completes however it seems that once it's done and hands back to the browser,
the JS could have a problem with the complex html and there is a slowdown with the refresh.
I don't have any experience in this area, so can't confirm 100%
Again hoping that the example will either confirm or point our where I'm going wrong.
Have created and submitted 2 example apps, either to confirm the issues or where I am doing something wrong.
To solve my issue for now, I refresh the whole browse, and I removed the EIP dropdown , instead used a popup update window to update the qty.
thanks,
Johan
Thanks for all your input and ideas thus far, thought I should give some feedback.
There are 2 seperate issues that have contributed to my slow request problem.
1)
Initially I thought it was the DB access but this only seems to be an issue if the Browse row is refreshed, then it seems to read through the whole file.
If the whole Browse is refresh this is not an issue.
2)
The other issue which Jane alluded to was the dropbox creation.
Each EIP dropbox has about 30 options and on a large browse (80 lines) this is a fair amount as each line has all the options.
The code that generates the dropbox is very quick and the page completes however it seems that once it's done and hands back to the browser,
the JS could have a problem with the complex html and there is a slowdown with the refresh.
I don't have any experience in this area, so can't confirm 100%
Again hoping that the example will either confirm or point our where I'm going wrong.
Have created and submitted 2 example apps, either to confirm the issues or where I am doing something wrong.
To solve my issue for now, I refresh the whole browse, and I removed the EIP dropdown , instead used a popup update window to update the qty.
thanks,
Johan
9
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 31, 2025, 10:00:56 PM »
Hi Jane
Asked in the NT user group last night, still no resolve,
but the problem is outside of the procedures.
Once I have more info will post what I've found
thanks
Johan
Asked in the NT user group last night, still no resolve,
but the problem is outside of the procedures.
Once I have more info will post what I've found
thanks
Johan
10
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 30, 2025, 10:53:08 AM »
Hi Jane
Thanks for that idea, will have a look,
it's a decent length, perhaps 20 entries, so will play a roll, but don't think that's the culprit.
Also need to cleanup my procedure and all debug lines, and look with fresh eyes.
thanks
Johan
Thanks for that idea, will have a look,
it's a decent length, perhaps 20 entries, so will play a roll, but don't think that's the culprit.
Also need to cleanup my procedure and all debug lines, and look with fresh eyes.
thanks
Johan
11
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 30, 2025, 03:07:59 AM »
Hi,
Currently have had to remove the EIP dropbox and replaced it with a popup UpdateForm.
Will return to the problem when I get a chance, and will post any findings.
thanks
Johan
Currently have had to remove the EIP dropbox and replaced it with a popup UpdateForm.
Will return to the problem when I get a chance, and will post any findings.
thanks
Johan
12
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 29, 2025, 10:27:15 AM »
Hi Bruce
Any advice on how to find this possible problem?
Been chasing all sorts of things past few days, but still having an issue.
From your post earlier
>>>>>>>>>>>>>>>>>>>>
My guess is that the reply to the browser is not completing. ie you have some code in the thread, after the drop down is populated, which delays the ending of the thread. In that case the connection is not closed, so the browser does not start processing the reply.
>>>>>>>>>>>>>>>>>>>>
thanks
Johan
Any advice on how to find this possible problem?
Been chasing all sorts of things past few days, but still having an issue.
From your post earlier
>>>>>>>>>>>>>>>>>>>>
My guess is that the reply to the browser is not completing. ie you have some code in the thread, after the drop down is populated, which delays the ending of the thread. In that case the connection is not closed, so the browser does not start processing the reply.
>>>>>>>>>>>>>>>>>>>>
thanks
Johan
13
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 27, 2025, 09:50:16 PM »Hi Ron
thanks for the idea, am looking into it.
The key is Case sensitive and the filter is constructed by the EIP code
My understanding is if Case sensitive key then UPPER not required?
thanks
Johan
14
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 26, 2025, 12:43:26 AM »
Hi Bruce
Think I found the line that takes roughly 5secs
In the LoadViewRecord
It's the next(p_view) between 5555 and 6666
Still using TPS, not sure if this is an issue
Below the code and the view structure.
My next step is going to duplicate and handcode the action of the view and see if it does the same and also to see if there is something to be done.
Any ideas highly appreciated.
Johan
NetWebServerWorkerBase.LoadViewRecord Procedure(View p_View,File p_File,Key p_Key)
err Long
f String(1024)
code
self.trace('TVCweb LoadViewRecord 1111:' & format(clock(),@t06))
f = p_view{prop:filter}
self.trace('TVCweb LoadViewRecord 2222:' & format(clock(),@t06))
p_view{prop:filter} = ''
self.trace('TVCweb LoadViewRecord 3333:' & format(clock(),@t06))
self.trace('TVCweb LoadViewRecord 3333Filter=:' & p_View{prop:filter})
self.AddKeyToFilter(p_View,p_File,p_Key)
self.trace('TVCweb LoadViewRecord 4444:' & format(clock(),@t06))
self.trace('TVCweb LoadViewRecord 4444Filter=:' & p_View{prop:filter})
set(p_view)
self.trace('TVCweb LoadViewRecord 5555:' & format(clock(),@t06))
next(p_view)
self.trace('TVCweb LoadViewRecord 6666:' & format(clock(),@t06))
err = errorcode()
self.trace('TVCweb LoadViewRecord 7777:' & format(clock(),@t06))
p_view{prop:filter} = self.AssignFilter(f)
self.trace('TVCweb LoadViewRecord 8888:' & format(clock(),@t06))
return err
View:item View(item)
Project(ite:item_isn)
Project(ite:item_desc)
Project(ite:item_amt)
Project(ite:item_qty)
Project(ite:item_gr_total)
END ! of ThisView
Think I found the line that takes roughly 5secs
In the LoadViewRecord
It's the next(p_view) between 5555 and 6666
Still using TPS, not sure if this is an issue
Below the code and the view structure.
My next step is going to duplicate and handcode the action of the view and see if it does the same and also to see if there is something to be done.
Any ideas highly appreciated.
Johan
NetWebServerWorkerBase.LoadViewRecord Procedure(View p_View,File p_File,Key p_Key)
err Long
f String(1024)
code
self.trace('TVCweb LoadViewRecord 1111:' & format(clock(),@t06))
f = p_view{prop:filter}
self.trace('TVCweb LoadViewRecord 2222:' & format(clock(),@t06))
p_view{prop:filter} = ''
self.trace('TVCweb LoadViewRecord 3333:' & format(clock(),@t06))
self.trace('TVCweb LoadViewRecord 3333Filter=:' & p_View{prop:filter})
self.AddKeyToFilter(p_View,p_File,p_Key)
self.trace('TVCweb LoadViewRecord 4444:' & format(clock(),@t06))
self.trace('TVCweb LoadViewRecord 4444Filter=:' & p_View{prop:filter})
set(p_view)
self.trace('TVCweb LoadViewRecord 5555:' & format(clock(),@t06))
next(p_view)
self.trace('TVCweb LoadViewRecord 6666:' & format(clock(),@t06))
err = errorcode()
self.trace('TVCweb LoadViewRecord 7777:' & format(clock(),@t06))
p_view{prop:filter} = self.AssignFilter(f)
self.trace('TVCweb LoadViewRecord 8888:' & format(clock(),@t06))
return err
View:item View(item)
Project(ite:item_isn)
Project(ite:item_desc)
Project(ite:item_amt)
Project(ite:item_qty)
Project(ite:item_gr_total)
END ! of ThisView
15
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 25, 2025, 06:08:01 AM »
Hi Bruce
Thanks for the reply.
Are you referring to the code in the "Client Side" server code button embed
the only code I have there executes super fast.
ds_OutputDebugString('TVCweb MyCode Start:' & format(clock(),@t06))
do calc_rest_of_flds
ds_OutputDebugString('TVCweb MyCode End:' & format(clock(),@t06))
Or is there code somewhere else that is still executing on a thread even though the page is populated?
thanks
Johan
Thanks for the reply.
Are you referring to the code in the "Client Side" server code button embed
the only code I have there executes super fast.
ds_OutputDebugString('TVCweb MyCode Start:' & format(clock(),@t06))
do calc_rest_of_flds
ds_OutputDebugString('TVCweb MyCode End:' & format(clock(),@t06))
Or is there code somewhere else that is still executing on a thread even though the page is populated?
thanks
Johan