Activation code validity time specifies the maximum time in which the created activation code must be used on target computer. Available activation code validity settings are configured to ServiceDesk\ActivationCodeValidityTimes.xml file located on the Centero Carillon portal web site.
Items root element
XML file contains Items element where you can specify following settings:
- Autoselect: Setting value to 'false' prevents any item to be automatically selected and therefore user needs select the desired item. If value is 'true' or not specified the item will be automatically selected following these rules:
- If only one item available to user, it will be automatically selected
- If multiple items available to user and one the items has 'Selected' set to 'true', it will be automatically selected
- If multiple items available to user and no item with 'Selected' set to 'true' is available, first item will be automatically selected
Item elements
Item elements represents the available items. You can specify following settings to item elements:
- Value: Actual value when item is selected. Value specifies the activation code validity time in hours. Allowed values are 1 to 72. (required)
- Visible: Setting value to 'false' hides the item. Value can be 'true' (default if nothing specified) or 'false' (optional)
- Selected: Setting value to 'true' automatically selects the item following the rules described in 'Items root element' chapter. (optional)
- Text inside the item element: Specifies the item text shown to user (required)
Example ActivationCodeValidityTimes.xml file:
<?xml version="1.0" encoding="utf-8" ?>
<Items Autoselect="true">
<Item Value="1" Visible="true" Selected="true">1 hour</Item>
<Item Value="2" Visible="true">2 hours</Item>
<Item Value="3" Visible="true">3 hours</Item>
<Item Value="4" Visible="true">4 hours</Item>
<Item Value="6" Visible="true">6 hours</Item>
<Item Value="8" Visible="true">8 hours</Item>
<Item Value="10" Visible="true">10 hours</Item>
<Item Value="12" Visible="true">12 hours</Item>
<Item Value="18" Visible="true">18 hours</Item>
<Item Value="24" Visible="true">24 hours</Item>
</Items>