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

Creating tiles on BC dashboard

(1) ShareShare
ReportReport
Posted on by 38
Good day,
 
My name is Jeroen Mulder and I'm new on the BC forum. To be honest, it's my first time ever on a forum, so please be gentle ;-)
 
Since six weeks I work for a company which has BC.
Unfortunately (or not) this company is not using many of the powerfull options of BC.
I want to expand the options but I am facing some obstacles.
For a starter I would like to create customized tiles on the dashboard.
For instance I want to see purchase orders which are meeting the following requirements;
 
* The PO has to be made by me personally (users ID)
* The PO must have an expired promised delivery date (<h)
* The PO must have undelivered orderlines (completely received)
 
(Freely translated from Dutch. Sorry)
 
I am able to get this using filters in the purchase order section but I prefer to see this in a tile on the dashboard.
 
Does anybody know how to get this done?
 
Thank you in advance.
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,595 Super User 2025 Season 2 on at
    Hi, as far as I know this requires customization.
    For example, the tiles below are actually Flowfield. This is defined in code and cannot be modified by the user. So if you want to add a new tile, you can refer to the standard code below.
     
    table 9053 "Sales Cue":
     
    Hope this helps.
    Thanks.
    ZHU
  • Kamal Khakhkhar Profile Picture
    1,276 on at
    Hii Everyone.
     
    as per the requirement here you need to follow the following steps to create a cue in Rolecenter page. for that you need to create a table and page for your required data. i attach link you can get referance from it.
     
     
    Thank you.
    Kamal Khakhkhar
  • Suggested answer
    Govinda Kumar Profile Picture
    2,304 Moderator on at
    Hi Jeroen Mulder,

    Welcome to the community! It's not difficult to add tiles to your dashboard. You can achieve this by simply creating an extension for the Role Center dashboard you want to customize. For instance, if you'd like to add tiles to the Business Manager Role Center, you'll need to create a page extension for that specific Role Center. To create the tiles, you should develop a CardPart page and then include that page in your Role Center Dashboard.
    To update the tile values displayed on the dashboard, you can write the necessary code in the 'onAfterGetCurrentRecord' trigger.

    Here's an example.. I've also created some sample tiles.
     
     
    I'm providing you with some sample code since you mentioned it's your first time working on this.

    page 50210 CueDistributionFinalize
    {
        PageType = CardPart;
        RefreshOnActivate = true;
        Caption = 'Job Queue Distribution Run Process';
    
        layout
        {
            area(Content)
            {
                cuegroup(GenerateDistribution)
                {
                    Caption = 'Generate Distribution';
                    field(GenDistributionRunCount; GenDistributionRunCount)
                    {
                        Caption = 'Distribution Records';
                        ApplicationArea = All;
                    }
                }
    
                cuegroup(FinalizeDistribution)
                {
                    Caption = 'Generate Purch. Orders';
                    field(FinDistributionRunCount; FinDistributionRunCount)
                    {
                        Caption = 'Distribution Records';
                        ApplicationArea = All;
                    }
                }
    
                cuegroup(GenerateInvoice)
                {
                    Caption = 'Generate Invoice';
                    field(GenerateInvoiceRunCount; GenerateInvoiceRunCount)
                    {
                        Caption = 'Distribution Records';
                        ApplicationArea = All;
                    }
                }
            }
        }
    
        trigger OnAfterGetCurrRecord()
        begin
            GenDistributionRunCount := GenDistributionJobTable.Count;
            FinDistributionRunCount := FinalizeDistribJobTable.Count;
            GenerateInvoiceRunCount := GenerateInvoiceJobTable.Count;
        end;
    
        var
            GenDistributionRunCount, FinDistributionRunCount, GenerateInvoiceRunCount : Integer;
    
    }

    Afterward, add the created page to your Role Center dashboard, specifically in the layout section under 'rolecenter' among the other page parts.
     
                part(CueDistributionFinalize; CueDistributionFinalize)
                {
                    ApplicationArea = All;
                }
     
    I hope this guidance helps. If you have any further questions, please don't hesitate to ask.

    Best Regards,
    Govinda Kumar

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,010

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans