Add Custom Reports in the Reports & Analysis Page
Views (0)
The Reports and Analysis (Role Explorer) page is a system page → you can’t extend it directly.
The supported way is to extend the target Role Center (e.g., Business Manager, Accountant, etc.) and add your custom report actions (or a custom Part) there. Those actions then show up in the Reports & Analysis area the button opens.
In this example, I created a pageextension object to extend the Business Manager Role Center so that I can surface my own reports on the dashboard. Inside the extension, I used the actions block with addlast(sections) to insert a new group called Customer Report under the Role Center’s Reporting area. Within this group I defined two actions, one pointing to the standard Customer - List report and the other to the Customer - Top 10 List report. Each action has a caption, an icon, and a RunObject property that links it to the actual report object. Once published, this extension adds a Customer Report group in the Reporting tab, and those actions automatically appear in the Reports & Analysis (Role Explorer) page for users with the Business Manager Role.
Code:
pageextension 50100 MyExtension extends "Business Manager Role Center"
{
layout
{
// Add changes to page layout here
}
actions
{
addlast(sections)
{
group("Customer Report")
{
Caption = 'Customer Report';
Image = Report;
action("Customer - List")
{
ApplicationArea = All;
Caption = 'Customer - List';
Image = New;
RunObject = Report "Customer - List";
}
action("Customer - Top 10 List")
{
ApplicationArea = All;
Caption = 'Customer - Top 10 List';
Image = New;
RunObject = Report "Customer - Top 10 List";
}
}
}
}
}
{
layout
{
// Add changes to page layout here
}
actions
{
addlast(sections)
{
group("Customer Report")
{
Caption = 'Customer Report';
Image = Report;
action("Customer - List")
{
ApplicationArea = All;
Caption = 'Customer - List';
Image = New;
RunObject = Report "Customer - List";
}
action("Customer - Top 10 List")
{
ApplicationArea = All;
Caption = 'Customer - Top 10 List';
Image = New;
RunObject = Report "Customer - Top 10 List";
}
}
}
}
}
Regards,
Khushbu Rajvi
This was originally posted here.
*This post is locked for comments