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

Autocomplete control not setting extra properties

SA-9439

Summary



You have an autocomplete control in a modified Case Manager Portal (OpenPortal thread). In addition to setting the property associated with the control, you try to set additional property values from the report definition used as the list source of the control. The control is only setting the property associated with the control and not the others.

Error Messages



Not Applicable

Steps to Reproduce

  1. Put an autocomplete control in the Case Manager portal.
  2. Use a report definition as the list source of the autocomplete
  3. In addition to setting the property associated with the control, set several additional properties as well
  4. Test to confirm the autocomplete controll is not setting additional properties.

Root Cause



By default there is no onchange event configured for the autocomplete control. At runtime only selecting a value from the drop down will set the properties. After submit it will set the properties.

Resolution



This issue is resolved through the following local change: You need to add an onchange event to refresh the parent section. This will result in the additional values being submitted and as a result properties will be set.
Note: Don't use the onchange post value event because post value only works with editable fields and also it will block the refresh section submit action. As a result only the associated property will get set and not the additional properties.

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

91% 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