Design > Using and Displaying Data > Selecting and Displaying Objects
  

Selecting and Displaying Objects

Within a step, you may want your users to select one or more object. You can display this information in a variety of ways:
Note: If you are just displaying one object, you can display the object's fields as a one-row, multi-column table.
By default, Guide Designer displays a search dialog box when users are searching for information for fields that can be updateable. You can override the default and tell Guide Designer to display object information using either a picklist or table. Picklists and tables are populated using a query that filters the possible objects down to just those that should be presented. For example, Guide Designer could show only the contacts that are associated with an account.
You can customize the fields being shown for each object. If only one field from these objects is displayed, Guide Designer shows this information as a list. However, if you are displaying more than one (for example, a lead's first and last name), Guide Designer shows each within its own column in a table.
Note: Object queries are not available when the field you are updating can reference more than one type of object (that is, the Reference To control within the Field Properties dialog includes multiple object types). If this is your situation (that is, you cannot use a regular query), you must select and use an advanced query.

Inserting Fields Using Picklists

There are many places where you add or use field names.
This image shows the Edit Screen dialog box. There are two sections: Fields and Sceen. When you add a field, it appears in the screen section.
When a user runs a guide, Process Designer replaces the field with the value within the object. For example, if an Account Type field was inserted and the Account Type is "Grade 1", users will see "Grade 1" instead of the field name when they are running the guide.
Three kinds of lists exist in steps:
Click the "..." button to see a field properties dialog. For more information, see Introduction to Data Types and Field Properties.

Autogenerated Fields

A field can be virtual; that is, the object has a field that is actually a composite key or a composite field. When Guide Designer displays the name of this virtual and autogenerated field, it displays it as "Object_name" + "_IID".

Inserting Fields in Tables

When you insert a field into a step, clicking on the field's name in a picklist inserts a label and a text field into which the field information will display. If you are inserting more than one field, the step can be hard to read and does not look good. Placing the elements within a table can solve both of these problems.
Here's an example:
This image shows the Edit Screen dialog box of a Screen step. There is a table with four fields in the Fields section.
When handling fields in a table:

Entering Fields as Text

You can enter text and the value of a field as the information you type in text boxes such as the one in the following.
To specify a field value, choose Content as the Source and then click the small icon to the right of the text box. From the list of fields that displays, select the field you want to enter. If you know the name of the field, you can also type it in the text box as {$name_of_field}.
This example shows the values of four fields from the current object as the Content for the Description field.
This imgae shows the properties section of a Create Step. The Input Fields tab is selected. The Description field is assigned a Content.
You can add other text to display with the field values. For example, you could specify:
The name is: {$name}

Displaying Columns

Use the Display Fields field to tell Guide Designer which of the object's fields it should display in a table. If the field can be updated, each row also has either a radio button if users can only select one object or a checkbox if they can select more than one.
Use the Add Field Column button to add columns. You can use the arrow buttons to the right of the name to change the order. If you do not want to use the default column heading, enter the text you prefer.
Here's a four column table:
The three check boxes are as follows:
Note: When an ID field is included in a result from a Lookup dialog, the ID's value displays.