Skip to main content
Skip table of contents

Temporary cards - Manage option to decide how long the temporary card shall be valid

This article describes how to manage the option to decide how long the temporary card shall be valid in the use cases Assign temporary card and Extend temporary card in the Add-on Temporary cards package. A script in Identity Manager Admin is used to manage the options.

See a list of all available options in the Smart ID use cases for the Virtual smart card package here: Temporary cards - Options

Prerequisites

Prerequisites

-

Step-by-step instruction for the administrator

Log in to Identity Manager Admin
  1. Log in to Identity Manager Admin as Administrator.
Manage the option to decide how long the temporary card shall be valid
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script TempCardsScriptOptions.
  3. In the script, go to the TempCardsValidityDays variable, see the example. By default it is set to 14, which means that the temporary card is valid for 14 days.

    Example:

    /*
    Defines the amount of days the temporary card will be valid.
    Should match the validity date period of the certificates if present.
    Possible options: 
     * 14(default) - The temporary card will be valid for 14 days after assignment.
    */
    TempCardsValidityDays = 14
  4. To change the validity, add an other number for TempCardsValidityDays.

    The validity time for the temporary card must match the validity date period for the certificates, if present.

  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).

Technical details

Default value and outcome
ValueOutcome
14 (default)The temporary card is valid for 14 days
Other valueThe validity of the temporary card is set to this value, see also the note above
The manage options script

Related information

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.