Passing Variables Into UI Pages

Recently a colleague wanted to use an OOB UI page but wanted to amend its behaviour. We could see that a jvar_variable available that if set, would do exactly what we wanted. However, we didn’t want to edit the UI page to do manually set it. Well it turns out setting the variable was far easier than writing a single piece of jelly.

Passing data into a UI page usually consists of adding “sysparm_something” as a URL paremeter when calling the UI page. Well it turns out, you can actually pass anything in. So my colleague showed me that by passing the jvar_variable as a URL parameter, it was actually be set correctly.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.