Designer Error: The import contains references to the following packages that cannot be located

  • 7018342
  • 01-Dec-2016
  • 01-Dec-2016

Environment

NetIQ Identity Manager Designer 4.5.x

Situation

When importing a project or driver from the Identity Vault into IDM Designer, the following error is received:

The import contains references to the following packages that cannot be located

<package name and version>

Do you want to continue and ignore package references?

Note: Ignore package references disassociates the objects from the package.
Disassociating objects can cause conflicts when you install the package at a later time.







Resolution

To prevent the error from occurring, your project must have the package referenced installed into the project under the Package Catalog before attempting to import the driver.



If you select No, on the original error message above:  The import contains references to the following packages that cannot be located.    Then your driver will not be imported.

If you select Yes, on the original error message above:  The import contains references to the following packages that cannot be located.   Then the driver will be imported with all the policies and/or GCV's that were contained in the original package referenced in the error message.   However, the policies and/or GCV's that were originally linked to the package in the error, will not be linked to the referenced package or any package, as it does not exist in the project or driver prior to importing the driver.  


Additional Information

1.   The package versions must match exactly.   The package version in this example is: 0.0.2.20161201105045.    Where 0.0.2 is the package version specified when the package was created, and 20161201105045 is the date/time of the package build or the last time it was updated.   YYYYMMDDHHMMSS. 

2.  There is no process available at this time to recreate a package automatically.    You must have a build of the package to import into designer and the package catalog in your project.    If you are the author of the package, in Designer, in Package Developer Mode, if you right click the package you will have an option to Build.   Selecting this, will export a .jar file with the package content in it.   You need to use this .jar file to import the package into your project.



Filename Example:  DC-ADDriver1_0.0.2.20161201105045.jar

3.   If the package is not available and you want to recreate the package you can do so if you know what policies / GCV's were in package.   You will have to "Enable Package Developer Mode" on the Identity Vault in your project.   (Properties of the Identity Vault, Configuration, check the box next to "Enable Package Developer Mode".     Then you will have to create a Package under a Package Category, and under a Package Group.   Then add the Package to your driver.   (Properties of the driver, packages, browse and select your new package)   Then add the policies / GCV's you want to be in the new package you create.    You will need to know what policies / GCV's were in the original package if you want to match that package.   Make sure you build and save a copy of the newly created package for future use.

If you have questions on Packages and how to create and use custom packages, please refer to the Designer documentation.

Section 7.0 Developing Packages
https://www.netiq.com/documentation/idm45/designer_admin/data/packmandevelop.html