Displays the properties of a partner in a details box.
In case this widget is placed ina Customer dashboard, you can enable the partner assignment.
The Assign button is present only if there is no partner assigned to the customer, and once pressed, the user must enter the partner code that was provided through a different channel (e.g., while signing the technical support contract). In this way, the customer cannot self-assign to the wrong partner.
Template Syntax
Below you can find some examples of how to use the component within a template.
<partner-details-widget title="Partner Info">
<property name="name"></property>
<property name="code"></property>
<property name="properties.vatNumber"></property>
<property.....></property>
</partner-details-widget>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Partner Details <partner-details-widget> | |
---|---|
PROPERTIES | |
Collapse / Expand | The flag indicating whether the widget is collaspible. true false
|
Column Span | The number of columns the widget must span its sub-elements (default 1). |
CSS Class | The name(s) of the CSS class used to customize the widget layout. |
Layout | The layout used to display properties in the widget:
TABLE ALTERNATE_ROWS
|
Partner Assignment Enabled | If enabled, the widget allows client users to select and assign a partner by code. true false
|
Title | The title displayed on the top part of the widget box. |
Visibility Condition | The expression that allows you to reduce the visibility of the element. |
SUB-ELEMENTS | |
Property | The property whose label and current value must be rendered as a widget row. |
Composite Part | The widget part combining multiple properties. <property name="name"></property> <property name="country"></property> </composite-part> |
Widget Title | Compose the widget title by using properties. <property name="name"></property> <property name="connectionStatus" filter="connectionStatus"></property> </widget-title> |
Property <property> | |
---|---|
PROPERTIES | |
Description | The property description. |
Filter | The name of the filter used to transform and display values. |
Label | The property alternative label. |
Name | The property whose value must be loaded by the widget. |
Show Label | The flag indicated whether the label is visible. true false
|
Visibility Condition | The expression that allows you to reduce the visibility of the element. |
Composite Part <composite-part> | |||||
---|---|---|---|---|---|
PROPERTIES | |||||
Description | The composite-part description. | ||||
Filter | The filter applied on the composite-part to transform or display its value. | ||||
Label | The label displayed by the widget. | ||||
Name | The composite-part name. | ||||
Show Label | The flag indicated whether the label is visible. true false
| ||||
Visibility Condition | The expression that allows you to reduce the visibility of the element. | ||||
SUB-ELEMENTS | |||||
Property | The property whose value must be loaded within the composite-part.
|
Widget Title <widget-title> | |||||||
---|---|---|---|---|---|---|---|
PROPERTIES | |||||||
Filter | The filter applied on the composite-part to transform or display its value. | ||||||
SUB-ELEMENTS | |||||||
Property | The property whose value must be loaded within the composite-part.
|