Format a Business Object Caption
This lesson explains how to format a caption of a business object’s detail form.
Note
Before you proceed, take a moment to review the following lessons:
- Inherit from the Business Class Library Class (XPO/EF core)
- Place an Action in a Different Location
Step-by-Step Instructions
- Open the Model.DesignedDiffs.xafml file in the MySolution.Module project to invoke the Model Editor.
- In the Model Editor, navigate to the BOModel | MySolution.Module.BusinessObjects node. Select the Contact node.
Set the ObjectCaptionFormat property value to
{0:FullName} from the {0:Department}
in the class properties shown on the right.Run the application. Open a detail form for a Contact object. The following image shows the caption:
Next Lesson
See Also