Default Value javascript:gs.getUserID() issues after upgrade to Kingston

jacobpeterson
Mega Expert

Hello all,

 

****Update: it looks like NO Default Values are working for Order Guides, not even plain text.****

After upgrading to Kingston the Default Value attribute on any sys_user Reference fields is not working for ORDER GUIDES only. I'm referring to the line of code javascript:gs.getUserID() which is supposed to fill in the logged in user. If I load the form from the Service Catalog as a non-Order Guide it works perfectly. If I run the same form from an order guide it does not work but it did pre-Kingston.

 

Any idea what's going on?

 

Thank you!

1 ACCEPTED SOLUTION

I suspect it could be because of one of the client scripts. Would it be possible for you to deactivate all the client scripts for the order guide and check again. Take a screenshot before deactivating, so that you know which ones to activate back.


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

8 REPLIES 8

Can you create a new order guide with just one reference variable with a default value javascript:gs.getUserID() and see if that works. This is so that we know, issue is not with Kingston.


Please mark this response as correct or helpful if it assisted you with your question.

Thank you for the idea. I've created an order guide and added one of the forms we are having issues with and it is working properly. It is not working from either of the other two Order Guides though and it is not working from either of the 4 forms that use this feature.

 

How can I determine what is causing the issue of our two order guide? They were fully functional before the upgrade..

I suspect it could be because of one of the client scripts. Would it be possible for you to deactivate all the client scripts for the order guide and check again. Take a screenshot before deactivating, so that you know which ones to activate back.


Please mark this response as correct or helpful if it assisted you with your question.

Thank you for the help trying to figure this out. I went ahead and coded the default values we needed into a script we already had as I didn't have anymore time to spend on this. I had already searched every script for the field but I did not try your method which potentially could have narrowed the issue down.

 

Thanks again for your help!