Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Pageextension Lay-out is locked

(0) ShareShare
ReportReport
Posted on by 30

Hello guys. 
after deploying a page extension I can only make it work if I in the sandbox goes to Design, then I unlock the design - then my changes is accepted - but seems like the design keeps locking for me - can’t I from the extension say always unlocked? 
I‘ve checked, seems like there is no page extensions addons - Also tried delete all customization from the rolecenter

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,848 Super User 2024 Season 2 on at
    RE: Pageextension Lay-out is locked

    Hi, Yes, if you just modify the Visible property of standard fields, you don't need to add ApplicationArea.

    pastedimage1649372878668v1.png

    Also, are you publishing to the Sandbox directly from VS Code? Will there be this problem if upload it in Extension Management?

    pastedimage1649372998624v2.png

    Hope this will help.

    Thanks.

    ZHU

  • Whitby Magil Profile Picture
    Whitby Magil 5 on at
    RE: Pageextension Lay-out is locked

    The Information you shared above is great. I have been reading all you shared here. In this you explained everything very well. If i want any further guideline we will contact you here https://community.dynamics.com/business/f/dynamics-365-business-central-forum/452533/pageextension-bik-lay-out-is-locked/1239920

    Thanks

  • RasmusAKEA Profile Picture
    RasmusAKEA 30 on at
    RE: Pageextension Lay-out is locked

    Hello. It helps a bit, but the strange part is i modify some fields, set their "Visible" to =False, but that command is not always working. To make it work i need to press "Design" and "Unlock" and then it updates correctly - but next time the design is again locked...

    Perhaps it's better to change applicationarea to nothing on the fields parallel with setting Visible = False?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,848 Super User 2024 Season 2 on at
    RE: Pageextension Lay-out is locked

    Hi, Sorry I didn't fully understand your question.
    But it looks like you didn't add the ApplicationArea Property to the new fields in your page extension.

    More details:

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-applicationarea-property

    pastedimage1649298982038v1.png

    Hope this will help.

    Thanks.

    ZHU

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans