This content has been archived and is no longer being maintained.

Table of Contents

Article

getSection: Public JS API for control actions

getSection

Async API to get a section's markup.

Syntax

pega.api.ui.actions.getSection(sectionName, contextPage, callback);

Parameters

This API accepts a JavaScript object which can have the following key-values:

  • sectionName: String name of the section whose markup is desired.
  • contextPage: String reference to the clipboard page the section would be rendered with.
  • callback: Function to be called with the resulting markup.

Return value

Returns the HTML markup of the section when rendered with the supplied clipboard page reference.

Published April 25, 2017 — Updated April 28, 2017


50% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.