Skip to main content

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.

Support Article

The contents of a multi-list do not display after saving it

SA-52675

Summary



The contents of a multi-list do not display after saving it.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Configure a multiselect control with a data page as a source in a section
  2. Create a local action and reference the multiselect control as a section
  3. Select the options from the multiselect control during runtime
  4. Click Save
  5. Run the local action. The multiselect control does not render


Root Cause



New controls like multiselect, timeline, slider etcetera are supported only in Template mode. In local action, the section with the case, renders in non-Template mode.


Resolution

Perform the following local-change:

Add the below snippet in UserWorkForm (HTML fragment):


<script>
var multiSelectHook = function (){
$(".container-multiselect").each(function( index ) {
var caseActionArea = $(this).closest("[node_name='pyCaseActionArea']");
var attr = caseActionArea.attr('data-template');
if (!(typeof attr !== typeof undefined && attr !== false)) {
caseActionArea.attr('data-template','');
}
});
};
pega.u.d.attachOnload(multiSelectHook, true);
</script>


Published March 19, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us