Hi,
This one is driving me around the twist and hoping there is something simple I have missed.
I have a global variable I am using in PowerApps (Var1) with a text value of “apple”.
If I put the following directly into an HTML text box in PowerApps "Test " & Var1 & " then testing again.", I get …. Test apple then testing again.
All great – the variable is replaced with the text.
However if I put "Test " & Var1 & " then testing again." and put it in to a SharePoint Multiple lines of text column and draw it into the same HTML text box I get …… "Test " & Var1 & " then testing again."
I have tried
Would anyone have an idea or a work around of how to bring the text in from SharePoint (where the variable name is included in the text) and, still make it dynamic so that the variable value is replaced with the variable’s text value (like it would be if it was typed directly into an HTML text box).
The reason I am using a Global variable is that it is used many times throughout the app.
Thanks in advance.
Hi Dezhi,
You are correct, I was trying to use the variable in the SharePoint list and have it recognised within the string coming into PowerApps.
Thank you for your suggestion to use Substitute() as that is a great solution.
Hi @WB_1 ,
You mean to include your global variable name in the field of your SharePoint list. Do you want power apps to directly recognize the variable name saved in the Sharepoint list and then directly display the content in the variable?
Unfortunately, this is impossible, even if you save this variable name in SharePoint, it will be recognized as a string when output to power Apps. But you can try the Substitute() formula to substitute a specific string into your variable.
Best Regards,
Dezhi
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2