You can export a folder to an archive format and later re-import it into a different project/context.
A few common usage scenarios:
- Create a folder template for standardizing structure.
- Transfer a folder from a staging / testing environment to a production platform.
- Export a selected subset of a folder, such as excluding columns tagged as containing protected health information to enable sharing of results without compromising PHI.
You can choose to include the datasets, views, and reports, as well as much of the original folder's configuration. See the screen shot below for items that can be included in the folder archive.
- To export a folder, go to (Admin) > Folder > Management and click the Export tab.
- Select the objects to export.
- Choose the options required.
- Select where to export the archive file.
- Click Export.
Folder objects to export
- Folder type and active modules: Export the options set on the "Folder Type" tab.
- Full-text search settings: Export he settings on the "Search" tab.
- Webpart properties and layout
- Container specific module properties: Export settings on the "Module Properties" tab.
- Role assignments for users and groups: See Export and Import Permission Settings.
- Experiments and runs: Export assay data. Note that exported assay data uses the originally uploaded data file. Any deleted or edited data rows in the assay will not be reflected in the exported data. In cases where there is no original data file, such as when the assay runs were created via a client API call, no assay data will be included in the export.
- Grid Views
- Reports and Charts
- External schema definitions: Export external schemas defined via the Schema Browser.
- Wikis and their attachments
- Notification settings: Export the settings from the "Notifications" tab.
- Files: Export the contents of the file repository.
- Missing value indicators: Export the settings from the "Missing Values" tab.
- Study: For more information about study export, see Export Study Objects.
Select Export Options
Whether to Include Subfolders
in your archive is optional; this option is only presented when subfolders exist.
You can also choose to exclude protected health information (PHI) at different levels. This exclusion applies to all dataset and list columns, study properties, and specimen data that have been tagged at a specific PHI level
. By default, all data is included in the exported folder.
- Exclude Columns at this PHI Level and Higher: Selecting this option will exclude all columns that have been tagged at or above the level chosen:
- Limited: Exclude Limited PHI, Full PHI, and Restricted columns.
- PHI: Exclude Full PHI and Restricted columns.
- Restricted: Exclude only Restricted columns.
Similar PHI functionality is available when publishing a study. For more details see Publish a Study: Protected Health Information / PHI
To tag a field at a specific PHI level, see Field Properties Reference
Select an Export Destination
Under Export to:
, select one the export destination:
- Pipeline root export directory, as individual files
- Pipeline root export directory, as a zip file
- Browser as a zip file.
You can place more than one folder archive in a directory if you give them different names.
When you import a folder archive, a new subfolder is not created. Instead the configuration and contents are imported into the current folder, so be sure not to import into the parent folder of your intended location.
To create the imported folder as a subfolder, first create a new empty folder, navigate to it, then import the archive there.
- To import a folder archive, go to (Admin) > Folder > Management and click the Import tab.
- You can import from your local machine or from a server accessible location.
Import Folder From Local Source
- Local zip archive: check this option, then Browse or Choose an exported folder archive to import.
- Existing folder: select this option to bypass the step of exporting to an archive and directly import selected objects from an existing folder on the server. Note that this option does not support the import of specimen or dataset data from a study folder.
Both import options offer two further selections:
- Validate All Queries After Import: When selected, and by default, queries will be validated upon import and any failure to validate will cause the import job to raise an error. If you are using the check-for-reload action in the custom API, there is a suppress query validation parameter that can be used to achieve the same effect as unchecking this box in the check for reload action. During import, any error messages generated are noted in the import log file for easy analysis of potential issues.
- Show Advanced Import Options: When this option is checked, after clicking Import Folder, you will have the further opportunity to:
- Select specific objects to import
- Apply the import to multiple folders
If the folder contains a study, you will have an additional option:
- Fail import for undefined visits: when you import a study archive, you can elect to cancel the import if any imported dataset or specimen data belongs to a visit not already defined in the destination study or the visit map included in the imported archive. Otherwise, new visits would be automatically created.
Select Specific Objects to Import
By default, all objects and settings from an import archive will be included. For import from a template folder, all except dataset data and specimen data will be included. If you would like to import a subset instead, check the box to Select specific objects to import
. You will see the full list of folder archive objects (similar to those you saw in the export options above) and use checkboxes to elect which objects to import. Objects not available in the archive or template folder will be disabled and shown in gray for clarity.
This option is particularly helpful if you want to use an existing archive or folder as a structural or procedural template when you create a new empty container for new research.
Apply to Multiple Folders
[ Video Overview: Applying Study Templates Across Multiple Folders
- Version 16.3 ]
By default, the imported archive is applied only to the current folder. If you would like to apply this imported archive to multiple folders, check Apply to multiple folders
and you will see the list of all folders in the project. Use checkboxes to select all the folders to which you want the imported archive applied.
Note that if your archive includes subfolders, they will not be applied when multiple folders are selected for the import.
This option is useful when you want to generate a large number of folders with the same objects, and in conjunction with the selection of a subset of folder options above, you can control which objects are applied. For instance, if a change in one study needs to be propagated to a large number of other active studies, this mechanism can allow you to propagate that change. The option "Selecting parent folders selects all children" can make it easier to use a template archive for a large number of child folders.
When you import into multiple folders, a separate pipeline job is started for each selected container.
Import Folder from Server-Accessible Archive
Click Use Pipeline
to select the server-accessible archive to import.