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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Business Central forum

Business Central Cannot Get Custom Role Center Data Content Parts to Show

(0) ShareShare
ReportReport
Posted on by 55

Hi,

This post is around custom role centers. I have designed a custom role center and want to display my own data cues. I have designed that cue page that works correctly (meaning I can call that page from an action and the tiles appear correctly). However I cannot get ANY content parts to show up on the role center page. Here is the code where I am laying these out - the cue page is the "Dispatch Activities" page. I also tried throwing in a built-in content part for headlines and that does not appear either. 

The second problem with this custom role center is that I cannot in the PRODUCTION environment I cannot edit a profile to assign this page to a profile ID, the data appears to be read-only. 

page 50051 "My Role Center"

{
PageType = RoleCenter;
SourceTable = "Dispatch Cue";

layout
{
area(content)
{
part(DispatchOrders; "Dispatcher Activities")
{
ApplicationArea = All;
Visible = true;
}
part(News;"Headline RC Business Manager")
{
ApplicationArea = All;
Visible = true;
}
}
}

actions
{
area(Sections)
{
group("Sales")


...etc.

Categories:
I have the same question (0)
  • Troy Bakken Profile Picture
    55 on at

    As long as you assign the page type as "RoleCenter" the page should appear once you upload your extension:

    page 50051 "My Role Center Page"
    {
    PageType = RoleCenter;
    SourceTable = "Dispatch Cue";
    RefreshOnActivate = True;

    Also make sure you set the following values on all page parts:

    ApplicationArea = All;
    Visible = true;

  • Hedi Daneels Profile Picture
    487 on at

    Hi,

    Sorry for the necro on this year old thread, but how did you manage to change the profile to the new role center in production please?

    Cheers

  • Troy Bakken Profile Picture
    55 on at

    That did it, thank you!

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Try this:

    area(rolecenter)
    {
    part(DispatchOrders; "Dispatcher Activities")
    {
    ApplicationArea = All;
    Visible = true;
    }

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans