Button on dashboard that opens new record form with autopopulated values

Oliver Anderson
Kilo Sage

I've been asked to create a button on a dashboard that when clicked will open up a new problem ticket with some of the fields populated based on the fact that they clicked this button to get there.

 

I had a few ideas but I'm really not sure where to start. First, what kind of widget would this be? This seems doable as a Service Portal widget since they are scriptable, but as far as I know, you cant add SP widgets to dashboards? I looked into Content Blocks and thought of doing something simple like an HTML button that links to the new problem ticket form, but not sure how I would pass along the values that need to be autopopulated. Maybe a way to trigger an event with parms passed to it on button click?

 

Any ideas would be appreciated, can't really find anything with a search.

1 REPLY 1

Oliver Anderson
Kilo Sage

Just discovered sysparm_query in URLs lol... I was overthinking it.

3 Ways to Populate Values in ServiceNow via the URL