Import bulk entitlements in workspace
You can import multiple entitlements at one go in the Software Asset Workspace.
Before you begin
Role required: sam_user or sam_admin
About this task
The entitlement import records are stored in the Entitlement import [samp_bulk_import] table. The Publisher part number, Product, and Publisher columns in the Entitlement import [samp_bulk_import] table offer drop-down lists for value selection.
You can leverage the Activity center in the Software asset overview landing page to view import errors and the import status.
Procedure
- Navigate to All > Software asset > Software Asset Workspace.
-
Select Create entitlement.
- In the Create new entitlement dialog box, select Import multiple entitlements from an Excel file and select Next.
-
In the Create New Entitlement Import page, select Download template to download a spreadsheet template (.xlsx).
You can add software entitlement fields to the template to include additional fields in your import. Add each field as a new column in the template. The column name must match the field label exactly. Besides the Publisher, Product, Version, Edition, Platform and Language, the Install condition name column is also taken into account to find the correct software model while importing entitlements.
You can include base system software entitlement fields as well as your custom software entitlement fields. Custom choice columns (where the type is Choice) created in the Asset [alm_asset] or Software Entitlement [alm_license] table are also supported.
Note:By default, the Unit cost column in the spreadsheet takes into account the currency that your system is set to. However you can manually change the currency and the Software Asset Management application will honor the currency that you specify. To specify a currency, enter the currency code followed by a semicolon and the cost. For example, EUR;200. Valid currency codes are the ones listed in the Currency [fix_currency] table and have the Active column set to true.In the spreadsheet template, if the Publisher Part Number column doesn't have a value or the value is invalid and the Publisher and Product columns have valid values, then during the import process, a software model is automatically created. The source type entitlement_import gets stamped to the automatically created software model. The system property com.snc.samp.smcreation_on_entitlement_import is used to control the software model creation on entitlement import. If you don't want the automatic creation of software models during the import process, you can set this property to false.
-
Enter the entitlement details in the template and select Attach File to upload the spreadsheet.
Once the file is uploaded, the name of the file appears and the Description field is automatically populated. You can change the description to make it more specific.
-
Select Import.
An import record is created that retains the history of the upload for you to view later.
A confirmation message appears informing you that the import of entitlements is in progress. Once the import record is processed, the Status field displays one of the following values: Completed, Completed with errors, or Failed.
-
Select the link in the confirmation message to check the status of the record.
The License operations view appears displaying the entitlement record in the Entitlement Import page
- Open the entitlement record to view its details.
-
Click the Entitlements tab to view the list of
entitlements that got successfully created.
Note:The Entitlements tab only appears if the Status field displays the values, Completed, or Completed with errors.
-
If any errors occur and the status says Completed with
errors, click Review import errors.
The Review entitlement import errors page opens containing two tabs:
- Import errors: displays records whose error status is Needs review.
- Relate entitlements: lists entitlements, such as maintenance entitlements, that are in the build state and can be linked to the base entitlements.
-
Select the import error record to view the errors.
If an import error record doesn't have a software model but the Publisher and Product fields have valid values, then on selecting Import, a software model is automatically created and the status of the record changes to Manually fixed.
For a detailed description of the entitlement import error fields, see Entitlement import error fields -
Correct the errors and select Import.
The entitlement is successfully created. Further processing of the entitlement continues such as validation of downgrade models for the entitlement. For more information on resolving errors, see Entitlement import error actions.