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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Service to Export data from a stream to a csv using the export button

Tomellache2B
14-Alexandrite

Service to Export data from a stream to a csv using the export button

Good day, all.

 

I hope you are well. I have a filter widget that filters through my stream. I want to take all the data in the stream and export it to csv I am struggling to write a service that does this. This link: https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/DataExportWidget.html. Speaks of exporting passwords that are encrypted. It does not address my scenario. 

Does anyone know how I can achieve this?

 

Many thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Ashritha
13-Aquamarine
(To:Tomellache2B)

Hi ,

 

You can follow steps mentioned below:

1. Add Data Export widget to Mashup

2. bind output of service/filter of infotable type directly into data field of export widget.

3. Now on click of export button data will be downloaded in csv format

 

Hope this Helps!!

View solution in original post

1 REPLY 1
Ashritha
13-Aquamarine
(To:Tomellache2B)

Hi ,

 

You can follow steps mentioned below:

1. Add Data Export widget to Mashup

2. bind output of service/filter of infotable type directly into data field of export widget.

3. Now on click of export button data will be downloaded in csv format

 

Hope this Helps!!

Top Tags