Hi all,
I have a parameter in my app to set the language. It holds either "NL" or "EN" and the correct text displays from a SharePoint list. I'm having trouble doing the same trick for images and video.
Example of what works: for text in buttons I'm using the following code to change the text based on the language parameter:
If(
gblLanguage = "NL" ,
"Mijn applicaties" ,
"My applications"
)
I have uploaded 2 images in my apps media with the names "officecomhomenl" and "officehomecomen". Next I've added an image on the app canvas and used a similar formula:
If(
gblLanguage = "NL" ,
"officecomhomenl" ,
"officehomecomen"
)
The problem is that the image doesn't load.. If I erase the If-statement and just fill in "officecomhomenl" or the EN variant, everything the image is displayed just fine. The same goes for a stream video where i make the URL field dependant on the parameter value as well...
Any help here would be greatly appreciated! 😁
PS: I did find this topic on the forums but the situation here is a bit different I believe.