Skip to main content
9-Granite
December 22, 2024
Solved

dynamic service output infotable datashape

  • December 22, 2024
  • 5 replies
  • 1239 views

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

Best answer by bchaudhary_448008

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

5 replies

12-Amethyst
December 24, 2024

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

9-Granite
December 31, 2024

thank you,but this is not what i want.

5-Regular Member
December 31, 2024

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

14-Alexandrite
December 31, 2024

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.

12-Amethyst
January 7, 2025

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

12-Amethyst
January 13, 2025

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