Variable set cloning allows for the creation of new variable sets based on existing variable sets, instead of from the default set.
The variable settings from previously checked in components can be downloaded to files and then imported. Select the Create Set link from the Create and Edit Variable Settings table of the components>details>variable settings page. The following selections are available from the page:
Create Set link is used to create a new variable set. If selected, a new column will be added only if there were no previously created variable sets. The column is headed by a Set Name field that is awaiting input of a unique variable set name in which to store the component variable settings. The edit links are Save, Cancel, and Delete
Import Set From Component link will import variable sets from other components
Download All Sets link will download all variable sets
Import Sets From File field, Browse, and Import links allow for the selected file to be uploaded and imported. New variables sets are created for the imported variables sets. No variable sets will be created on errors. On success, a message is sent in the session about the list of variable sets created. On error, an error message is sent in the session.
From the navigation menu under Application Deployment, choose Components.
The components>[top] page appears and lists the components that are already checked in.
Select an already checked in component.
The components>details page should appear.
Scroll down to the bottom of the page and select Variable Settings.
The components>details>variable settings page should appear.
Click on the Download All Sets link..
Export variable sets to a file (assuming that variable sets have been created already)..
Save the exported data.
A window will pop up to ask for the file path to save the exported data. On some browers, if the exported data displays, the user has to use the browser menu to save the exported data (Choose File->SaveAs).
Click on Done when you finish exporting variable settings.
To use a cloned variable set, select Create from the components>[top] page.
Create a new component and perform a check in.
Select the newly created component and click on Variable Settings.
Import Variable Sets
To import variable sets from another component, click on Import Set From Component. A popup window will be displayed to allow the user to select a component to import. Once selected, the variable sets in the import component will be imported if both have variables in common.
To import variable sets from a file, click on the Browse button at the bottom of the variable settings page to specify an import file. An example of an import file would be previously exported data, such as in Steps 4 and 5, then click on the Import link. The file content is uploaded, parsed and new variable sets are imported and created.
Click Done, and the newly created component has used cloned variable settings.