Skip to main content

Exporting and Importing FUSE Expressions

Export expressions as text files from one graphic and import them into another for rapid duplication. Use tools like ChatGPT to batch-modify expressions (adding uppercase formatting, set filters, or u

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


How to Export Expressions from a Graphic

1. 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.


2. 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.


How to Batch-Modify Exported Expressions

1. 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.


2. Save the modified text file once your batch changes are complete.


How to Import Modified Expressions into a Graphic

1. 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.


2. 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.


3. Once verified, publish the graphic to make the changes live.


Tips

* 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.


Did this answer your question?