Importing and Exporting
Copy
Packaging Aras Innovator configuration data to share changes between developers or different environments, like test and production. This section provides information on how to handle packages that include TOC configuration data.
Exporting TOC Elements
The TOC Editor manages the underlying CUI items that define and render the TOC controls in the Aras Innovator web client. These CUI items need to be packaged to export the TOC configuration to another Aras Innovator instance.
ItemType Buttons
The TOC Editor automatically adds each ItemType button to the package that contains its associated ItemType. For ItemTypes that belong to package definitions, admins can simply export the packages and import them into another environment.
If an ItemType button references an ItemType that does not belong to a package, there are a couple options. One option is to remove the button from the TOC, package the ItemType, and then recreate the button in the TOC Editor. This will automatically package the button.
The second option is to manually package the CUI items that define the ItemType button. The following steps demonstrate how to manually package a custom “Part” ItemType button.
- Navigate to Administration > ItemTypes in the TOC.
- Search for the Part ItemType and open it.
- Click the Client Style relationship tab and open the Presentation Configuration item.
- In the Command Bar Section grid, open the Part_TOC_Content item.
- In the Command Bar Item grid, open the Menu Button item that corresponds with the custom ItemType button in the TOC. The format of the name will resemble com.aras.innovator.cui_default.toc_Part_<GUID>.
- Click the “…” button in the toolbar and select Add to Package Definition.
- Choose the package from the list that the Menu Button will be assigned to.
- Close the Menu Button item, Command Bar Section item, Presentation Configuration item, and ItemType tabs.
The custom ItemType button is now packaged and can be exported with the export utility.
Categories
Since Categories are not explicitly assigned an ItemType, they must be packaged manually. The following steps demonstrate how to package a custom Category called “Design Pros”.
- Navigate to Administration > Configuration > Client Presentation in the TOC.
- Click the Search button to run the Client Presentation search.
- Click the Global item property in the single search result.
- In the Command Bar Section grid, open the com.aras.innovator.cui_default.toc item.
- In the Command Bar Item grid, open the Menu item that corresponds with the custom Category in the TOC. The format of the name will resemble com.aras.innovator.cui_default.toc_<GUID>.
- Click the “…” button in the toolbar and select Add to Package Definition.
- Choose the package from the list that the Menu will be assigned to.
- Close the Menu item, Command Bar Section item, Presentation Configuration item, and ItemType tabs.
The custom Category is now packaged and can be exported with the export utility.
Importing TOC Elements
Packages Containing TOC Access or TOC View
Prior to Aras Innovator Release 14, admins defined the TOC using the legacy TOC Access and TOC View relationships on ItemTypes. These relationships are no longer used as of Release 14, however, packages exported from Aras Innovator 12 SP20, or earlier releases may still include this data. These packages can be imported into Release 14+, but they will need a few updates to properly capture the TOC configuration.
The following steps are required to update a package that contains TOC Access or TOC View data.
- Import the package into Aras Innovator (Release 14 or greater).
- For each TOC Access relationship in the package, create a new ItemType button using the TOC Editor. The “Access” property of each button should match the Identity related to the TOC Access relationship in the package.
- For each TOC View relationship in the package, create a new Form or Page button following the steps in section Display a Form with a TOC Button or sectionDisplay an HTML Page with a TOC Button in this guide.
- Export the package using the export utility.
The package can now be imported to Aras Innovator Release 14+ without additional manual steps.