web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Listpart doesn't refresh on clicking Company name on role center page

(0) ShareShare
ReportReport
Posted on by 305

Hi

I have a listpart control on my role center page. In its OnOpenPage trigger, I have written the logic for populating data into the list (into its source table) dynamically which includes filter for the user logged in. The issue I am facing is that when I refresh my browser, trigger works but when I click on Company name, the filter or the trigger doesn't work somehow. The latest data refreshed by another remote user is displayed, which totally violates the filter logic.

Basically the filtering is done for the Job Table > "Project Manager" field using an if statement as below:

   if (JobTable."Project Manager" = UserIdthen begin
      <Data logic>
   end;
Please suggest what could be wrong.
Thanks
Khudeja
I have the same question (0)
  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at

    I have observed this issue.

    I simply created an action ListPart page which will refresh all the calculations on the Dashboard using CurrPage.Update();

  • khudeja Profile Picture
    305 on at

    Hi Olister,

    Thank you for responding.

    However could you please explain about this. I did not get where to create the action on: the listpart page or the role center page?

    And what code to write in the action?

    Regards

    Khudeja

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Are you trying to change the company or just click the company name in the browser? I don't think that will trigger any action if you just click the company name, you need to refresh the page.

    If possible attach the screenshot

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at

    Hi Khudeja,

    If you do find a trigger for when the company ne is triggered,

    You can probably force session to restart

    community.dynamics.com/.../993502

    If this doesn't help then you can add an Action on the list part page and on action recompute your data.

    Simply to say whatever is your data in list part, put it inside a global function on the Rolecenter Page and trigger function on the action.

    Another way would be call the subpage function through the trigger on the current page. CurrPage.ListPartPageName.RefreshFunction()

    Refer

    www.1clickfactory.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans