The descriptor for components contains a subset of the attributes in the descriptor for applications
Attributes in the sap.app namespace
Attribute |
Comment |
---|---|
|
Mandatory |
|
With value |
|
Optional attribute: A URL string to the properties file that contains the text symbols for the descriptor; the URL is interpreted relative to the |
|
Mandatory, for example, |
|
Mandatory |
|
|
|
|
|
|
|
|
|
|
|
Mandatory; must have value |
|
|
|
Attributes in the sap.ui namespace
Attribute |
Comment |
---|---|
|
With value |
|
|
|
Attributes in the sap.ui5 namespace
Attribute |
Comment |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes in the sap.mobile namespace
Attribute |
Comment |
---|---|
|
SAPUI5 determines the library name by analyzing the component namespace (package) up to the part where the segment starts with a capitalized letter. If the library name that has been determined, does not fit your component, an additional library attribute needs to be filled in the component metadata in Component.js
to specify the library your component belongs to.
Example:
sap.ui.core.UIComponent.extend("com.sap.fancylibrary.sub.CompLib.Component", {
metadata : {
"manifest" : "json",
"library" : "com.sap.fancylibrary",
...
}