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?
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.
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.
Are you able to place the button outside of the Form control?
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473