Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I want to load students data into a mashup which will be given by user. My vision is , on click of "Add student" button in main page, a window has to pop-up and ask for student name, age, department, photo (image) and so on. After giving all the values, the detail has to be shown in the same main page in addition to the "add student" button. Like this users will add as many students they need.
I'm a newbie here. So step by step instructions will be appreciated.
Thanks and regards,
Rajesh
Solved! Go to Solution.
You should be able to find info for this by going through the intro classes or some of the intro projects in developer.thingworx.com
In a super generic way
1. have a place to store the data (DataTable or your own database)
2. have services to do Get/Add/Update/Delete/Query as needed for the interactions
Provide proper input parameters with each service
3. Create initial mashup, use a Navigation widget to launch a pop-up mashup
4. Create the pop-up mashup (regular mashup still) and add your Add service and widgets for the input parameters.
5. Add a button to fire the service and a button to close the pop-up
6. Tie pop-up close from Navigate widget to your Get/Query that displays the data
You should be able to find info for this by going through the intro classes or some of the intro projects in developer.thingworx.com
In a super generic way
1. have a place to store the data (DataTable or your own database)
2. have services to do Get/Add/Update/Delete/Query as needed for the interactions
Provide proper input parameters with each service
3. Create initial mashup, use a Navigation widget to launch a pop-up mashup
4. Create the pop-up mashup (regular mashup still) and add your Add service and widgets for the input parameters.
5. Add a button to fire the service and a button to close the pop-up
6. Tie pop-up close from Navigate widget to your Get/Query that displays the data