Importing and Exporting Cell-Level Security Definitions

About Importing and Exporting Cell-Level Security Definitions

You can export the filtered list of cell-level security definitions from the listing page to a location on your local computer, or you can export them to the server. If no filter is defined on the listing page, then all cell-level security definitions are exported.

Use the Import action to import cell-level security definitions into the application from a location on your local computer or import them from the server. When you perform an import, the system tests the import file for anything that might break a definition; for example, if a cube is missing, or if an anchor dimension doesn't exist, or if a subrule is not found, errors are logged in the error file. Import jobs will only complete successfully if the import file has no errors.

Note:

Subrules provide information about the content of the rules such as the user assignment for each member of the rule (subrule), the member selection or exclusion for anchor and non anchor dimensions, and the restriction type applied for each subrule.

Depending on the export or import location you choose, the application definitions are exported or imported in either an Excel file format (XLSX) or a zip file format.

Cell-Level Security Import File

The Excel import file must have two sheets with the following names for the first and second sheets:

  1. Rules
  2. Sub Rules

The Rules sheet has the following column headings:

  • Name
  • Position
  • Description
  • Enabled
  • Valid Cubes - This column can contain either All or a list of comma-separate names of cubes, such as Plan1, Plan2
  • Anchor Dim Name
  • Anchor Dimension Apply to Unselected Members
  • Dim1
  • Dim1 Required
  • Dim2
  • Dim2 Required
  • DimX
  • DimX Required

The Sub Rules sheet must have the following column headings:

  • Name - This column must contain the name of the Rule from the first sheet
  • Users
  • User Groups
  • Restriction This column can contain Deny Read or Deny Write
  • Anchor Members
  • Anchor Exclusion
  • Anchor Exclusion All
  • Dim1 Members
  • Dim1 Exclusion
  • Dim1 Exclusion All
  • Dim2 Members
  • Dim2 Exclusion
  • DimX Members
  • DimX Exclusion
  • DimX Exclusion All

Exporting and Importing Cell-Level Security Definitions

To export and import cell-level security definitions:

  1. Click Application, and then click Cell-Level Security.
  2. Apply filters to the listing, as needed. See Filtering Cell-Level Security Definitions.
  3. To export, click Actions, then Export, and then select the target location for the export file:
    • Local: Saves the export file to a location on your local computer. If you choose this option, click Export, and then specify where to save the XLSX export file.

    • Outbox: Runs a job that saves the export file in a zip format to the server which you can download now or use to schedule an export job later. If you choose this option, click Save and Run Job.

      To download the export file from the Outbox:

      1. Click Application, and then click Jobs.
      2. Under Recent Activity click the Export CLS job.
      3. On the Job Details page, click Download icon to select a download location for the cell-level security export file. You can also download the export file from the Inbox/Outbox Explorer for your business process.
  4. If editing the export file in Excel, note that the Excel file has two sheets: Rules and Sub Rules.
  5. To import, click Actions, then Import, and then select the location of the import source file:
    • Local: Loads the import file from a location on your computer. For Source File, click Browse to select the import file on your computer, and then click Import.

    • Inbox: Runs a job that loads the import file from the server. The import file must be in a zip file format. Enter the name of the file in Source File, click Save and Run Job, and then specify the Name and Error File on the Save as Job dialog. The error file provides information about the definitions that were not imported. You can download the error file from the Inbox/Outbox Explorer for your business process.