I need a solution for my application.
In my Application, I have a List, It's has some fields along with a Status Field, which is a Choice field and Type Drop down(The Drop down have option values : "New" , "Inprogress", "Failed", "End"), with Single selection.
My Requirement : I want the form should be open in View mode, when any Item in the List Status is "End".
Below are the Steps to follow to create the scenario
Steps:
Step 1 : Create a List (Name Tasks).
Step 2 : Create a Status Field (Contain values : "New" , "Inprogress", "Failed", "End"). It is a Choice Field and Display Choice is a Drop down with Single Selection.
Step 3 : Now Open the Tasks List. and Click PowerApps -> Customize forms.
Step 4 : Add a Button. Button1.OnSelect = SubmitForm(SharePointForm1). Button1.Title : Submit
Step 5 : Publish To SharePoint
Step 6 : Create New Item with a Status "End"
Step 7 : Save the Item using the Button ( Submit)
Step 8 : Now select the Item and Click Edit
Step 9 : The form opening with Edit Mode. But I need the Form will open in View mode. Because, the Item Status is "End". User not able to Update any Field of the Item.