cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

edit infotable datashape do not apply changes

aziliotto
4-Participant

edit infotable datashape do not apply changes

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 3
slangley
23-Emerald II
(To:aziliotto)

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

PaiChung
22-Sapphire I
(To:aziliotto)

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

aziliotto
4-Participant
(To:PaiChung)

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.

 

Top Tags