Skip to main content
4-Participant
June 4, 2025
Solved

Store the data from input form in thingworx

  • June 4, 2025
  • 1 reply
  • 366 views

Hi,

I am very new to thingworx. I created a very basic mashup with a form where the user can enter data. What I don't understand is how to ensure the data entry is saved somewhere. How does this work in thingworx? I would like the form to be saved somewhere once its filled out with a possibility to edit in future if needed.

Best answer by TonyZhang

Hi @IA_10640601,

 

You can use DataTable to store the user input on Mashup.

See Help Center - Data Tables for more information.

You need to create a JavaScript (JS) service to add or update a record into your data table, which should be fired by an event in Mashup (like a button click event) through binding.

Also, bind your form data entries to the input parameters of your write-data JS service.

Refer to Thing Services and Adding Data Services to a Mashup in ThingWorx Help Center for more information.

If you want to learn the basics of ThingWorx, I would recommend you contact your sales representative or CSM to take PTCU ThingWorx Foundation courses.

 

Best,

1 reply

TonyZhang16-PearlAnswer
16-Pearl
June 6, 2025

Hi @IA_10640601,

 

You can use DataTable to store the user input on Mashup.

See Help Center - Data Tables for more information.

You need to create a JavaScript (JS) service to add or update a record into your data table, which should be fired by an event in Mashup (like a button click event) through binding.

Also, bind your form data entries to the input parameters of your write-data JS service.

Refer to Thing Services and Adding Data Services to a Mashup in ThingWorx Help Center for more information.

If you want to learn the basics of ThingWorx, I would recommend you contact your sales representative or CSM to take PTCU ThingWorx Foundation courses.

 

Best,