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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! 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