Attribute DTP

Defines an attribute from the application to which the custom template belongs.

For example, assume you create a design-time prompt to enter the size of a product. In this case, you could select a "Size" dimension. You could also enter a default value if desired; for example, "Large". If you select Prompt It?, then when the template is used, the user is prompted to enter an attribute member (in this example, a dimension size).

To create an Attribute design-time prompt:

  1. In the Template Designer, open an existing template or create a new template.
  2. On the Design Time Prompt tab, click Add button.
  3. If you already have design-time prompts defined for the template, select where to enter the new design-time prompt.
  4. In the Create Prompt dialog box, on the Properties tab, do the following:

    • Enter a Name and select Attribute as the Type.
    • Select the desired options:
      • Prompt It?—Select this option to allow the DTP to be used in a step. The DTP is shown in the template steps that prompt users for input when the template is used in a rule, or when a script template is launched in Planning.

      • Mandatory?—Select this option to make it mandatory to enter data for the design-time prompt.

      • Read Only—Select this option to make it so that users can only read the prompt.

      • Is Hidden—Select this option to hide the design-time prompt from the user. In Planning, on the Business Rules tab in form design, add the rule with the template or script template to the form. In the Business Rules Properties pane, select Hide Prompt, and then select Use Members on Form.

    • In DTP Text, enter the text that you want users to see when they are prompted for input.

      If you select Prompt It?, then DTP Text is required.

    • Optional. In Comments, enter a comment about the DTP.
    • In Dimension, select an attribute dimension.

      The Dimension drop-down displays the attributes from the current application. If you do not select a dimension, when you are prompted for input, you will see all the attribute dimensions.

    • Optional. In Default Value, assign a default value for the DTP.

      To assign a default value, click Select button, then select Member, and then select a member in the Member Selector.

      The attribute dimension selected in the Dimension drop-down is displayed. Expand this dimension to display the available members.