Working with Library Templates

Overview: Working with Library Templates

You can share a default library reference across studies and submissions by creating a library template. You can select a library template when you create a study or submission.
The library templates that are available appear in the Clinical Administration tree when you expand Defaultsthen selectLibrary Templates.

Access Permissions for Library Templates

To more easily manage study structure at the department level, you can control which users can access a library template.
Note: The access permissions that you specify for a library template are not propagated to the objects that are created from the library template.
For more information about access permissions on the Authorization tab, see the SAS Data Integration Studio: User's Guide or the SAS Data Integration Studio online Help.

Library Templates Name Requirements

A library template name must meet the following requirements:
  • The maximum length is 60 characters.
  • The name must not be the same as any existing library template name in the study or submission. The comparison check is not case sensitive.

Library Templates libref Name Requirements

A library template libref name must meet the following criteria:
  • The first character must be an alphabetic character or an underscore.
  • Each subsequent character must be an alphabetic character, integer, or an underscore.
  • The maximum length is eight characters.
  • The name must not be the same as any existing library template name in the study or submission. The comparison check is not case sensitive.

Library Templates Descriptions Requirements

The maximum length of a description for a library template is 200 characters.

Library Templates Path Requirements

If you include a macro variable (such as &studyName) in the path for a library template, you must define the macro variable in an autoexec file or in a job that uses the library template.

Create a Library Template

To create a library template, perform the following steps:
  1. In the Clinical Administration tree, expand Defaults.
  2. Right-click Library Templates and select New Library Template.
    The New Library Template dialog box appears.
    New Library Template dialog box
  3. Enter a name for the library and a name for the libref.
  4. (Optional) Enter a description.
    The description must meet certain requirements. (See Library Templates Descriptions Requirements.)
  5. (Optional) Specify the path.
  6. Click Finish.

View and Modify Library Template Properties

To view and modify library template properties, perform the following steps:
  1. In the Clinical Administration tree, expand Defaultsthen selectLibrary Templates.
  2. Select a library template, right-click, and then select Properties.
    The Library Template Properties dialog box appears.
    Library Template Properties dialog box
  3. Enter a name for the library and a name for the libref.
  4. (Optional) Enter a description.
    The description must meet certain requirements. (See Library Templates Descriptions Requirements.)
  5. (Optional) Specify the path.
  6. Click OK.

Delete a Library Template

To delete a library template, perform the following steps:
  1. In the Clinical Administration tree, expand Defaultsthen selectLibrary Templates.
  2. Select one or more library templates, right-click, and then select Delete.