Redwood: Obtaining details about the current user Business Unit in a Javascript action chain
Summary:
- Is there a direct way to get logged in user's Business Unit?
- 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?
- 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?
Tagged:
0