cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

How to customize Export widget ?

bhushan3004
1-Newbie

How to customize Export widget ?

hello,

I want to export all the data displayed on my mashup including grid data also in excel or pdf format. As the thingworx Export widget do not have any custom option to do that. So how can I achieve this. Which thingworx widget I can use or there is any way to do that using custom services. ???

3 REPLIES 3
AdamR
12-Amethyst
(To:bhushan3004)

You can export data from a grid or service to a CSV file format.  Since a mashup is built and rendered using the Thingworx Runtime structure it cannot be exported easily to a PDF for standard excel format.  There is no widget or service available to do this at this time.

Once you have the CSV format though, it can be opened directly in Excel and from there you can export it to PDF.

You will have to use a custom extension otherwise to achieve what you want to do.

You can write a service which takes all the required data from mashup as input parameter. Then you can give the All Data to Export widget, this way you will have your all data in csv. It will cost only a additional Datashape.

As far as Grid data is concerned, while giving input to service you can export grid data to JSON and use that use JSON as input.

Top Tags