PxPlus User Forum

Twitter Twitter Twitter

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 - Stéphane Devouard

Pages: 1 2 [3] 4 5 ... 9
31
Language / Re: Json Element addressing
« on: May 24, 2022, 01:27:26 PM »
Michael
I think I found the missing dot between the moment you copied and tested the code and the moment you posted your answer ;-)
Glad I could help

32
Language / Re: Json Element addressing
« on: May 24, 2022, 10:40:43 AM »
Michael

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

33
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

34
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

35
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

36
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

37
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

38
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

39
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

40
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

41
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 ?

42
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

43
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

44
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

45
Nomads / Re: Nomads Library Paths
« on: March 22, 2022, 10:13:47 AM »
James

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

Pages: 1 2 [3] 4 5 ... 9