Hello,
I have a PowerApps form (EditForm) linked to a SharePoint list, 'Facts & Figures'.
The SharePoint list has two text columns, LinkText and LinkURL.
Each record's LinkURL goes to an external website (e.g., "http://cnn.com")
LinkText is the text displayed on the button (e.g., "CNN Web Site").
I can get the button to work okay if it's inside the EditForm, except in Internet Explorer, which is a job requirement.
OnSelect: If(!IsBlank(LinkURL), Launch(LinkURL))
Text: ThisItem.LinkText
DisplayMode: Edit
If I move the button outside the form and into a gallery, I get buttons for all the records in the list, which is undesirable.
If i move the button outside the form and NOT in a gallery, I get invalid errors, as LinkURL, LinkText, and ThisItem are no longer valid. I'm guessing it's because EditForm was where the DataSource is defined.
How do i refer to LinkURL and LinkText if the button is not in EditForm?