Profound JS interaction with Genie administration

Use this board to ask questions or have discussions with other Profound.js users.
kodurivp
New User
Posts: 9
Joined: Tue Feb 04, 2020 3:59 pm
First Name: Varalakshmi
Last Name: Koduri
Company Name: UPMC
Country: United States
Contact:

Profound JS interaction with Genie administration

Post 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
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: Profound JS interaction with Genie administration

Post 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?
kodurivp
New User
Posts: 9
Joined: Tue Feb 04, 2020 3:59 pm
First Name: Varalakshmi
Last Name: Koduri
Company Name: UPMC
Country: United States
Contact:

Re: Profound JS interaction with Genie administration

Post 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....
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: Profound JS interaction with Genie administration

Post 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
kodurivp
New User
Posts: 9
Joined: Tue Feb 04, 2020 3:59 pm
First Name: Varalakshmi
Last Name: Koduri
Company Name: UPMC
Country: United States
Contact:

Re: Profound JS interaction with Genie administration

Post 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...?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests