Skip to main content
Community site session details

Community site session details

Session Id : 84ja6BDeUds8A4bii0udg9
Power Apps - Building Power Apps
Unanswered

Launch Command Not Working in SharePoint Customized Form View Mode

Like (0) ShareShare
ReportReport
Posted on 3 Jun 2024 18:15:09 by 5,106 Super User 2025 Season 2

I have SharePoint customized Form1.

In Form1 there is a DataCard that has a link and an 'Open Link' button.

I have a functioning 'Launch' formula in the 'Open Link' button.

The 'Open Link' button is working, but it ONLY works when Form1 is in 'Edit' mode.

If the user accesses the data in list 'View' mode, the 'Open Link' button does not work.

Is this a SharePoint list/customized form default issue, where the button/formula only works in 'Edit' mode?

Can I write the formula so that the button/launch formula works in 'Edit' and 'View' mode? 

Phineas_2-1717438315906.png

 

 

 

Categories:
  • leonsig93 Profile Picture
    229 on 03 Jun 2024 at 20:41:10
    Re: Launch Command Not Working in SharePoint Customized Form View Mode

    If this is anything like how the forms work in PowerApps, any controls inside a form in View mode will get treated as in View mode regardless of what you set the control's property to.

     

    So in your case, even though the button is set to DisplayMode.Edit, as soon as the form switches to View mode, it treats it as DisplayMode.View.

     

    It annoys the heck out of me in PowerApps. What I've learned to do is to leave the form permanently in Edit mode because then you can dynamically set the DisplayModes for the different cards. You could set the DisplayMode of all the cards to something like If(varFormMode = "Edit", DisplayMode.Edit, DisplayMode.View") and have a button that allows them to toggle Edit/View.

    Then only set that If statement in the DisplayMode of the controls within the card that your button is in. You'd leave the button set to DisplayMode.Edit.

     

    Full disclosure that I haven't worked with the SharePoint forms in a long time so I'm not sure if you can manipulate the DisplayMode of the form like this. 

  • Phineas Profile Picture
    5,106 Super User 2025 Season 2 on 03 Jun 2024 at 18:46:49
    Re: Launch Command Not Working in SharePoint Customized Form View Mode

    Yes, but the DataCard with the link the button launches is further down the form.

    If I place the button outside the form the button doesn't scroll with the DataCard it is to which it is associated and is locked in place as I scroll the document, which is not preferred.

  • StretchFredrik Profile Picture
    3,099 Super User 2025 Season 2 on 03 Jun 2024 at 18:17:28
    Re: Launch Command Not Working in SharePoint Customized Form View Mode

    Are you able to place the button outside of the Form control?

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete