Hi,
Is it possible update parameter downloaded from a csv file located on an external server every time the configurator is launched?
Could you give me some context about your use case? Are you embedding an App using an iframe? Or integrating ShapeDiver using the viewer and/or backend API?
In general, what you are asking for is not possible out of the box with ShapeDiver currently. If a remote csv file referenced by URL in a model is updated, this will not change anything in the model since the parameter is cached in the model. You would have to manually empty the cache to make sure the new values are pulled from the url.
If you are using the API, you could make sure a new call to the csv file is done every time by adding a timestamp to the url and passed as a default value when creating the session.
For other cases not involving a programmatic solution, we are working on ways to disable caching for specific models and/or parameters, and I will let you know once this becomes possible.
Ok, thanks for the reply. Yes, after clearing the cash, the file updates, but the value associated with the file loaded from the URL that is calculated retains the value from the previous session. So clearing the cash doesn’t remove the calculated values by definition, even though the file loaded from the URL has changed?
Did you try to remove the cache from your browser? The url contents might be cached a well.
Yes, it was the browser cache's fault, and after clearing it, the data is up to date. However, this creates a problem because a client that has cached data from a previous session won't download the current data, right?