pui.savedJSON / pui.downloadJSON / screenshot

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
ccoutellec
New User
Posts: 3
Joined: Wed Nov 21, 2018 5:50 am
First Name: tof
Last Name: tof
Company Name: sofirep
Country: France
Contact:

pui.savedJSON / pui.downloadJSON / screenshot

Post by ccoutellec »

Hello,

I would like to save my screen after validation by the user in a transparent way and so can re-display it later.

Are there parameters to the function pui.downloadJSON () which would allow to save the data on the IFS?
Is it possible to transmit the pui.savedJSON data to the RPG program?
Do you have another solution?

Thank you.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: pui.savedJSON / pui.downloadJSON / screenshot

Post by Scott Klement »

No, there isn't an option to save to the IFS.

You would need to write your own code to save it to the IFS. If it were me, I'd write a little JavaScript routine that uses our ajaxJSON() function to call an RPG-CGI program on the server and pass the savedJSON to that program. The program could then write it to the IFS.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests