Renamed Widget Categories and Exporting to CSV/Excel
Hello:
I'm doing something similar to what's described in this Community post. It works well when viewing the data in the Widget, however when I export the Widget to a CSV, the original names of the Categories are exported. Is there a way to modify the scripting in such a way that the new category names are kept intact upon export?
Thanks!
bminehart
Posted 1 year ago·Last reply 1 year ago
1 comment
harikm007
·1 year agoHi bminehart ,
To address this, you can use the 'Add Transformation' option within your widget to rename categories.
Here’s a step-by-step approach you can follow:
Use 'Add Transformation' in the Widget:
Script for Transformation:
This script maps the old category names to the new ones and ensures that the changes are applied correctly. If a category name does not match any key in the mapping dictionary, it will remain unchanged.
Thanks,
Hari
https://www.binextlevel.com/