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 / how to edit view form ...
Power Apps
Unanswered

how to edit view form mode

(0) ShareShare
ReportReport
Posted on by

i have SharePoint gallery, from there i have created view form mode screen.

i want to add edit button to the view form ,only when particular column status choice show as "Rejected". to the user?

any idea?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,171 Most Valuable Professional on at

    Hi @venky232 ,

    In the Visible of the Button (I am assuming the field name here)

    YourGalleryName.Selected.Status = "Rejected"

    If Status is a Choice field

    YourGalleryName.Selected.Status.Value = "Rejected"

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @venky232 ,

    You can add a view button and set the Visibility property to -> ThisItem.StatusColumnName.Value="Rejected"

    And OnSelect property of view icon to -> EditForm(Form1);Navigate(Screen1)
    Screen1 will be screen name where you have added display form

  • venky232 Profile Picture
    on at

    its working but i cant change status again for ThisItem.StatusColumnName.Value="Rejected" to Approve

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    HI @venky232 ,
    You want to make the view icon visible when status is Approved or Rejected ?

  • WarrenBelz Profile Picture
    155,171 Most Valuable Professional on at

    @NandiniBhagya20 ,

    Please tag me if you want further assistance here

  • venky232 Profile Picture
    on at

    it is not about icon, based on status as rejected the edit form should active .and along with other column change & i want to change status of Rejected to other choice one (approved) also. 

    but edit option is depends on Rejected Status ,it is not allowing me to select other choice (approved) one.

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @venky232 ,
    On visible property of Edit button you can add -> GalleryName.Selected.Status.Value="Rejected"

    And On Edit button's OnSelect property you can put - EditForm(FormName)
    This will only work if you have added New/Edit Mode form and not a View Form from Insert option in the top pane. With Form Viewer it will give you an error 

    NandiniBhagya20_0-1668177515616.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard