Skip to main content

How to export and import FUSE expressions

Export expressions as text files from one graphic to batch-modify them using tools like ChatGPT. Common modifications include adding uppercase formatting, adding set filters, or updating field referen

Written by Julian Rodrigues
Updated today

Overview

FUSE expressions can be exported as text files and imported into other graphics, enabling rapid duplication and batch editing. Export expressions from an existing graphic, modify them using tools like ChatGPT or a text editor to add uppercase formatting, set filters, or change field references, then import them into new graphics for efficient workflow.


Prerequisites

* Access to the FUSE graphics editor


* A graphic with existing expressions you want to export


* Basic understanding of FUSE expression syntax


How to export expressions from a graphic

1. Navigate to the FUSE editor and open the graphic containing the expressions you want to export.


2. Select the option to export expressions.


3. FUSE generates a text file containing all expressions from the graphic in a structured format.


Each expression is listed with its element name and the expression formula, making it easy to review and modify outside of FUSE.


How to batch-modify exported expressions

1. Open the exported text file.


2. Use ChatGPT or a text editor to make batch modifications.


Common modifications include:


* Adding uppercase formatting by wrapping expressions in upper() functions


* Adding set filters to change data sources


* Updating field references


How to import modified expressions into a new graphic

1. In the target FUSE graphic, use the import function to load the modified expressions.


2. FUSE maps each expression back to its corresponding element by name.


3. Review the expressions in the FUSE editor to ensure they were applied correctly.


4. Check the preview to confirm data is displaying as expected.


5. Publish the graphic to make the changes live.


Important notes

Expression export and import works as a straight-swap copy. Element names must match between source and target graphics for expressions to map correctly. Mismatched element names will result in unbound fields.


This workflow is ideal for creating multiple variations of similar graphics, such as different leagues or competitions using the same template.


Always verify imported expressions in preview before publishing.


Keep a backup of your original expressions file before making batch modifications.


Did this answer your question?