Using Link to SharePoint item - need to view the form in View mode with a different Close button
Hopefully this will be my last question as I am leaving my current company on Friday and need to have this completed by then.
I have created a flow on a SharePoint Integration Power Apps form. An email is sent to the person with a link to the SharePoint item relevant to the person. The SharePoint list has a number of views to limit permissions. I would like the link to open the form in View display mode and to have a different button to that of the Edit and New display modes. The new button would redirect the user to the relevant view where they can only view their own items and not everyone else's. I only have one form with different buttons for the Edit and New display modes. When the item is first created, the Save button appears and Update when it is edited. I achieve this through using IsNew and IsEdit but there is no IsView. I am assuming that when the user clicks on the link that the item is in view mode. How do I stipulate to have only a Close button in this scenario? I have tried adding the following code to the Update button"
if(or(IsNew=false,not(displaymode.view)),true,false) and on the Cancel button i have added: if(displaymode.view, false, true). However, this makes no difference when I click on the link . Essentially I want the form to be read only. with a Close button only. Thank you.
I think I have resolved the Navigation issue. I have add Launch("URL") to the Cancel button. I would still like, however, for the Update button to not be visible when the link is clicked. Thanks again.