The ticket definition contains a number of default ticket items. You can also create and configure custom items. For each custom item, you must define the item type. The new items are added to the ticket definition. The workspaces [Product items] and [Order items] show all available items.
The ticket items used in a product can be configured exclusively for that product in the workspace [Products]. The ticket items used in a view can be configured exclusively for that view.
You cannot change the item name or item type after you create the item.
Additional actions |
Description |
---|---|
Sort the items |
|
Delete an item |
You can delete ticket items from the [Product items] and the [Order items].
|
Select the workspace where you want to create the new item: [Product items] or [Order items].
Click [Add].
Define the item name. You can use the characters: 'a. - z.', 'A. - Z.', '0. - 9.', '_' . Spaces are not allowed. The name must be unique.
The item name must not exceed 128 characters. The accounting information cannot be collected if the job ticket definition contains an item with a name longer than 128 characters.
Define the item type.
Define the [Captions]. The caption is the displayed name of the item.
You can use the characters: 'a. - z.', 'A. - Z.', '0. - 9.', '_' . Spaces are allowed for the caption.
The default language for the item is displayed in the top of section [Captions]. You can define a caption for each language. See procedure Manage the languages if you want to add or remove a language for an item.
Define the tooltip for the item.
You can define the tooltip in the text field on the right. The text field for the tooltip is coloured yellow. You can define a tooltip for each language.
Define the [Configuration].
In this dialogue, you define the values for the item. The values for the item are available in the ticket definition.
It is recommended that you assign a neutral default value to the item: None, No, 0, False, [empty string].
Item type |
Description |
|
---|---|---|
[Number] |
[Number] items are items that allow the user to enter a numeric value.
|
|
[Yes/No] |
[Yes/No] items are items that allow the user to enable or disable an item. You can define the default value for the item. A checkmark in the checkbox means that the default value is 'Yes'. An empty checkbox means that the default value is 'No'. You can define custom captions for the 'Yes' and 'No' values. For example, 'True' and 'False'. For each caption, you can define the tooltip in the text field on the right. The text field for the tooltip is coloured yellow. ['Undefined' caption:] Option [Default value] is overruled when you define a caption for this option. The user must always select a value for this item. No default value is offered to the user. |
|
[Text] |
[Text] items are items that allow the user to type text. Text items can be single-line or multiple lines. An item like [Remarks] is typically a multiple lines item. You can type a text that is displayed as the default string in the job ticket. If the user is allowed to edit the text item, the user can change the default string. You can specify the maximum number of characters that the user can enter. You can define a mask for the text. The mask is compared to the entered text. When the pattern matches, the text is valid. The mask must be a regex (regular expression). ![]() To inform the user about the mask, you can put information about the mask in the tooltip of the item. |
|
[Date] |
[Date] items are items that allow the user to enter a date. The option [The default date is today plus offset:] allows you to define when an action must be performed. The action is related to the job. When you enter '0' today's date is displayed when the item is used. When you enter another number, that number is added to today's date. The resulting date is displayed, but the user can change the date. The syntax of notation [1.00:00:00] means [days.hours:minutes:seconds]. The maximum values for the first and the last valid date relative to the default date are 4700 days. For example, for item [Delivery date] the following values are defined:
The job is submitted on Thursday, June 15. The default delivery date becomes Monday, June 19. The job is allowed to be delivered at the earliest on Thursday, June 15. And at the latest on Friday, June 23. ![]() All seven days of the week are used to calculate the first and last valid date relative to the default date. Option [Allowed days:] is not used in the calculation. You can select which days of the week are allowed for the new item of type [Date]. |
|
[Choice] |
[Choice] items are items that allow the user to select an option from a drop-down list. Click the '+' icon to add a new option to the choice item.
Click the pencil icon to edit an option. The icon appears when you hover the mouse pointer over an option. You cannot change the option name of an existing option. Use the 'Up' and 'Down' buttons to change the order of choice items. Select the default option for the choice item from the drop-down list. ![]() All visual ticket items are choice items. You cannot add or remove choices for most of the visual ticket items. Only for NewCoverMedia and Media you can change the available choice items. Select edit or import the media catalogue (Import the media catalogue). |
|
[Lookup] item using an ODBC driver |
Ticket items of type "Lookup" using an ODBC driver use a query to read information from a data source. You can add that information to an order.
![]() The first 999 values returned by the query are available in the drop-down list. |
|
[Lookup] item for an LDAP server |
Ticket items of type "Lookup" for an LDAP server retrieve data of a user from an LDAP server. You can add that information to an order. You can find an example of a lookup item for an LDAP server below this table.
|
Enable option [Log item] if the item must be visible in the log file.
Click [Save].
Click the [Publish] icon in the tab of workspace [Product & order editor] or [Web shop editor].
Publishing the changes to the PRISMAdirect server could take some time. The status bar indicates the progress.
The LDAP server contains the following users: u1, u2, u3, u4, u5. These users have access to the following cost centres:
u1: c1, c2, c3
u2: c4
u3: c2, c4
u4: c1, c3
u5: <none>
The cost centres are stored in the [LDAP attribute] "CostCentres".
[Selection criteria]: $OnBehalfUserId$, $UserId$, u2
You are logged in as "u1" and you submit a job on behalf of "u3". The lookup item returns: c2, c4.
You are logged in as "u1" and you submit a job on behalf of "u5". The value for the CostCenters attribute is empty for "u5", so the selection criteria then evaluate the next value. The next value is the logged in user "u1". The lookup item returns: c1, c2, c3.
You are not logged in as an LDAP user and you submit a job on behalf of "u5". The value for the CostCenters attribute is empty for both users, so the selection criteria then evaluate the next value. The next value is user "u2". The lookup item returns: c4.
When the selection criteria cannot find a valid user, the selection criteria return the default value of the lookup item as defined in "Other".