Skip to main content

Notifications

Community site session details

Community site session details

Session Id : P+Eu+kOmO9Mjwr7FmWAuRj
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Hiding the "New" Button in a Model-Driven Form but Keeping it in the Sub-Grid

Like (1) ShareShare
ReportReport
Posted on 21 Oct 2024 17:14:24 by 2

Hello,

I have a specific requirement regarding the customization of a model-driven form, and I would like some guidance.

Here's the situation:

  1. Form Context: I need to hide the "New" button on a form. This form is part of a model-driven app, where a particular entity is linked.

  2. Sub-Grid Requirement: The entity in question is also displayed in a sub-grid format within the form. For this sub-grid, I do not want to hide the "New" button. In other words, the "New" button should be hidden on the main form but remain available in the sub-grid view.

  3. Workbench Alternative: I am aware of the solution involving the use of Ribbon Workbench for such customizations. However, I am specifically looking for an alternative solution that allows me to achieve this without the need to use Workbench.

Any insights or suggestions on how to achieve this would be greatly appreciated. Thank you in advance!

  • CU23101259-0 Profile Picture
    2 on 23 Oct 2024 at 13:03:39
    Hiding the "New" Button in a Model-Driven Form but Keeping it in the Sub-Grid

    Thank you for your response and suggestion. In my case, the users should still have the ability to add records to the specific entity. Therefore, removing the "Create" permission entirely is not an option, as it would prevent them from creating records where necessary. My requirement is to hide the "+New" button only on the main form, while still allowing users to create new records via the sub-grid.

    Do you know of any other approach that allows for hiding the button selectively, without removing the user's create permissions?

     

  • Suggested answer
    MichaelFP Profile Picture
    1,831 Super User 2025 Season 1 on 22 Oct 2024 at 18:23:31
    Hiding the "New" Button in a Model-Driven Form but Keeping it in the Sub-Grid
    If the user are not able to create record on the specific table, i would recommend to remove on role associated with them the Create option. Once you remove the permission the +New button will not appear in any place.
     
     
    If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as answer ✔️. This is help the community.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,776 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard
Loading started