currentProcedureName() ?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
k2R400
Profound User
Posts: 62
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

currentProcedureName() ?

Post by k2R400 »

Hello,

Is it possible to retreive the *PROC name from the PDSD with javascript (like the currentFormatNames System's API) ?
I need it in the onload event.

Thank you in advance
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: currentProcedureName() ?

Post by Glenn »

Patrick,

I do not believe we have a JavaScript API to retrieve the current procedure name.

What you could do is place a hidden Dynamic Output Field on your screen that is bound to the variable you have defined for *PROC in your PSDS. You could then use the get() API to retrieve the value in the onload event.

Glenn
k2R400
Profound User
Posts: 62
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

Re: currentProcedureName() ?

Post by k2R400 »

Thank you Glenn
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest