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

Grid fields displaying when fields removed from Datashape TWX 9.1

VaibhavShinde
16-Pearl

Grid fields displaying when fields removed from Datashape TWX 9.1

Hi ,

after bindings done to Grid in Mashup. i wanted to remove one field from Datashape which is connected with Grid. anyway i removed specific field from DataShape but facing below issues..

1. Still deleted fields are showing in Grid.

2. Not showing at 'Configure Grid Column' of grid . but Showing at Grid in Composer or Runtime.

 

FYI-I tried reloading the page and reloading the bindings.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
mgoel
17-Peridot
(To:slangley)

@slangley As per the support case dynamic configuration should do the job here below are few articles which helped to resolve the issue.

 

https://www.ptc.com/en/support/article/CS336659

https://www.ptc.com/en/support/article/CS305974

https://www.ptc.com/en/support/article/CS320749

 

I believe one can overcome this issue by implementing dynamic configuration.

 

Regards,

Mohit

View solution in original post

6 REPLIES 6
c_lowy
15-Moonstone
(To:VaibhavShinde)

Hi @VaibhavShinde,

 

Indeed if you have an infotable property based on that DataShape and that contains values, those values will not be affected by the changes made to the DataShape. You may run a service like the following on your Thing to remove the field from the existing infotable property :

me.Property_name.RemoveField("Field_name");

 

or, if you have added a field to your DataShape :

me.Property_name.AddField({ "name": "Field_name", "baseType": "STRING" });

 

You can also refer to : https://community.ptc.com/t5/ThingWorx-Developers/Can-t-update-the-datashape-of-an-existing-infotabl...

Hi @c_lowy 

 

I am not using Infotable property. its a datatable (has datashape) ..and already datatable's data binds to Grid. but i wanted remove one field and i removed from Datashape but still its appearing at Grid design and runtime but also not showing at 'Configure grid columns'. please see below snaps.

VaibhavShinde_0-1616064922014.pngVaibhavShinde_1-1616064982393.png

 

Thanks

suverma
12-Amethyst
(To:c_lowy)

A support case has been opened for this and working with RnD on it. Once we determine the cause of the issue, I will post an update here.

Hi @VaibhavShinde.

 

The support case that was opened for this issue is now closed.  Can you please share details of the solution?

 

Regards.

 

--Sharon

mgoel
17-Peridot
(To:slangley)

@slangley As per the support case dynamic configuration should do the job here below are few articles which helped to resolve the issue.

 

https://www.ptc.com/en/support/article/CS336659

https://www.ptc.com/en/support/article/CS305974

https://www.ptc.com/en/support/article/CS320749

 

I believe one can overcome this issue by implementing dynamic configuration.

 

Regards,

Mohit

slangley
23-Emerald II
(To:mgoel)

Hi @VaibhavShinde 

 

If you agree that the response documented by @mgoel from the case was the solution, please mark his last post as the Accepted Solution for the benefit of others with the same issue.

 

Regards.

 

--Sharon

Announcements