Support Article
Section is unable to resolve properties
SA-9047
Summary
You have a section that references properties which were moved from one class to another. The section rule was checked in and executes successfully at runtime. When you try to open the section rule in Designer Studio, you get errors indicating the section is unable to find the properties.
Error Messages
Unable to open instance MyCo-FW-DATA!PROP1- Possible causes may be (1) Rule may no longer exist. (2) Availability of the rule may be set to No/Draft, Blocked or Withdrawn. (3) Circumstance of the rule may be preventing access. (4) Current date is not within the date range specified in the rule.
Steps to Reproduce
- Create properties in one class (MyCo-FW-Data).
- Move those properties to MyCo.
- Create a section in MyCo-FW-Data that references the properties in MyCo.
- Check in the new section.
- Attempt to open the section in Designer Studio.
Root Cause
The root cause of this problem is incorrect data in the rule XML for the section. The pyPageListPropertyClass properties were referencing the incorrect class.
Resolution
This issue is resolved by writing an activity to correct the XML data for the rule.
Here are the activity steps for this instance.
Step 1: Obj-Open-by-Handle using pzInsKey of corrupted rule
Step 2: Property-Set to set pyPageListPropertyClass to blank
* .pySections(1).pySectionBody(1).pyPageListPropertyClass
* .pySections(1).pySectionBody(1).pyTable.pyRows(1).pyCells(1).pySections(1).pySectionBody(1).pyPageListPropertyClass
* .pySections(1).pySectionBody(1).pyTable.pyRows(1).pyCells(1).pySections(1).pySectionBody(1).pyTable.pyRows(1).pyCells(1).pySections(1).pySectionBody(1).pyPageListPropertyClass
Step 3: Obj-Save with write now checked so the changes are committed
Step 4: Page-Remove of myPage
Published January 31, 2016 - 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.