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 with Data Page source fails to load values

SA-36783

Summary



The user designed a field to use the Autocomplete control with a Data Page as its source, but the values from the Data Page do not display for the field. As a work around to this problem, the user provided a Data Page already loaded on the clipboard, but still the Data Page values do not display for the field. In addition to the unexpected results for the Autocomplete field, users see the error message.


Error Messages



Unable to get property 'parentNode' of undefined or null reference
in line -- if(Ai.parentNode.tagName=="SPAN"){Ai=Ai.parentNode}
File: pzpega_ui_template_autocompleteresults_1403335054.js!pzpega_control_autocompleteag_1236163599.js!!.js, Line: 2, Column: 9650


Steps to Reproduce

  1. Add a a section using the HTML-fragment.
  2. Design the section to use different layers, for example, data and work class.


Root Cause



An issue in the custom application code or rules whereby the custom code fails to get the correct context for the Section Include properties..

Resolution



Perform the following local-change:
Include the section directly through the Section Include properties.
For more information oin Section Include, see https://pdn.pega.com/sites/default/files/help_v722/procomhelpmain.htm#rule-/rule-html-/rule-html-section/parameters.htm

Published May 11, 2017 - 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