Skip to main content
Dec 22, 2024 8:12 AM UTC
Solved

dynamic service output infotable datashape

As shown in the above figure, if I want to configure the grid in the mashup, I must set the output's datashape. If I want to implement dynamic datashape while also configuring it in the mashup, how can I achieve it through service?33.png

As shown in the above figure, if I want to configure the grid in the mashup, I must set the output's datashape. If I want to implement dynamic datashape while also configuring it in the mashup, how can I achieve it through service? think you .  my thingworx is 9.3.0

Dec 31, 2024 7:04 AM UTC

Hello @LY_10340318 

 

As far as i can understand you want to have a dynamic datashape on the mashup, if this is the case i dont think its feasible . please refer following articles for your reference

https://www.ptc.com/en/support/article/CS330487?source=search

https://community.ptc.com/t5/ThingWorx-Developers/datashape-changing-dynamic/m-p/588040#M33377%3Fsource=search

 

If you have any other query apart from it please feel free to revert.

 

Thanks

6 replies

2-Explorer
Dec 24, 2024 3:09 PM UTC

Hello @LY_10340318 ,

 

Please check this KB article and let us know if it helps you to achieve your use case:

Article - CS402961 - How to dynamically create temp infotable without existing Data Shape using javascript service in ThingWorx Platform

Dec 31, 2024 2:35 AM UTC

thank you,but this is not what i want.

Dec 31, 2024 7:04 AM UTC

Hello @LY_10340318 

 

As far as i can understand you want to have a dynamic datashape on the mashup, if this is the case i dont think its feasible . please refer following articles for your reference

https://www.ptc.com/en/support/article/CS330487?source=search

https://community.ptc.com/t5/ThingWorx-Developers/datashape-changing-dynamic/m-p/588040#M33377%3Fsource=search

 

If you have any other query apart from it please feel free to revert.

 

Thanks

Dec 31, 2024 7:53 AM UTC

Hey @LY_10340318 If you want to display data in grid, dynamic columns, then you can look into configuring the grid using JSON. That way you can control the grid configuration using a service, based on data you are expecting to show in the grid and you would not need to attach any datashape to the data.

2-Explorer
Jan 7, 2025 5:31 PM UTC

Hello @LY_10340318,

It appears that this post may answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,
Abhi

2-Explorer
Jan 13, 2025 8:30 PM UTC

Hello @LY_10340318 

I wanted to follow up with you on your post. Upon further review, we have gone ahead and designated the post we feel successfully answered your question.

In the event that you disagree with the Solution Accepted, please let me know.

Thanks for using the PTC Community! 

Regards,
Abhi