Class sap.ca.ui.CustomerControlListItemModule: sap/ca/ui/CustomerControlListItem
Extends the ObjectListItem to display a line in the customer context control.
Deprecated API:Since version 1.24.3. This control is not required anymore as per central UX requirements. Please use Contextual Filter design instead! This control will not be supported anymore.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- showSalesArea : boolean (default: false)
- customerID : string (default: 'CustomerID')
- customerName : string (default: 'CustomerName')
- salesOrganizationName : string (default: 'SalesOrganizationName')
- distributionChannelName : string (default: 'DistributionChannelName')
- divisionName : string (default: 'DivisionName')
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.m.CustomListItem can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.24.3. This control is not required anymore as per central UX requirements. Please use Contextual Filter design instead! This control will not be supported anymore.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
customerID
. The ID of the customer Default value is CustomerID
{string} | the value of property customerID |
customerName
. The name of the customer Default value is CustomerName
{string} | the value of property customerName |
distributionChannelName
. The distribution channel name Default value is DistributionChannelName
{string} | the value of property distributionChannelName |
divisionName
. The division name Default value is DivisionName
{string} | the value of property divisionName |
salesOrganizationName
. The sales organization name Default value is SalesOrganizationName
{string} | the value of property salesOrganizationName |
showSalesArea
. Display or not the customers sales area as well as its name and id. Default value is false
{boolean} | the value of property showSalesArea |
customerID
. Default value is CustomerID
{string} | sCustomerID | new value for property customerID |
{sap.ca.ui.CustomerControlListItem} | this to allow method chaining |
customerName
. Default value is CustomerName
{string} | sCustomerName | new value for property customerName |
{sap.ca.ui.CustomerControlListItem} | this to allow method chaining |
distributionChannelName
. Default value is DistributionChannelName
{string} | sDistributionChannelName | new value for property distributionChannelName |
{sap.ca.ui.CustomerControlListItem} | this to allow method chaining |
divisionName
. Default value is DivisionName
{string} | sDivisionName | new value for property divisionName |
{sap.ca.ui.CustomerControlListItem} | this to allow method chaining |
salesOrganizationName
. Default value is SalesOrganizationName
{string} | sSalesOrganizationName | new value for property salesOrganizationName |
{sap.ca.ui.CustomerControlListItem} | this to allow method chaining |
showSalesArea
. Default value is false
{boolean} | bShowSalesArea | new value for property showSalesArea |
{sap.ca.ui.CustomerControlListItem} | this to allow method chaining |