Support Article
Declare index does not work fine:Values not saved in index table
SA-32628
Summary
Declare Index does not work as expected. While saving the embedded pages, values are saved in BLOB but not in index table.
Error Messages
Not Applicable
Steps to Reproduce
- Create two data types.
- Create a Page List property in first data type, which refers the second data type.
- Optimize the Page List properties so that corresponding index class, index table will be created.
- Perform an obj-save on Page List property and commit on the first data type.
- Check the index table. It does not have index records unless pxReIndex property is set to true.
Root Cause
An instance of a page property, which is not a top level page, was saved. As the declare index is tracked at the top-level page, it will not be triggered.
Resolution
Perform the following local-change:
Save top-level page instead of the embedded page.
Published February 2, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.