Widgets are user interfaces that can be built as a part of SalesIQ's platform to display actionable data from multiple integrations.
- A section is a structure in a widget that can have a title, data & actions.
- Actions are buttons in the section that when clicked invoke the action handler with the object along with other parameters.
- Each widget can have up to 5 sections. The different types of sections are:
- Metric
- Fieldset
- Listing
- Info
- Empty Section
- Profile
Let us consider a real time example before we jump into the details. Say, we have to display information about a customer who has made multiple purchases from a furniture store.
This section can be used if there is no data that has to be displayed in the section.
This section can be used to display lengthy information like descriptions of items that have been purchased from the store - say, the name of the time, the price, shipment status, etc.
This section can be used to display a list of records like the list of items that have been purchased by the same customer in the past.
This section can be used to display short information/values like name, email, payment dates, intervals, etc.
- The Metric Section can be used to display statistics. It has a title and a data space with a maximum of 3 entities.
- Navigation can be set for all the elements in the section, by specifying navigate: true in the section level or add the attribute in the element in the section.
- The reference_id can be set for all navigable elements, which will be passed to the action handler to know which element was accessed to navigate.
As the name denotes, it is an exclusive layout to display the profile of a company or a person who has made the purchase.
Regards,
Michelle