Skip to main content
16-Pearl
September 18, 2022
Solved

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

  • September 18, 2022
  • 1 reply
  • 1825 views

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

🙂

Best answer by Ashritha

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!!

1 reply

Ashritha15-MoonstoneAnswer
15-Moonstone
September 19, 2022

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!!