Create an import configuration

When users import content into Inspire, you may need to give them the ability to transform an XML document using a set of rules. You can define these rules using an import configuration.

You must have administrator permissions to work with import configurations.

Before you begin:

  • You must create your own XSLT that can transform the XML structure in the files you want to upload.
  • You must import your XSLT into Inspire. Follow the steps in Import components.

To create an import configuration:

  1. From the top menu, select Administration, and then Import configuration.
  2. On the Import configuration tab, click Create.
  3. On the Add Import Configuration dialog, on the Details tab:
    1. In Name, enter a descriptive title in 50 characters or less to let users know how content is being transformed.
    2. Optionally, in Description, you can enter any additional details about the transformation.
    3. Leave the Import Type as Standard.
    4. Optionally, to hide this configuration from users, clear the Active option.
    5. Optionally, to automatically show this configuration when the Import components dialog opens, select Default.
  4. Optionally, to limit the use of this import configuration to specific users or roles, click the Permissions tab.
    1. Click Add.
    2. On the Select Users/Roles screen, in Available Users/Roles, select the user or role group that you want to allow access to this import configuration.

      You can see more information about the user or role you select in the Details pane.

    3. On the Select Users/Roles screen, click Select.

      On the Permissions tab, the users and roles you select are listed in the grid by Name.

  5. To add the XSLT rules, click the Transforms tab.
    1. Click Add.
    2. On the Import Components screen, click Browse for files...
    3. On the Open dialog, locate the XSLT file, click it, and then click Open.
    4. Repeat step c to add more XSLT files if necessary.
    5. On the Import Components pane, click Next, Next, and then Finish.
    6. If you have multiple rows of stylesheets, you can set the order in which they are applied.
      ● To move an XSLT up in the order, click the up arrow .
      ● To move an XSLT down in the order, click the down arrow .
  6. On the Add Import Configuration screen, click Create.
    On the Import configuration screen you see the new import configuration.