Fast Fields

The purpose of a Fast Field is to reduce the amount of scripting that might be required in configuring a solution.

The following objects or controls currently have Fast Fields:

  • Reference Label
  • Chart Control
  • Lookup
  • Trigger

Note: The Click to enable Script IDE must be un-checked. Double-click the control as indicated in the following figures. Only previously, saved values will be displayed when you click the Script button in the left, bottom corner.

How to use a Reference Label Fast Field

xmd_ff_ReferenceLabelFastField

  1. Click Processes
  2. Click the relevant Process Group. This will open up all the existing Processes associated to this Process Group in the Work Area, for example, Engineering Change Request.
  3. (Not shown) Double-click the control, for example, Raise Engineering Change Request Activity.
  4. Click Designer
  5. Click Toolbox.
  6. Ensure that the Click to enable Script IDE check box is not selected.
  7. Drag the Reference Label in your Toolbox into the Work Area.
  8. On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.

Note: If you did not save your changes, you will receive the message,Please save before editing the controls.

  1. Double-click the new Reference Label in the Work Area.

The Fast Field Wizard will be displayed as shown in the following figures.

Configure a Previous Activity

This procedure describes how to configure a Previous Activity for a Reference Label.

xmd_ff_ReferenceLabelFastField_FastFieldWizard

  1. Select the Previous Activity value radio button.
  2. Select the Behaviour OnLoad  or OnRefresh check box.
  3. Select the Expand All check box.
  4. Select a Reference Label from the Process Details.
  5. Type a value in the Display a previous object’s value text field.
  6. Click Save.
  7. (Not shown) On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.

Configure a Current User

This procedure describes how to configure a Current User for a Reference Label.

xmd_ff_ReferenceLabelFastField_ConfigureCurrentUser

  1. Select the Current User value radio button.
  2. Select the Behaviour OnLoad or OnRefresh check box.
  3. Select a radio button to Display the current user’s (Full Name, User Name, Email, Metadata, Role Description, or Role ID).

Note: For the Metadata option, click the drop-down and select one of the available options.

  1. Click Save.
  2. (Not shown) On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.

Configure a Report Link

This procedure describes how to configure a Report Link for a Reference Label.

xmd_ff_ReferenceLabelFastField_ConfigureReportLink

  1. Select the Report Link value radio button.
  2. Select the Behaviour OnLoad  or OnRefresh check box.
  3. Type a Report Name, Width, and Height.
  4. Select the Connection.
  5. Click Save.
  6. (Not shown) On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.

Configure an Inline HTML

This procedure describes how to configure an Inline HTML code for a Reference Label.

xmd_ff_ReferenceLabelFastField_ConfigureInlineHTML

  1. Select the Inline HTML value radio button.
  2. Select the Behaviour OnLoad  or OnRefresh check box.
  3. Type an HTML Code in the HTML Code text box.
  4. Click Save.
  5. (Not shown) On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.

Configure a Date Time

This procedure describes how to configure a Data Time for a Reference Label.

xmd_ff_ReferenceLabelFastField_ConfigureDateTime

  1. Select the Date Time value radio button.
  2. Select the Behaviour OnLoad  or OnRefresh check box.
  3. Select either Display Current Date or Display Current Date with below mask.
  4. If you selected Display Current Date with below mask, use the Format specifier as shown in the previous figure.
  5. Click Save.
  6. (Not shown) On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.

Configure a Custom Setting

This procedure describes how to configure a Custom Setting for a Reference Label.

xmd_ff_ReferenceLabelFastField_ConfigureCustomSetting

  1. Select the Custom Setting value radio button.
  2. Select the Behaviour OnLoad  or OnRefresh check box.
  3. Select a Custom Settings.
  4. Click Save.
  5. (Not shown) On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.

How to use a Chart Control Fast Field

  1. (Not shown) Drag the Chart Control in your Toolbox into the Work Area.
  2. (Not shown) On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.
  3. (Not shown) Double-click the new Chart Control in the Work Area.

The Fast Field Wizard will be displayed as shown in the following figure.

xmd_ff_ReferenceLabelFastField_ChartControlFastField

  1. Click the relevant Behavior check box – OnLoad or OnRefresh.
  2. Select the relevant database. In this example, XMDB was selected.
  3. Click the relevant XMConnect statement to execute. The statement will be displayed.
  4. Click Save.

How to use a Lookup Fast Field

  1. Drag the Lookup Control in your Toolbox into the Work Area.
  2. On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.
  3. Double-click the new Lookup Control in the Work Area.

The Fast Field Wizard will be displayed as shown in the following figure.

xmd_ff_ReferenceLabelFastField_LookupFastField

  1. Click the relevant Behavior check box – OnLoad or OnRefresh.
  2. Select the relevant database. In this example, XMDB was selected.
  3. Select the Statement to execute from the XMConnect window. The statement will be displayed.
  4. Click Save.

How to use a Trigger Fast Field

  1. Drag the Command Option in your Toolbox into the Work Area.
  2. On the ribbon, click the File tab then click Save or press CTRL+S to save your changes.
  3. Double-click the new Command Option control in the Work Area.

The Fast Field Wizard will be displayed as shown in the following figure.

xmd_ff_ReferenceLabelFastField_TriggerFastField_CommandOption

  1. Select the Wait for last check box, if required.
  2. Select the Name, DueDate, ActivationDate, and Role drop-down options to provide values for as indicated in the previous figure.
  3. Click Save.

The Script button in the left bottom corner will display any previously saved script.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X