Page 1 of 1
Profound JS interaction with Genie administration
Posted: Tue Feb 04, 2020 4:04 pm
by kodurivp
Hi,
I am trying to run the pjs command through genie administration. We have profound js and profound ui in different paths. So I wanna use this PJSCALL MODULE(example2) DIRECTORY(pjshello). Can you please elaborate on this how to use this in the genie skin? Is it in Custom JS of the skin?
Thanks
Koduri
Re: Profound JS interaction with Genie administration
Posted: Wed Feb 05, 2020 11:07 am
by Scott Klement
Sorry, I don't understand.
Do you mean that when you run Genie, you want to be able to log on and type the PJSCALL command that you posted?
That should work. What problem are you having?
Re: Profound JS interaction with Genie administration
Posted: Wed Feb 05, 2020 11:10 am
by kodurivp
Hi,
When we run genie we will have skins... and each skin has custom js file and css file so where exactly we need to type the PJSCALL command?
Below is the folder
http://host/profoundui/genie
In this we have skins
for example classic skin
Inside we have -> custom.js
-> skin.css
-> configuration
-> screens
-> html
Please let me know if I am missing something....
Re: Profound JS interaction with Genie administration
Posted: Wed Feb 05, 2020 11:23 am
by Scott Klement
Do you mean you want to run it from JavaScript that's in your web browser? That runs on your PC, so there isn't an easy way to do that.
PJSCALL is an IBM i command, you would run it from the command-line in your 5250 session. If you want to do this automatically, you would use a Genie Macro as described here:
https://docs.profoundlogic.com/display/PUI/Macros
Re: Profound JS interaction with Genie administration
Posted: Wed Feb 05, 2020 11:29 am
by kodurivp
Hey thank you so much for your time and quick response. I know that we can't do from javascript. I just want to know if there is any way to interact the profound js with the genie administration? My understanding is there is no easy way and via macros only we can interact profound js with genie administration right? Am I missing somethinig...?