We are currently experiencing intermittent login issues on Community.  The team is actively working on a fix.

Creating Hardware Request From Incident - Pass Caller to Portal Form

jlaps
Kilo Sage

I have created a CREATE HARDWARE REQUEST action from an incident. This correctly opens a new window to the correct form, but I am having trouble passing the caller as sysparm to the portal form 'requested_for' variable as we are setting the default value on 'requested_for' as part of a variable set (used in 40+ forms).

javascript:gs.getUserID()

 

I want to use the passed sysparm user/caller if its there, or used the default value if its not there... and I am running into trouble.

 

I think the URL is passing the sysparm out correctly as I can see it and its the caller from the incident, but it ALWAYS is using the default value for 'requested_for' even if I try to set it in onLoad script. What should this situation look like?

0 REPLIES 0