Changing Default Field Value for Custom View

jmiskey
Kilo Sage

Years ago, someone set up a Custom View of our Incident form called (Abend) and it has some default values automatically filled in (and it appears it may be dependent upon who the user is).  For example, if a certain user brings up a new form to fill out, this is what they see:

jmiskey_0-1707234855356.png

 

However, if I bring it up under my account, the Category field is blank (no default value like the previous person):

jmiskey_1-1707234947441.png

 

If I right-click on it and select "Configure Dictionary", I do not see anything in the Default Value section of this Category field.  So how exactly is this value being defaulted to certain values for certain people?  I cannot see where this is being set.

 

Thanks

 

1 ACCEPTED SOLUTION

Rene El Hamzh
Kilo Sage

Hi @jmiskey,

 

I would first take a look at any onLoad client scripts. Also, you could use field watcher to track all actions performed on a particular field. 

 

Best regards,

Rene

View solution in original post

5 REPLIES 5

Rene El Hamzh
Kilo Sage

Hi @jmiskey,

 

I would first take a look at any onLoad client scripts. Also, you could use field watcher to track all actions performed on a particular field. 

 

Best regards,

Rene

You called it!

It was in an onLoad Client Script for the Incident table.  The script was using g_form.addOption to add options, and it was defaulting to the first one. 

 

Now that we found it, we were able to update the script and get it working the way we want.

 

Thank you!

Hi @jmiskey,

 

glad that I could help! It would be great if you could mark my reply as correct/helpful so that the question can be marked as solved.

Sorry, I thought I had already done that, but apparently I was logged out, so it didn't take the first time.