cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Using relative links and getting &__rnd= trash parameters send trougth the url.

martingalaz
1-Visitor

Using relative links and getting &__rnd= trash parameters send trougth the url.

I'm trying to reference a file in the FileRepository and it worked fine but adds this:


 &__rnd=0.8384068009909242


I referenced it as: ../../Thingworx/MediaEntities/noUserImage



All is good but the end parameters.



2 REPLIES 2

Hi Martin,

That "trash" is a feature! By appending it to the URL, we ensure the browser will not cache the image and the end user will see the latest version of the Media Entity. If you prefer a cleaner URL, you can uncheck the PreventCaching property of the Image widget.


Thanks,

Adam



Helo Adam:

Thanks, somehow if you use the prevent caching property in the image widget and set the url source on the fly it may or not work.


Thank you.



Announcements


Top Tags