Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have a RemoteThing and I want to change the Cache Method to "Fetch from remote every read". How can I do that? I tried with AddPropertyDefinition and I assume that it is in the remoteBindingAspects that I have to put that, but I don't know what to put in the JSON. Is it
remoteBindings: {
"cacheMethod": "Fetch from remote every read"
}
Any help is welcomed.
Hello @cmelancon,
Have you tried the following JSON format:
{
"remoteBindings":{
"cacheMethod":"Fetch from remote every read"
}
}
Yes I tried and the cache method stays to "Cached for specific time".