Adding a field to a view overlay
Fields such as table, enum, and menu require that you perform additional steps before you can customize their display properties. For instructions, see Customizing-table-enum-and-menu-display.
To add a field to a view overlay by using the context-menu on the form
If the field is part of the view, add the field to the view overlay by using the field's context-menu on the form.
- Open Developer Studio in Best Practice Customization mode.
For more information on the modes in Developer Studio, see Changing-the-development-mode. - Open the form containing the field that you want to add to the view overlay.
- Right-click the field that you want to add to the view overlay.
In the context-menu that appears, click Add Field to View Overlay.
If the field is not part of a view overlay, the Add Field to View Overlay menu item is disabled.
To add a field to view overlay by using the context-menu in the Outline view
If the field is not part of the view, add it to the view overlay by using the field's context-menu in the Outline view.
- Open Developer Studio in Best Practice Customization mode.
For more information, see Changing-the-development-mode. - Open the form containing the field that you want to add to a view overlay.
- Open the Outline view of the form.
- Right-click the field that you want to add to the view overlay.
- In the context-menu that appears, click Add Field to View Overlay.
- Choose one of the following options that are displayed on the screen:
- Add to view overlay of current view only — Adds the field only to the overlay of current view. If the current view does not have an overlay, Developer Studio creates a view overlay of the current view and then adds the field to the view overlay.
- Add to view overlay of all views containing this field — Adds the field to view overlay of all the views that have the selected field. If the views do not have an overlay, Developer Studio creates a view overlay of each view and adds the field to the multiple views.
- Select the appropriate option and click OK.
Developer Studio takes one of the following actions based on your selection:- If the form overlay does not exist and you choose to add a field to view the overlay, Developer Studio prompts you to create an overlay of the form and also the view that the field exists in. Click OK to overlay the form and the view. You can choose to add the field to current or multiple views.
- If the form overlay exists but view overlay does not exist, Developer Studio prompts you for approval to perform the necessary steps. After you click OK, Developer Studio creates the view overlay and adds the field to the view overlay.
- If the selected field exists on multiple views of the form, Developer Studio prompts you for approval (see following figure) to add the field to the current view only or to all views that contain the field.
Add field to multiple views
After you have added the field to the view overlay, click File > Save to save the changes.
You can now change the form layout and the field's display properties.You cannot undo the creation of the form overlay, but you can undo the creation of field and view overlays.
To add fields that are not associated with a view, click Show Fields Not in Any View in the Outline tab.