@LaurensM Need your help again. I trimmed your solution to replace selected text from gallery list and current code is below.
If(
IsBlank(SelectedLocation),
With(
{
wRecord:
LookUp(
'SharePoint List',
field_1 = Location.Latitude && field_2 = Location.Longitude
)
},
Coalesce(
wRecord.Title,
"You are not at a Substation"
)
),
SelectedLocation
)
The above solution checks whether the Lookup is blank and displays a text value inside the same Textbox and also adds the selected value from Gallery list. Now what I want is that to display the conditional text as a notification rather displaying it inside the textbox. How to do this?
The below is the one I have but not sure how to include this in the above code?
If(
!IsBlank(SubstationInput.Text),
Notify("You are not at a Substation. Please click the location icon next to Substation Textbox and choose your Station.",NotificationType.Information)
).
I tried including the above If in the original If statement but throwing error.