You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to access $user or $application.user variable in the layout

Summary:

Hi Everybody.

I have got a requirement to create a custom field in the HrHelpDeskRequest layout and its value would depend on the user that is currently accessing the form. I have been trying and trying but can't figure out how could an action chain in the layout access $user variable and associated property like $user.userId. I tried to use this variable in vbEnter Listener but this variable always comes out as undefined (console.log($user)) . The page which hosts this layout helpdesk/employee/service-request-create/service-request-create-start page is able to view $user and even $application.user.userId, is there a way to pass this variable from page into

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!