# Need to customize dashboard on first time user login.

**URL:** <https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416>\
**Category:** User Experience\
**Tags:** low-code-app-development, 8-8-2, user-experience, system-architect\
**Created:** [May 5, 2023, 6:55am UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416 "2023-05-05T06:55:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pasmina](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Pasmina](https://forums.pega.com/u/Pasmina)\
**Post date:** [May 5, 2023, 6:55am UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/1 "2023-05-05T06:55:47Z")

</div>

Hi,

Currently Iam developing an application in that application the feature should works like below,

On user first time login the user should be able to add the profile data (past experience) but after his first login it should be change to update details or else it should be in disable format. Is there any specific way to do this ?

---

<div class="post-metadata">

**Author:** ![Anoop\_Krishna](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/anoop_krishna/32/23458_2.png) [@Anoop\_Krishna](https://forums.pega.com/u/Anoop_Krishna)\
**Post date:** [May 5, 2023, 7:28am UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/2 "2023-05-05T07:28:32Z")

</div>

@PasminaM you can try using D\_GetOperator data page. Use pyLastSignOn property.

If user is logging in for first time, this property would be having empty value I believe.

If not, while logging in you will have to set a flag on operator id instance and then use that flag for your above logic.

---

<div class="post-metadata">

**Author:** ![Pasmina](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Pasmina](https://forums.pega.com/u/Pasmina)\
**Post date:** [May 5, 2023, 2:27pm UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/3 "2023-05-05T14:27:53Z")

</div>

@Anoop Krishna I tried on your first method by considering lastsignon method in several ways. I had shared the screenshot also.

 ![tried this code too.png](https://pega1.discourse-cdn.com/pega/original/2X/f/f5117ca80555ff5609a9456d3bd059604683ed25.png)

 ![this code too I tried.png](https://pega1.discourse-cdn.com/pega/original/2X/a/a20485810856c8c93a29bf894d2cefdcab035979.png)

 ![Succeed with this code too. but I think there were some mistake too, Can anyone helpme. I will try in second way too.png](https://pega1.discourse-cdn.com/pega/original/2X/a/a27eba9ead81c681bad85402bc4b14588e7a9d70.png)

I found that last method was succeed but Iam not sure on it. can anyone confirm it. and if anyone knew the ways of doing this I kindly invite all of you to give answers.

---

<div class="post-metadata">

**Author:** ![Anoop\_Krishna](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/anoop_krishna/32/23458_2.png) [@Anoop\_Krishna](https://forums.pega.com/u/Anoop_Krishna)\
**Post date:** [May 5, 2023, 5:04pm UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/4 "2023-05-05T17:04:57Z")

</div>

@PasminaM you can use the 2nd method if you achieved it. That is the best approach to implement this.

---

<div class="post-metadata">

**Author:** ![lemkp](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@lemkp](https://forums.pega.com/u/lemkp)\
**Post date:** [May 5, 2023, 6:46pm UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/5 "2023-05-05T18:46:39Z")

</div>

@PasminaM , If I’m understanding the requirement correctly, you want to include a form for someone to fill out if they’re logging in for the first time. What happens if they login and their browser runs into issues? Is the expectation that they’ll not be able to add their details?

Another option aside from looking at the sign on time is to just look for the profile data itself. If the data exists show a way for the user to update their info. If it doesn’t exist, show the form the user would need to complete.

If you want to handle a scenario where someone can elect not to input their information then maybe you can offer them a toggle for them to elect not to?

Just some additional food for thought.

---

<div class="post-metadata">

**Author:** ![Pasmina](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Pasmina](https://forums.pega.com/u/Pasmina)\
**Post date:** [May 6, 2023, 4:39am UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/6 "2023-05-06T04:39:17Z")

</div>

@Anoop Krishna Sure. I will try that second method. Thank you so much for the solution ideas.

---

<div class="post-metadata">

**Author:** ![Anoop\_Krishna](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/anoop_krishna/32/23458_2.png) [@Anoop\_Krishna](https://forums.pega.com/u/Anoop_Krishna)\
**Post date:** [May 6, 2023, 5:05am UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/7 "2023-05-06T05:05:22Z")

</div>

@PasminaM You can use ApplicationProfileSetup activity to set the flag to operator class. This is an extension activity. Please check below URL.

[https://docs-previous.pega.com/sites/default/files/help\_v73/designer%20studio/status/ds-extension-points-con.htm#:~:text=ApplicationProfileSetup%20is%20executed%20when%20an%20operator%20logs%20on.](https://docs-previous.pega.com/sites/default/files/help_v73/designer%20studio/status/ds-extension-points-con.htm#:~:text=ApplicationProfileSetup%20is%20executed%20when%20an%20operator%20logs%20on.)

---

<div class="post-metadata">

**Author:** ![Pasmina](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Pasmina](https://forums.pega.com/u/Pasmina)\
**Post date:** [May 6, 2023, 7:50am UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/8 "2023-05-06T07:50:23Z")

</div>

@Anoop Krishna sure I will check these too. thank you!

---

<div class="post-metadata">

**Author:** ![Pasmina](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Pasmina](https://forums.pega.com/u/Pasmina)\
**Post date:** [May 6, 2023, 7:49am UTC](https://forums.pega.com/t/need-to-customize-dashboard-on-first-time-user-login/4416/9 "2023-05-06T07:49:47Z")

</div>

@lemkp

hi

yeah, your understanding is right. I totally agree with your answers. and thank you so much. it worked.

 ![correct method.png](https://pega1.discourse-cdn.com/pega/original/3X/2/5/25798618f7b70071b678affc3c3fe35c5bb0b3de.png)

in here Im checking that the relevant logged user id has already been recoded on not in the specific table ( user personal details table). the form to be show only if the property field is not recoded earlier, I hope that I had achieved it. may I know that this is what you had said right? and is it correct way?

Thank you so much for the thoughts.
