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.
Solved! Go to Solution.
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,
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,