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

GET Cachemethod for a property

Adarsh_Nair
4-Participant

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 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Mukul
13-Aquamarine
(To:Adarsh_Nair)

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.

View solution in original post

2 REPLIES 2
Mukul
13-Aquamarine
(To:Adarsh_Nair)

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.

Adarsh_Nair
4-Participant
(To:Mukul)

Thanks a lot man 

Top Tags