Info

This section can be used to display lengthy information like descriptions, etc.

ParameterDescriptionDatatypeMax Limit
nameUnique ID for the sectionString30
layoutType of section layout - InfoString 
titleUnique title for the sectionString30
navigateNavigation status for elements in the sectionBoolean 
dataData to be included in the sectionList15
linkURL associated with   
link_hintText that is displayed on hovering over the linkString 
actionsActions that have to be performedList 
reference_idAdditional values that need to be passed to the action handler. This will be available in the target parameter of the action handler as section_reference_idString300

Data element structure:

ParameterDescriptionDatatypeMax Limit
labelUnique label for data itemsString30
valueValue of the itemString1200
name

Unique name for each action element

Note:Element name is mandatory if reference_id is available in that element or navigate is true for that element or section

String50
reference_idAdditional values that need to be passed to the action handler. This will be available in the target parameter of the action handler as element_reference_idString300

Action structure:

ParameterDescriptionDatatypeMax Limit
label Label to be shown for the buttonString30
reference_idAdditional values that need to be passed to the action handler. This will be available in the target parameter of the action handler as action_reference_idString300
name

Unique name for each element

String50

Note:

If the datatype is String then the Max Limit indicates the character limit and if the datatype is List, then it indicates the maximum number of values that can be included in the list 

 

Sample Code:


				{
        "name":"purchaseInfo",
        "title":"Item Details",
        "layout":"info",
        "navigate" : false,
        "data": [
                 {
                      "label":"Item Name",
                      "value":"Tiago Engineered Wood Four Door Wardrobe in Wenge Colour by HomeTown"
                      "reference_id" : "1"
                 },
                 {
                      "label":"Net Price",
                      "value":"$1000"
                  },
                  {
                       "label":"Status",
                       "value":"Shipped"
                   }
            ],
      "actions":[
      {
         "label":"Cancel Order",
         "name":"cancel"
      }
   ],
	"link" : "https://www.zylker.com/iteminfo",
        "link_hint" : "Click here to view item information",
        "reference_id" : "2"
}