Script in record producer's variable field default value is not working

mohammadtaneem
Tera Contributor

hiii iam working on record producers i  am getting the issue while  fetching values based on currently logged in user through default value variable.Help me to resolve the bug

9 REPLIES 9

Hemanth M
Tera Sage

Hi @mohammadtaneem ,

 

What value are you getting in from the logged in user??? can you share your script here if that's ok.

 

 

Hi @mohammadtaneem ,

 

sorry didn't see the screenshot, here you go:

 

HemanthM1_0-1754935315054.png

 

 

javascript: gs.getUserID()

javascript: gs.getUser().getEmail();

 

Hope this helps!

 

Hi @mohammadtaneem ,

 

If this answered your question, please close the loop so that others can refer to it as a working solution.

 

 

 

 

brianlan25
Kilo Patron

The D need to be capitalized in gs.getUserID() you have gs.getUserId().