Top
Top
LibraryEASYProcess Reference ManualProcessesServicesHtmlWorkshopGetSectionProperties

GetSectionProperties Overview

The GetSectionProperties service is used to get the value of any property from any section that is on the webpart canvas. This is useful because it gives you access to section property values in a process canvas and you can develop logic based off of these property values. Especially in the case where a property value is being set dynamically by a datasource.


GetSectionProperties Use Examples
Workshop:HtmlWorkshop
Service:GetSectionProperties
Inputs
SectionsThis is the container node that contains all the section property nodes. It does not access any input, but you can Right-Click to add new section properties (Section #0, Section #1, etc.).

SectionThe section is a container node which accepts no input, but represents a single entity object you are retrieving.

SectionIdThis is where you enter the section Id of the section that you want to get a property value from.

PropertyNameThis is where you enter the property name of the property that you would like to see the value of.

GetSectionProperties Use Example

In this example, we are going to look at the Items in Cart section on the Checkout page. In this section we display the items that are in the cart.

The section that the cart  is displayed in is collapsable, which means that the user can select the section description/plus icon to toggle the section to collapse or select the section description/minus icon be displayed.

In this section, we have an onload process that is getting the section property of Collapse At Start. The section is set to be collapsed at the start depending on how many items are in the cart. If the Collapse At Start property is set to true, then we update the description of the section to say Items In Cart - Expand. This way it is clear to the user that they can select the icon to view the cart.

In the logs below, you can see that GetSectionProperties returned a value of Yes for the CollapseAtStart property. This causes the “Collapse At Start ?” binary decision will return a value of true.

Therefore, we update the section description to Items In Cart - Expand. This tells the user that clicking the button will expand this section.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).