Show logged in/active user on the dashboard in the NUX

Highlighted
Contributor

Show logged in/active user on the dashboard in the NUX

Hi, 

 

How can I show the active (or current logged in) User on the dashboard. Like I want to show something that says "Welcome: (Name of active User)". 

 

 

Thanks. 

11 REPLIES 11
Highlighted
Master Anaplanner/Community Boss

Re: Show logged in/active user on the dashboard in the NUX

Hi sosunkwo,

 

Nice question

Here are the steps:

1. Create a user dimensioned module with a line item welcome

anirudh_0-1595739772979.png

2. Publish a KPI card on New UX with these settings

anirudh_1-1595739813978.png

3. Result

anirudh_2-1595739957720.png

 

Regards,

Anirudh

 

 

Highlighted
Contributor

Re: Show logged in/active user on the dashboard in the NUX

Hi, @anirudh , thanks for the response. I'm now wondering how to display the user's first & last name, not email. 

Highlighted
Contributor

Re: Show logged in/active user on the dashboard in the NUX

I've figured out how to get the first and last name. The issue now is on the dashboard, the KPI card shows me a drop down of all users with full access. I only want it to show the name of the person logged in. 

Highlighted
Master Anaplanner/Community Boss

Re: Show logged in/active user on the dashboard in the NUX

In blueprint module, under "users list" change the setting for "show all users" to "off" and it will subsequently default to only show your user selection.

Highlighted
Contributor

Re: Show logged in/active user on the dashboard in the NUX

Thanks! @jnoone . It worked. And it worked in the DEV App. 

So I did model push from Dev to TEST and tried to add the view on the dashboard pointing to the TEST model. However, it doesn't show the User's name in the TEST Model App, just shows "Welcome," Any ideas why this is happening? 

 

Thank you. 

Highlighted
Super Contributor

Re: Show logged in/active user on the dashboard in the NUX

Hi @sosunkwo,

 

I assume that you are using a list to store the user's first name, last name.

 

Check whether the list is production or not.

 

if the list is marked as production

then

                "you have to import once again in Test Model"

 

if the list is NOT marked as production

then

       "You should get the output" Share some screenshots, where you wrote 

the formula to get the First and Last name.

 

Thanks,

Sorna Raja Prabhu
Highlighted
Contributor

Re: Show logged in/active user on the dashboard in the NUX

Hi @Sorna Raja Prabhu , 

I'm not sure I follow. I used the Users dimension in the module where I have the first name, last name, and the welcome formula etc. I don't have a "list" with users. Should I have done something different? (screenshot attached)

 

 

16.PNG

Highlighted
Master Anaplanner/Community Boss

Re: Show logged in/active user on the dashboard in the NUX

Did you check if the Sys07 module in the test model to confirm the data is populated for first and last name is also populated?  It looks like it is module data which wouldn't be migrated via ALM.   If that's not it, expose the list context in the dashboard view to see what member is being selected on the NUX page to help discern why it is blank.  

Highlighted
Contributor

Re: Show logged in/active user on the dashboard in the NUX

I see what the issue is. It is in fact Module Data.

So I guess the fix to this is to have the Users as a List, and then add it to the Sys07 module perhaps?