Forum Discussion
StephanieNoack
Apr 24, 2024Copper Contributor
Manager Macro
Is it possible in Viva Glint to use a macro that pulls in the Manager's Full Name (and falls back to a generic "My manager" if a name isn't provided)? If so, can you share the macro here?
StephanieNoack
May 07, 2024Copper Contributor
Oh nice! I had tested and figured out this works:
{{NVL user.userAttribute23 "My manager"}} provides me with feedback that helps me improve my performance.
But I don't need the NVL user.uesrAttribute23 part anymore?
{{NVL user.userAttribute23 "My manager"}} provides me with feedback that helps me improve my performance.
But I don't need the NVL user.uesrAttribute23 part anymore?
alanderfield
Microsoft
May 07, 2024Hello StephanieNoack, thank you for clarifying. The "My Manager" macro determines the manager based on the manager hierarchy from the "managerID" attribute within Glint. If you use the "My Manager" macro that language should appear for survey takers and for dashboard users (if they do not have a manager via the hierarchy). It looks like you are using a separate manager attribute (attribute 23). If you use a macro other than Viva Glint's default macros, the attribute name (Attribute 23) will appear on the dashboard and for survey takers if they do not have a value in that field. I hope this helps to clarify, but let me know if you have additional questions.
- StephanieNoackMay 07, 2024Copper ContributorHey Adam,
Understood that the messy macro will appear in the dashboard. 🙂 Are you saying, though, that if they use the default [My Manager] macro that's in the system, it will populate their manager's full name in the survey? For example, if my manager is Steph Gerpe, will the "I would recommend [My Manager] to others/" question read: "I would recommend Steph Gerpe to others" instead of using the generic "my manager" phrase? (And then fallback to "I would recommend my manager to others" if they don't have a manager in the hierarchy? If so, that's new and exciting!