Skip to main content
Apr 20, 2020 7:14 AM UTC
Solved

Configuring existing property to isPersistent

Hi

 

I wanted to know can I configure an existing property which is not persistent currently into persistent using a service? Like it would make a manual process simpler if there was say more than 100 properties in a shape or template. Is there a way to set isPersistent to true through a function?

 

mnarangAnswer
Apr 20, 2020 12:22 PM UTC

Hi,

 

Currently, there is no OOTB service/snippet to update the property definitions/aspect .The only possible way is to either delete and recreate with required configuration/aspect or update it manually.

 

 

 

Thanks ,

Mukul Narang 

3 replies

mnarangAnswer
Apr 20, 2020 12:22 PM UTC

Hi,

 

Currently, there is no OOTB service/snippet to update the property definitions/aspect .The only possible way is to either delete and recreate with required configuration/aspect or update it manually.

 

 

 

Thanks ,

Mukul Narang 

Apr 20, 2020 12:26 PM UTC

Hi @mnarang 

 

Thank You!

Just a suggestion , it would be nice if there was a facility like that in future.

Apr 20, 2020 12:35 PM UTC

This type of feature is already in discussion ,will update you once it is out with new release of ThingWorx.

 

 

Thanks ,

Mukul Narang