Skip to main content

Notifications

Business Central forum
Suggested answer

Share profile page customization between profiles

Posted on by 43

Situation: Utilizing 'Customize Pages' from the profiles page. 

I have several profiles / roles which want to have the same view for various pages. (i.e. hiding fields and buttons)

I cannot use 'designer' functionality as this would conflict with other roles. 

Is there a way to link profiles to the same page customization or distribute a page customization to a selection of profiles? 

Categories:
  • Suggested answer
    Wouter_Dunnes Profile Picture
    Wouter_Dunnes 43 on at
    Share profile page customization between profiles
    As a conclusion;
     
    It is possible to make it manageable. How to:
    • Create one or more template profiles
    • Customize these profiles
    • Use visual studio code to replace all on multiple files. Utilize regex for matching.
     
     
  • Wouter_Dunnes Profile Picture
    Wouter_Dunnes 43 on at
    Share profile page customization between profiles
    ZHU thanks for your answer on this one. 
     
    I have tried it out. 
     
    In Profile._xxxx_.al you can point to the same configuration. 
     
    Customizations = Configuration59;
    It is possible to point all profiles to the same customization configuration and delete the obsolete PageCustomization._xxxx files. Import in BC succesful. So far, so good. 
     
     
    However upon import, the system will create individual copies for each profile. Therefore it is not possible to keep a fixed link between profile customizations (i.e. edit for one profile and apply it to a set of other profiles automatically). Exporting the profiles again confirms this. 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 62,477 Super User on at
    RE: Share profile page customization between profiles

    Hi, Sorry I haven't tried it.
    When you modify the Profile, the page customization object is actually generated in the background. You can export this data.
    Then add these page customization objects to another profile file, and then import it into BC.

    pastedimage1679533451832v1.png

    pastedimage1679533466159v2.png

    pastedimage1679533477718v3.png

    pastedimage1679533490146v4.png

    pastedimage1679533498276v5.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,718 Super User on at
    RE: Share profile page customization between profiles

    Not in the user interface as long as you can not use the designer.

    So then you will need to contact a developer.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,155 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans