Skip to main content
17-Peridot
August 28, 2020
Solved

Import entity file will reset the persistent property values of Things

  • August 28, 2020
  • 1 reply
  • 1556 views

Hi, 

Every time when I fixed a bug in the local dev system and then import the thing's entity xml file to the testing/production system,  the value of persistent property get reset in the target system.   I have to manually input them again.   

Why is the behavior  designed like this ?  or it's a bug ?   I'm currently using ThingWorx 8.5.5 , but the problem has existed since 8.4 at least. 

 

Regards,

Sean

    Best answer by seanccc

    @VladimirRosu_116627 ,

    Sorry, my mistake.  I just found the import function has a new option "Overwrite Property Values" since ThingWorx 855. 

     

    seanccc_0-1599186259982.png

     

    Regards,

    Sean

     

    1 reply

    19-Tanzanite
    August 31, 2020

    I expect that this is the expected behavior. The Thing concept, besides its definition (property/alert/event definition) includes also the state (property values) and logic (service), and they are all imported at once, hence the overwrite.

    If you want to import something I suggest (but am not 100% sure) to see how the Thing import behaves at the Configuration Tables level - does it override current configured values there or does it leave them intact?

    seanccc17-PeridotAuthorAnswer
    17-Peridot
    September 4, 2020

    @VladimirRosu_116627 ,

    Sorry, my mistake.  I just found the import function has a new option "Overwrite Property Values" since ThingWorx 855. 

     

    seanccc_0-1599186259982.png

     

    Regards,

    Sean

     

    5-Regular Member
    September 7, 2020

    @seanccc 

     

    Thanks for letting us know, could you please mark this thread as accept as solution to benefit of others.

     

    Regards,

    Mohit