Skip to content

Commit

Permalink
OpenUI5 Documentation Update 08.08.2023
Browse files Browse the repository at this point in the history
  • Loading branch information
openui5bot committed Aug 8, 2023
1 parent 2be352c commit 81637a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/Property_Metadata_Binding_f5aa4bb.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ The binding must then know the metadata part of the binding expression. The path
var myLabel = new sap.m.Label({text:"{/#Company/CompanyName/@sap:label}"});
```

To use the absolute binding for a property that doesn't occur in an EntityType of the default model, the reference to the correct model defined in the manifest can be added as a prefix. If you’re not adding the model, the framework will tell you in the development console that the mentioned Entity is not present. Defining the target model can be done by adding `myModel>` in the beginning of the binding string.
Example:
```js
var myLabel = new sap.m.Label({text:"{myModel>/#Company/CompanyName/@sap:label}"});
```
- Relative Binding
A relative binding path can be resolved relative to a data path/context.
Expand Down
Binary file modified docs/css/BusinessSuiteInAppSymbols.woff
Binary file not shown.

0 comments on commit 81637a3

Please sign in to comment.