I want to suggest a new platform event that makes it possible for us to override the user settings for the Role (which is deciding which role center to use).
A simple suggestion of event signature could be something like this:
[BusinessEvent(false)]
procedure GetRoleCenterID(var ID: Integer)
begin
end;
And it could be placed in the "System Action Triggers" codeunit..
The ID parameter would then contain the page ID of the Role Center that is configured by the user's profile/role selected in the settings. By changing this ID, the role center page with the new ID will be opened instead.
It could be a more advanced event if you want to, but above would fulfill our needs right now.
Details are found in this Yammer thread: https://www.yammer.com/dynamicsnavdev/threads/2014819869237248
Comments
Maybe they could provide two parameters own of the original RoleCenterId and one that is default to zero.Then partners could see if this id was changed already on subscribing to this event.
Category: Development
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team