cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Renee
Helper I
Helper I

Using Link to SharePoint item - need to view the form in View mode with a different Close button

Hi

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.

1 REPLY 1
Renee
Helper I
Helper I

Hi 

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.

 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,806)