Config Entity for Structures: Syntaxes and Code Generation Support¶
Custom attributes are supported for a subset of structure type payloads, so that it facilitates to enrich existing APIs. Note that the custom attributes are supported only for structure-based payloads of unbound projection actions in which structures are:
- Defined using (copying attributes) an entity
- With nestedwithcrud for Create and/or Update of Inbound messaging
- With nestedwithcrud for Read only of Outbound messaging
Once the above conditions are met, you can utilize the following annotation to annotate the entity from which custom attributes should be included in the structure within relevant payloads.
Syntax:
configentity <entity name>
Projection:
Fragment:
Outbound:
Fragment:
Validations:
Value of the configentity should be same as the value (entity name) set for using clause.