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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Allow Patch Without Ap...
Power Apps
Answered

Allow Patch Without Approval

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have New Member Gallery. Multiple levels of the organization can enter a new member for approval; only the national level staff can approve the member. The national level staff itself wants to be able to add new members without having to transition to the approval screen and approve, as they are the approvers this would be redundant.

 

Is there a way to tell the App - If User's hierarchy equals 'National' patch to New Member List and reset screen. If any other continue to the approval screen (as currently written below)?

 

New Member Request Screen:

3csman_0-1613834742529.png

New Member Approval Screen:

3csman_1-1613837363576.png

Language for New Member Patch:

3csman_2-1613837717342.png

 

 

 

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    You could make a separate button that is visible only for your national staff and alter the Patch() function so that the ApprovalStatus is "Approved".

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Edit - 

    Got this to work; thanks!

    3csman_0-1613931744919.png

     

     

    Yep, thought about that as soon as I hit send.

     

    It works fine.

     

    I need the button to stay disabled unless a few conditions are met. How do I add 'If Field1 or Field2 are blank then Disabled' to what I already have below?

     

         If(NewMemberGalleryUniqueIDFld.Text in varMemberUnqID, Disabled,

         If(AddNewMemberValidationToggle.Value=false, Disabled,Edit))

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

     

    If(
     !IsEmpty(
     NewMemberGalleryUniqueIDFld.Text in varMemberUnqID
     )
     OR( 
     !AddNewMemberValidationToggle.Value,(IsBlank(
     field1
     ),
     IsBlank(
     field2
     )
     ),
     Disabled,Edit
    )

     

    I think the logic is correct here depending on field1 and field2 both being required for Edit.  Alternatively, you could specify the logic in terms of what is required for the button to be enabled:

    If(
     IsEmpty(
     NewMemberGalleryUniqueIDFld.Text in varMemberUnqID
     ) && AddNewMemberValidationToggle.Value, !IsBlank(
     field1
     ),
     !IsBlank(
     field2
     ), Edit, Disabled
    )

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard