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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

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

martingalaz
1-Newbie

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
adam11
5-Regular Member
(To:martingalaz)

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.



Top Tags