MDG 8.0 in real life blog series – Customizing the Home Page “role based”
After my first blog MDG 8.0 in real life blog series – System “Reset” we reached the second episode of our series!
In this chapter I want to show you how to customize the Home Page of MDG for different roles.
For example, for MDG-F standard role, your home page is looking like this:
I am sure you don’t want to give all these features to all of your users. For example… do you imagine an MDG-World where every user can perform the mass upload? Mhhhhh that’s creepy! 😯
Or what if you can’t activate some of the proposed functionalities, such as Reporting?
Let’s see together how to avoid this situation.
For each role you have created for you MDG users, you need to create the Z application and component configurations for the Home Page.
You can find the standard configurations from the home page -> right click -> technical settings or from the PFCG standard role DDDDAPC_M3_MDGF_CTR_MENU_04 (in case of MDG-F):
Once you got the name of the component and application configurations, copy them:
1) start the WDA application CONFIGURE_COMPONENT and enter the component WDR_CHIP_PAGE. Enter the configuration you found before. Create one Z copy for each role you have. If you want make translations for the component configuration description in SE63.
2) start the WDA application CONFIGURE_APPLICATION and enter the application WDR_CHIP_PAGE. Enter the configuration you found before. Create one Z copy for each role you have.
In PFCG tcode, for each role with menu, you need to change the configuration of the home page with the Z you just created:
Open the customizing for the home page (you need the following special parameter in your user details)
Now locate the link list name
Start Tcode LPD_CUST and find the link list in the ALV, then create a Z copy for each role you need to have a different home page:
Modify each one with the links you need. If needed make translations in SE63 for the links name.
Login in MDG with your admin user, that should have associated all the roles. For each role perform the customizing (see step 3) changing the link list name with the custom created one. The z configuration associated with the role, will keep the customizing different from the other roles.
I hope this guide was helpful for you. See you in the next episode!