Skip to main content
Nov 24, 2021 9:11 AM UTC
Solved

GET Cachemethod for a property

Hi , 

I am trying to get the cache method for a remotely bound  property using service. I managed to get all the remote bindings in the composer via service but cant seem to fetch the cache method. If  someone has an insight on this please let me know.

@paic 

 

Nov 25, 2021 6:03 AM UTC

You can try this snippet on the Thing.

let result = Things["AssetA"].GetRemotePropertyBinding({
propertyName: "Temperature" /* STRING */
});

 

This will give you aspects column where you can find cache method.

2 replies

Nov 25, 2021 6:03 AM UTC

You can try this snippet on the Thing.

let result = Things["AssetA"].GetRemotePropertyBinding({
propertyName: "Temperature" /* STRING */
});

 

This will give you aspects column where you can find cache method.

Nov 25, 2021 6:51 AM UTC

Thanks a lot man