Pre-populate field values on Service Portal page when the page opens on button-click

Sourabh Saha1
Tera Contributor

I have a Service Portal Page with 2 options in GlideList and other fields. I have created a button which redirects me to the same page to Submit a new record. Button as a widget in ServicePortal page. Now, what I am trying to do is that when I click on the button, the page should open with some pre-populated column values. For example, if I click on the button it will open the form with one of the options already populated.

4 REPLIES 4

Jace Benson
Mega Sage

If these are catalog items, I've done this.  https://blog.jace.pro/post/2018-07-15-sp-set-variables-via-url/

If not, this should give you an idea how to do it on the form.  Just add a widget to read url props and try to set fields/variables based on that.

in case anyone else comes looking for this: here is a working link to Jace's blog post: https://jace.pro/post/2018-07-15-sp-set-variables-via-url/

Thank you for the updated link... I failed to make 301's for those!

Surendra Poosa1
Kilo Expert

Hi Sourabh,

Were you able to acheive this?

 

Thanks