Setting Properties of Shortcut Attributes

Attributes of the Shortcut type are necessary when you want to display the value of an attribute of the referred object on a business object form or in query results. For example, if there is an Employee object that refers to the Company object via the Employer attribute and the Company object has the Name attribute, it may be necessary to display the company name on a form of the Employee object. This may be achieved by defining an attribute of the Shortcut type in the Employee object called CompanyName. The path to the referred attribute will be Employer.Name. This path is called the shortcut path. In this example it needs to be defined as the property of the CompanyName attribute. The value of the attribute referred through the shortcut path is always displayed as an un-editable label on a business object form.

note

A shortcut path may only be via a single reference – multiple references are not acceptable as it is not clear the attribute value of which particular instance of the referred object should be displayed.

note

The Shortcut type is not available for attributes owned by notifications.

The following properties specific to the Shortcut type should be specified:

This is the shortcut path explained above. It must start with the name of a single reference attribute defined in the business object followed by the name of the attribute in the referred object (note that nested references are allowed provided that all references mentioned in the path are single references). You can also press F3 to bring up the Context Assistant while typing the path.

You can specify the label that will be displayed next to the attribute value of the referred object. By default it will be the name of the attribute. You can also optionally specify the description of the attribute that will appear underneath the attribute value.

  • Last modified: 2022/09/13 18:15