Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

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

Links may not function; however, this content may be relevant to outdated versions of the product.

getSection: Public JS API for control actions

Updated on April 28, 2017

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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us