Redwood: Obtaining details about the current user Business Unit in a Javascript action chain — Cloud Customer Connect
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

Redwood: Obtaining details about the current user Business Unit in a Javascript action chain

in Sales 4 comments

Summary:

  1. Is there a direct way to get logged in user's Business Unit?
  2. I am currently using below code on an Action Chain attached to an even listener to obtain BU in a variable but this means that I have to write the same code everywhere I need to fetch the BU details. Is there any global event listener like login in an application that can set a global variable that in turn can be used across all object?
  3. Also, If I calculate this in a global function in Application composer, is there a way to call global function in any script of VB Studio?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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