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?
- StephanieNoackCopper ContributorRelated but separate question --- Where in Viva Glint can we change the manager macro so it reads "my direct supervisor" instead of "my manager." I went through regular Settings and Advanced settings and cannot find where I can replace the manager text via the macro. Please let me know if I'm missing something! (Otherwise, I'll manually edit the questions).
- alanderfield
Microsoft
Hello StephanieNoack, the "My Manager" macro will default to "My Manager" and will replace the macro with a manager's name if it is available via the user file. If a user has a broken hierarchy or does not have a manager listed then it will show the label "My Manager". I hope this helps, but let me know if you have additional questions.
- StephanieNoackCopper ContributorOh 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?- alanderfield
Microsoft
Hello 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.