Rules for Importing Resources
Importing follows certain rules to resolve conflicts during import. These rules are:
• If an imported resource does not exist, it is created. The person performing the import is granted privileges as the creator (such as Read|Write for a folder or Read|Write|Execute for a procedure). If the user is in the admin group and has requested include access, the resource reverts to its prior owner, and any privileges in the import are also put in place.
• If a resource is imported to a nonexistent folder, the folder and any parent folder that does not yet exist are created, and the user performing the import is assigned Read|Write privileges on and ownership of these folders.
Note: Missing folders are not auto-created in the Data Services folder.
• Importing a pre-existing resource overwrites the older version (assuming the required Write privileges), except that:
— The owner is not changed.
— User privileges are not overwritten unless explicitly changed by the import. For example, if Jean has Read|Write permissions and Sue has Read|Write permissions, and the import file lists Jean as having Read permission but not Sue, Jean’s privileges are updated to just Read, but Sue’s are left intact.
— If the resource is a folder or data source, its child resources are not removed.
Restrictions when importing resources
• Configuration settings are not carried over when you export or import a resource using Studio.
• Resource creation in a folder requires Write privilege on the folder path leading to that folder.
• A resource cannot be overwritten without Write privilege on that resource.
• You cannot export just part of a physical data source; you must export all of it or none of it.
• You cannot import just part of a physical data source; you must include the source definition itself.
• The Data Services folder enforces strict structure rules.
• You cannot import anything that was exported from the Data Services folder to a location outside of that folder.
• You cannot import anything that was exported from outside the Data Services folder into that folder.