Skip to main content
12-Amethyst
March 12, 2019
Question

edit infotable datashape do not apply changes

  • March 12, 2019
  • 3 replies
  • 1738 views

Hi,

i need to change a property definition on a Thing.

The thing is Called TT and is an instance of the template A that has a property defined like this:

 

Property Name: info

Property DataShape: DB

 

DB has inside 2 other infotable of the type DB_row.

 

I added 2 columns to the datashape definition DB_row. saved the datashape.

I restarted the Thing TT to apply changes but when i browse  the property info i didn't see the 2 new columns.

How can i fix this issue ?

 

Thanks

 

 

3 replies

Support
March 19, 2019

Hi @aziliotto.

 

Please export the entities (thing, thing template, data shape) and attach them here and we will take a look.  Also, which version of ThingWorx are you running?

 

Regards.

 

--Sharon

22-Sapphire I
March 20, 2019

Try a full refresh of composer, it may still be showing a cached definition.

aziliotto12-AmethystAuthor
12-Amethyst
March 25, 2019

Already tried but did not work. 

The solution was:

 

1.create a new infotable property defined with the edited datashape.

2.check that new colums were as expected.

3.make a service that copy each row of inner infotable to this new property.

4.copy this new property to the old one as me.OldPropertyInfotable = me.NewPropertyInfotable.