--- title: "Controller Operations" --- # Controller Operations > The Controllers Operations page on the Gateway allows users to add changeset files that can then be transferred to other controller Gateways, and distributed to their agents. A changeset file is a `.zip` file that is made up of a single file or combination of Gateway exports, project exports, and tag exports files. The ability to transfer changeset files between controllers allows configurations to be tested on development and QA deployments before applying them to production Gateways. The ability to communicate between EAM controllers through changeset files also allows for hierarchical configuration with a central controller that can act as the source of truth for enterprise environments. Central controllers will not interact directly with agents in large, multi-site Ignition environments, but instead coordinate changes and setup to other child controllers. These child controllers will then distribute changesets to their agents independently. Child controllers will additionally collect aggregated agent metrics that will be available back to the central controller. Refer to the [Gateway Tasks](ignition-modules\enterprise-administration\agent-tasks\agent-tasks.md) page for more information on how to transfer changeset files between controller Gateways and distribute changesets to agent Gateways. Changeset files can also be applied locally on the current Gateway. To do so, expand the listed changeset's three dots menu, select **Apply Locally**, and then **Apply**. ## Gathering Changeset Files Before adding any changeset files to the Gateway, the desired files from the Gateway or Designer should be exported. Accepted file types include `.zip`, `.gwex`, and `.json`. Alternatively, you can [import a previously exported](#exporting-a-changeset) changeset `.zip` file to use again. ### Exporting from the Designer Project files and tag exports can be collected from the Designer. To create a project export file: 1. Click **File** > **Export** from the top navigation bar. 2. Select the project resources you want to export. 3. Click **Export**. 4. Select the file location to place the export, rename if needed, and click **Save**. To create a tag export file: 1. Access the Tag Browser. 2. Right-click on a desired folder or selection of tags. 3. Select **Export**. 4. Select the file location to place the export, rename if needed, and click **Save**. ### Exporting from the Gateway You can create Gateway `.gwex` export files from the Export & Import page on the Gateway. To create a `.gwex` file: 1. Navigate to **Platform** > **System** > **Export & Import**. 2. Select the reources to export. Click **Select All** to include all resources in the export. 3. Select **Export** to download the file to your local folder. ![The Exports & Imports Gateway page with the page navigation, select all, and export buttons highlighted.](imgs/exports-imports-page.png) ## Adding a Changeset When all the needed files for a changeset file have been exported and saved, you can now combine them to create a changeset file. Changeset files can be made up of a single file or multiple files. To add a changeset file: 1. Navigate to **Network** > **Enterprise** > **Controller Operations**. 2. Click **Add Changeset**. 3. Select your Changeset Method. In this example, we will be building a changeset from a collection of files. See the [Exporting a Changeset](#exporting-a-changeset) section for more information on how to import a previously exported Changeset `.zip` file. 4. Click **Next**. ![The Add Changeset form with the Selecting exported files method chosen.](imgs/adding-a-changeset-method-selection.png) 5. Fill in the **Name** field on the Configure Changeset form, and if desired, enter a **Description**. 6. Select **Add File** to open the Upload form. 7. Select **Add File** to choose the file to add to the changeset, and click **Open**. 8. The Detected File Type will be automatically populated by the uploaded file, which will trigger [related settings](#upload-settings) to appear: * When adding Gateway exports (GWEX), no further settings need to be configured. * When adding project exports (ZIP) from the Designer, you'll also need to select the **Project Export Type** and assign a **Project Name**. * When adding a tag export (JSON), you'll also need to enter a **Target Path** and **Tag Provider**. 9. Click **Import and Continue**. ![The Upload form displaying the project export options, and the Import and Continue option selected.](imgs/adding-a-changeset-upload-form.png) 10. Repeat steps 6-9 until all necessary files have been added. 11. Optionally, enter a **Due Date** that the changeset must be transferred by before it will be considered past due. 12. Click **Add Changeset**. The changeset file is now listed on the page. You can select **Edit** from a changeset's three dots menu to make any further changes, or **Delete** to remove it. ## Exporting a Changeset Existing changesets can be exported and imported from the Gateway to local machines. To export a changeset, expand the changeset's three dots menu and select **Export**. The file will automatically begin downloading. Now that you have a previously exported Changeset file, the import option can be used. To import a changeset file: 1. Select **Add Changeset**. 2. Select **Import a previously exported Changeset .zip file**. 3. Click **Next**. ![The Add Changeset form with the Import method selected.](imgs/exporting-a-changeset-import-method.png) 4. Click **Select File**. 5. Select a previously exported Changeset file. 6. Click **Open**. 7. Select **Add Changeset**. The changeset file is now listed on the page with the same settings and name as it had when it was exported. Expand the three dots menu and select **Edit** to make any changes. ## Changeset Details Each changeset has a Details panel that will show the information listed on the main page, including creation date, ID, source Gateway, and Due Date, as well as the list of files and their corresonding Item ID, Item Type, and Details names. The individual file details are displayed by the relevant settings for each file type. Expand the changeset's three dots menu and select **View Details** to open the Details panel. ![The Details panel for a Test changeset with only a project export file.](imgs/changeset-details.png) ## Changeset Settings |Setting|Description| |--|--| |Name| The name of the changeset.| |Description| The description of the changeset.| |Add Files| Adds exported files from the Gateway or the Designer to build a changeset. This may include Gateway exports, project exports (full or partial), or tag exports. Once added, the Filename, Item ID, and Type will be listed for each upload. Uploads can be deleted from the Add Files list by selecting the Remove option from the file's three dots menu. See the [Upload Settings](#upload-settings) table for more information on settings per file type. | |Due Date| Sets an optional due date for this Changeset. A warning indicator will display when the date has passed.| ### Upload Settings Once a project export or tag export is uploaded, the following settings will be displayed as applicable. |Setting|Description| |--|--| |Detected File Type| Displays the file type uploaded based on the selected file’s extension:Gateway Export: This type is displayed when `.gwex` files are selected.Project Export: This type is displayed when `.zip` files are selected.Tag Export: This type is displayed when `.json` files are selected.| |Project Export Type| Assigns the `.zip` file as a full project or a partial project export. This setting will only appear for project exports.| |Project Name| Sets the name the project will be created/replaced under. This setting will only appear for project exports.| |Target Path|All tags in the selected file will be placed in this folder. If blank, all tags and UDT definitions will be placed into the provider’s root folder. This setting will only appear for tag exports.| |Tag Provider|The target tag provider. This setting will only appear for tag exports.|