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.
31
Language / Re: Json Element addressing
« on: May 24, 2022, 10:40:43 AM »
Michael
Is that what you are looking after ?
Hope this helps
Is that what you are looking after ?
Code: [Select]
records=num(test$["totalSize"])
for records
items=num(test$["records."+str(records)+".OrderItems.totalSize"])
for items
itemID$=test$["records."+str(records)+".OrderItems.records."+str(items)+".Id"]
quantity=num(test$["records."+str(records)+".OrderItems.records."+str(items)+".Quantity"])
totalPrice=num(test$["records."+str(records)+".OrderItems.records."+str(items)+".totalPrice"])
next
next
Hope this helps
32
Language / *plus/Web/request and redirections
« on: May 19, 2022, 08:58:39 AM »
I just noticed an issue with *plus/web/request
An home page I am trying to get has the following pattern :
https://our.domain.com/somescript.php?pg=somepage
I was doing a GET with the utility to the domain as it is stored in the configuration files, ie
https://our.domain.com
The request returns a 301 status with a
Location: somescript.php?pg=somepage HTTP header
So *plus/web/request follows it, but instead of trying :
https://our.domain.com/somescript.php?pg=somepage
It tries :
somescript.php?pg=somepage
Which obviously fails and returns a "Cannot contact host server" error
I have worked around the issue by requesting the whole home page URL in the first place instead of just the domain name URL
You may however want to enhance the redirection following logic in a future version
An home page I am trying to get has the following pattern :
https://our.domain.com/somescript.php?pg=somepage
I was doing a GET with the utility to the domain as it is stored in the configuration files, ie
https://our.domain.com
The request returns a 301 status with a
Location: somescript.php?pg=somepage HTTP header
So *plus/web/request follows it, but instead of trying :
https://our.domain.com/somescript.php?pg=somepage
It tries :
somescript.php?pg=somepage
Which obviously fails and returns a "Cannot contact host server" error
I have worked around the issue by requesting the whole home page URL in the first place instead of just the domain name URL
You may however want to enhance the redirection following logic in a future version
33
Webster Plus / Re: Cannot access demo site
« on: May 12, 2022, 06:31:48 AM »
Hi
I tried with a different browser (Firefox instead of Chrome) and email address (pro instead of personal), which I never used previously on the webster test site
After clearing the cookies for the site and retrying the link in the email it worked
I tried with a different browser (Firefox instead of Chrome) and email address (pro instead of personal), which I never used previously on the webster test site
After clearing the cookies for the site and retrying the link in the email it worked
34
Programming / Re: Error 2 on OPEN “[TCP]
« on: May 12, 2022, 06:26:42 AM »
David
An error 2 on a TCP channel generally means that the remote peer (the printer) closed the connection
Regards
An error 2 on a TCP channel generally means that the remote peer (the printer) closed the connection
Regards
35
Wish List / IDE settings by projects
« on: May 10, 2022, 02:50:04 AM »
Hi
It would be useful if the various IDE tools settings (*IT, Nomads, etc...) were saved on a project by project basis
This way you could have the project for the old legacy apps using some color scheme and all-lower caps
And the project for the newer web apps using a different colors scheme and mixed-case (for example)
Thx
It would be useful if the various IDE tools settings (*IT, Nomads, etc...) were saved on a project by project basis
This way you could have the project for the old legacy apps using some color scheme and all-lower caps
And the project for the newer web apps using a different colors scheme and mixed-case (for example)
Thx
36
Webster Plus / Re: Cannot access demo site
« on: May 02, 2022, 11:15:42 AM »
Mike
I have done that (using the lock on the address bar to access the cookies and deleting it for demo.pvxplus.com)
Unfortunately it did not resolve the issue -- after I re-requested a site and clicked the link in the email, I got the same error message
TIA
I have done that (using the lock on the address bar to access the cookies and deleting it for demo.pvxplus.com)
Unfortunately it did not resolve the issue -- after I re-requested a site and clicked the link in the email, I got the same error message
TIA
37
Webster Plus / Cannot access demo site
« on: May 02, 2022, 08:56:33 AM »
Hi
I'm trying to access the Webster+ demo site
I enter my email address on the testdrive page
I clicked on the link in the email received, and get to a page with a red box saying
Unable to detect demo site redirection cookie on your brower
Thanks for any help
Regards
I'm trying to access the Webster+ demo site
I enter my email address on the testdrive page
I clicked on the link in the email received, and get to a page with a red box saying
Unable to detect demo site redirection cookie on your brower
Thanks for any help
Regards
38
iNomads / Re: IIS / single port
« on: April 29, 2022, 07:25:16 AM »
Got it
This is something that was added to PxPlus 2018 which obviously we did not use since we were stuck with PxPlus v10…
Sorry for the confusion
This is something that was added to PxPlus 2018 which obviously we did not use since we were stuck with PxPlus v10…
Sorry for the confusion
39
iNomads / Re: IIS / single port
« on: April 28, 2022, 12:16:50 PM »
Chris
If my memory serves me correctly, at Explorer we were using IIS as the web server and we were configuring iNomads to connect to a Simple CS Host server listening on a single port to run the application in the background
Regards
If my memory serves me correctly, at Explorer we were using IIS as the web server and we were configuring iNomads to connect to a Simple CS Host server listening on a single port to run the application in the background
Regards
40
Wish List / Re: Updated PxBasic
« on: April 07, 2022, 12:27:01 PM »
Out of curiosity, is the 5000 records limit valid for all kind of files channels or will the demo license allow me to retrieve 5001 records from a SQL connected database using direct mode and issuing SQL statements to the file channel ?
41
Wish List / Updated PxBasic
« on: April 07, 2022, 02:49:18 AM »
Hi
Since the SD license is phased out this year, how about an updated PxBasic -- maybe not to V19 which is about to be released, but to V18 ?
Thanks
Since the SD license is phased out this year, how about an updated PxBasic -- maybe not to V19 which is about to be released, but to V18 ?
Thanks
42
iNomads / Re: how to extract a value passed in the url
« on: April 01, 2022, 10:31:26 AM »
HendersonS
First, you need to resolve the issue with running iNomads
In the Windows installation procedure you're pointing to, it is said that you must change the path to pxplus.exe in the pxp.cgi file
Did you do that ?
If that is correct, then maybe you have a problem accessing the activation file
The best way to check this is to run the pxplus.exe that is pointed by the pxp.cgi and check it is correctly using the Wayfarer key
One thing you must try to avoid is installing PxPlus in the "Program Files" folder as this is protected by the system and you get all kind of permission problems
Once the activation problem is sorted out, the answer to your question is
%INOMADS'URL_ARG$("id")
Whatever program is run by the qryrec transaction must use this method of the %INOMADS object to retrieve the query string arguments
Hope this helps
First, you need to resolve the issue with running iNomads
In the Windows installation procedure you're pointing to, it is said that you must change the path to pxplus.exe in the pxp.cgi file
Did you do that ?
If that is correct, then maybe you have a problem accessing the activation file
The best way to check this is to run the pxplus.exe that is pointed by the pxp.cgi and check it is correctly using the Wayfarer key
One thing you must try to avoid is installing PxPlus in the "Program Files" folder as this is protected by the system and you get all kind of permission problems
Once the activation problem is sorted out, the answer to your question is
%INOMADS'URL_ARG$("id")
Whatever program is run by the qryrec transaction must use this method of the %INOMADS object to retrieve the query string arguments
Hope this helps
43
Nomads / Re: Automatic Update to TitleBar Control
« on: March 26, 2022, 04:00:57 AM »
James
Just thinking out loud here, haven't tested but you may try using the Dependency Definitions and set the Time$ variable when refresh_flg = 1
Hope this helps
Just thinking out loud here, haven't tested but you may try using the Dependency Definitions and set the Time$ variable when refresh_flg = 1
Hope this helps
44
Nomads / Re: Nomads Library Paths
« on: March 22, 2022, 10:13:47 AM »
James
Nomads has a special logic for this :
Just set the variable or the %NOMADS property to the name of a program (or program;label) of your own in your START_UP or LPG / app initialization program
You can do whatever logic you want in this code, as long as you set the second argument to the actual full pathname of the library before EXITing
Hope this helps
Regards
Nomads has a special logic for this :
%NOMADS'Process$ %NOMADS_Process$ | Pre-processing for panel name and library. Program is called using the SCRN_ID$ and SCRN_LIB$ as arguments. |
Just set the variable or the %NOMADS property to the name of a program (or program;label) of your own in your START_UP or LPG / app initialization program
You can do whatever logic you want in this code, as long as you set the second argument to the actual full pathname of the library before EXITing
Hope this helps
Regards
45
Eldon
Your message is not the clearest I've ever read here, so here are some pointers
When defining your menu items, you choose how to run the item :
Your message is not the clearest I've ever read here, so here are some pointers
When defining your menu items, you choose how to run the item :
- CALL : will CALL the "program" or "program;label" you specify
- LINK : will PROCESS the panel you specify. Either specify just the "panel" name if it is located in the same library, or "panel","library" if it is in a different library. PROCESSing a panel is doing a CALL behind the scenes to the Nomads runtime routine (*winproc), optionally passing up to 20 parameters to the panel
- JUMPTO : will PROCESS the panel you specify. Same as above to specify "panel" or "panel","library". Only change is that all variables from the PROCESSing panel will be shared with the PROCESSed panel
- PERFORM : will PERFORM the "program" or "program;label" you specify. PERFORM is basically a CALL that shares all variables between the CALLer and the CALLee
- EXECUTE : will EXECUTE the ProvideX logic you specify. The logic can be a single or compound statement with semi-colons ( between directives (as you would do in regular code)
- MERGE-JUMPTO : same as a JUMPTO, excepted the PROCESSed panel is not modal (it does not disable the PROCESSing panel, they are both active at the same time)
- HELP : displays the "help-file" you specify
- END : closes the current panel