Page 1 of 1

get job name and number

Posted: Thu Apr 10, 2014 11:00 am
by sgagn0
Is there a way to retrieve the job name and number from javascript? (same kind of function as currentUser() )

Re: get job name and number

Posted: Thu Apr 10, 2014 12:24 pm
by Alex
Currently, there is no built-in JavaScript function to do so. However, your RPG program could output this information into hidden fields on the screen. Then, you can use the get() API in JavaScript to retrieve the information.