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

Declare index ignored on data class

SA-65974

Summary



A data type is mapped to an internal table that has an embedded page list which must be exposed for reporting. However, the system does not consider the declare index created on this data class.
Without this declare index, custom code must be written to expose this data.



Error Messages



Not Applicable


Steps to Reproduce

  1. Create a data class.
  2. Use the list property on this class.
  3. Optimize one of the properties in the list.
  4. Create a page of this data class and use it in the work.
  5. Create a case. Declare index is not triggered.

Root Cause



An issue in the custom application code or rules.


Resolution



Here’s the explanation for the reported behavior:

According to the corresponding Help page,
 
Apply to Select a concrete or abstract class that defines the scope of the indexes. At runtime, a clipboard page of this class must be a top-level page. Concrete objects in classes derived from this class are candidates for indexing under this rule.

For more information, refer to: https://community1.pega.com/sites/pdn.pega.com/files/help_v74/procomhelpmain.htm#rule-/rule-declare-/rule-declare-index/new.htm

Since the top level page does not have the declare index, optimize for reporting from the work class.

Published October 10, 2018 - Updated December 2, 2021

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