web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Unable to remove certain actions through personalize or customize

(8) ShareShare
ReportReport
Posted on by 450
Hi,
We used to have these removed from certain users - New Line and Delete Line. At some point they were added back in by the system (I am assuming with an update) and we are no longer able to hide them. Is this just us or is this now standard? 
I have the same question (0)
  • Suggested answer
    Sumit Singh Profile Picture
    9,997 on at
    Yes, you're not alone. This issue has been reported by other Business Central users as well. These actions—"New Line" and "Delete Line"—were previously removable via personalization or role customization, but recent updates have changed that behavior.

     Root Cause
    1. Base Page Restrictions:
      • For standard (base) pages like the Sales Order Subform, Microsoft does not allow modification of InsertAllowed, ModifyAllowed, or DeleteAllowed properties via customization.
      • These properties control whether the Manage tab (which includes "New Line" and "Delete Line") is shown.
    2. Update Behavior:
      • A recent platform update appears to have reset or overridden previous customizations, re-enabling these actions even if they were previously hidden[1].
      • This is likely due to Microsoft enforcing consistency across standard UI components to avoid breaking functionality or introducing unsupported states.
    3. Customization Limitations:
      • Even if you use Visible = false in a pageextension, users can re-enable these actions via personalization, unless the field or action is completely removed from the page object.
      • For custom pages, you can still control visibility using InsertAllowed = false, etc., but not for base pages.

    🛠️ What You Can Do
     Option 1: Use Permissions to Restrict Functionality
    • While you may not be able to hide the buttons, you can prevent their functionality using permission sets:
      • Remove Insert or Delete permissions on the underlying table (e.g., Sales Line).
      • This will cause an error if the user tries to use the action, even if it's visible.
     Option 2: Use AL Extensions for Custom Pages
    • If you're working with a custom subform or list part, you can:
    • pageextension 50120 MyCustomSubformExt extends "Sales Order Subform"
    • {
    •     InsertAllowed = false;
    •     ModifyAllowed = false;
    •     DeleteAllowed = false;
    • }
      • This will completely disable the ability to add or delete lines.
     Option 3: Raise a Microsoft Support Ticket
    • If this behavior is breaking your business process, consider raising a support request with Microsoft to:
      • Confirm if this is a permanent design change.
      • Request a feature enhancement to allow hiding these actions again.

    References
    [1] Solved: Hide manage action from list part - Dynamics 365 Community
    [2] Customizing Pages for Roles - Business Central | Microsoft Learn
    Note: This response was created in collaboration with Microsoft Copilot to ensure clarity and completeness. I hope it helps to some extent.
    Mark the Answer as Verified if this is Helpful.
     
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,136 Super User 2025 Season 2 on at
  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at
    Not sure how you've hidden it before.
    To hide this standard behavior, there are generally two ways:
    1. Set the page's DeleteAllowed Property and InsertAllowed Property to false
    More details: Business Central 2024 wave 2 (BC25): Support for modifying the properties InsertAllowed, ModifyAllowed, and DeleteAllowed of a page
    2. Use permission management to prohibit insert and delete this table data.
     
    Thanks.
    ZHU
  • Suggested answer
    Mansi Soni Profile Picture
    8,907 Super User 2025 Season 2 on at
  • Gerardo Rentería García Profile Picture
    25,154 Most Valuable Professional on at
    Hi
    You could try using profile customization from the Profiles (Roles) page, which allows for deeper adjustments than user customization.
    Best
    GR
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,274 on at
    Hii There , as per that actions are not available in Page . for that insert allow, delete allow property of page used. so if you can update that you can control the actions of you mentioned.
     
     
    If You found answer , mark it answered.
     
    Thank You.
    Kamal Khakhkar
  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    8,760 on at

    Hi Brett,

    It seems that the “New Line” and “Delete Line” actions are core system actions, typically embedded in subpage structures or repeaters. If they previously disappeared and have now resurfaced, it’s most likely tied to an update or base object change in the environment.

    Here’s how BC handles this and how you can regain control:

    Why These Actions Return Unexpectedly

    • Personalization hides actions at the user level only — and it’s sensitive to updates, role switches, or schema changes.
    • If Microsoft modifies or rebuilds the page object during a minor or major release, personalization layers may reset and restore hidden system actions.
    • Actions tied to system commands (like Insert or Delete) on subpages often ignore personalization visibility when the base object changes.

    Recommended Approaches to Restrict These Actions

    Option 1: Role-Based Customization via Profiles

    • Go to Profiles (Roles) → select the target profile → choose Customize Pages.
    • Hide the actions via the profile rather than individual users. This ensures:
      • Greater persistence across updates
      • Global control for users under that role

    Option 2: Page Extension for Action Suppression

    • Use AL to modify the action’s visibility at the page level:
    • This permanently suppresses these actions across all sessions and survives upgrades.
      al
      
      modify("New Line")
      {
          Visible = false;
      }
      
      modify("Delete Line")
      {
          Visible = false;
      }

    Option 3: Restrict via Permissions

    • If suppressing visibility isn’t possible (e.g., for deeply embedded system actions), remove insert/delete permissions via Permission Sets.
    • This causes action attempts to trigger an error — not ideal for UX, but enforceable.

    Option 4: Disable Personalization Globally

    • In the Profiles page, toggle Disable Personalization = TRUE for users where visibility must remain fixed.
    • This locks down UI customization and prevents action toggling from the frontend.


    Helpful References:
    Understanding Action Visibility Layers – GitHub Thread
    Role-Based UI Customization – Dynamics Tips
    Permission Set Design for UI Control – Microsoft Learn
    Customize Pages per Role – Microsoft Learn
    Page Object Extension – Microsoft Learn



    If you find this helpful, feel free to mark this as the suggested or verified answer.

    Cheers
    Jeffrey

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans