FUSE expressions can be exported as text files and imported into other graphics, enabling rapid duplication and batch editing. This guide shows how to export expressions, use tools like ChatGPT to batch-modify them (e.g., adding uppercase formatting or set filters), and import them into new or existing 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
Step-by-Step Guide
Step 1: Open the graphic with expressions to export
Navigate to the FUSE editor and open the graphic containing the expressions you want to export. This could be any graphic with data-bound expressions β for example, a match details graphic with team name, score, and competition expressions.
Step 2: Export expressions as a text file
In FUSE, select the option to export expressions. This 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.
Step 3: Batch-modify expressions with ChatGPT or a text editor
Open the exported text file and use ChatGPT or a text editor to make batch modifications. Common modifications include adding uppercase formatting (wrapping expressions in upper() functions), adding set filters to change data sources, or updating field references.
Step 4: Import modified expressions into a new graphic
In the target FUSE graphic, use the import function to load the modified expressions. FUSE will map each expression back to its corresponding element by name. This is especially useful when creating variations of a graphic β for example, a home team and away team version with different data bindings.
Step 5: Verify and publish
After importing, review the expressions in the FUSE editor to ensure they were applied correctly. Check the preview to confirm data is displaying as expected. Once verified, publish the graphic to make the changes live.
Tips & Best Practices
Expression export/import works as a straight-swap copy β element names must match between source and target graphics.
ChatGPT is particularly useful for batch operations like wrapping all expressions in upper(), adding set filters, or changing data references.
Always verify imported expressions in preview before publishing β mismatched element names will result in unbound fields.
This workflow is ideal for creating multiple variations of similar graphics (e.g., different leagues or competitions using the same template).
Keep a backup of your original expressions file before making batch modifications.
Related Articles
Adding a Control Variable in FUSE
Building Graphics with External Data in FUSE
Using Player Variables in FUSE
