cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ahohman
Level: Powered On

Need help with navigating between screen for those with read only view

I have a form (customize form) with 2 screens.  There is a icon on screen #1, and when selected, you navigate to screen #2 to view a map.  My problem is that that link appears to only be clickable if the form is in EDIT mode.  So, I can't figure out how to get it to work in VIEW mode for those people who do not have edit access to this form. 

 

I've read that I can pull the icon outside of a data card, and I've tried that.  The link still doesn't work for me and the icon doesn't stay anchored to a place on the form.   It scrolls with the form.  

 

Any assistance is appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Level 8

Re: Need help with navigating between screen for those with read only view

Spoiler
The full syntax (case sensitive) to be input should be If(Form1.Mode = FormMode.Edit,DisplayMode.View,DisplayMode.Edit)

When you click away from it, it will display If(Form1.Mode = Edit, View, Edit)

View solution in original post

14 REPLIES 14
eka24
Level 10

Re: Need help with navigating between screen for those with read only view

Put this on the displaymode of the icon:

if(Form1.mode=formmode.edit,view,edit)

ahohman
Level: Powered On

Re: Need help with navigating between screen for those with read only view

PowerApps doesn't appear to be happy with that formula.  Nav Issue.jpg

eka24
Level 10

Re: Need help with navigating between screen for those with read only view

Check the formula I wrote well. Formmode.Edit
ahohman
Level: Powered On

Re: Need help with navigating between screen for those with read only view

Yes.  I know.  It looked like that in the initial screenshot.  When you click on it, it shows you the FormMode part.  That is how I have it.  Am I doing something wrong?

Nav2Issue.jpg

eka24
Level 10

Re: Need help with navigating between screen for those with read only view

It working fine at my end. I guess is the case sensitive of View and Edit. Not view and edit
eka24
Level 10

Re: Need help with navigating between screen for those with read only view

It it has resolved your question, accept as solution
WarrenBelz
Level 8

Re: Need help with navigating between screen for those with read only view

Spoiler
The full syntax (case sensitive) to be input should be If(Form1.Mode = FormMode.Edit,DisplayMode.View,DisplayMode.Edit)

When you click away from it, it will display If(Form1.Mode = Edit, View, Edit)

View solution in original post

Dual Super User
Dual Super User

Re: Need help with navigating between screen for those with read only view

Hi @ahohman 

 

If you want this to display irrespective of the Form Mode, you can simply set the DisplayMode of the control as:

DisplayMode.Edit

In case you are looking for a way to setup the display mode based on some condition, try using:

if(SharePointForm1.Mode=FormMode.Edit,FormMode.View,FormMode.Edit)

Explanation: This will make the icon editable when not in the Edit Mode, for Edit Mode, it will be View Only.

 

Hope this helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

ahohman
Level: Powered On

Re: Need help with navigating between screen for those with read only view

Thank you!  I got this to work if the icon is OUTSIDE of a data card.  Now, as a follow up question (not sure if that's allowed), how do I get the icon to be anchored where I want on the form and not float as I scroll through the form?

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,034)