Question

6
Replies
2889
Views
Dyan Baur (DyanG412)
Hawaii Medical Service Association

Hawaii Medical Service Association
US
DyanG412 Member since 2013 212 posts
Hawaii Medical Service Association
Posted: February 27, 2017
Last activity: August 26, 2020
Posted: 27 Feb 2017 7:09 EST
Last activity: 26 Aug 2020 8:41 EDT
Closed
Solved

Post Load Processing Activity of a data page (list) cannot commit the changes in a property

I have an editable mode data page (list) that retrieves a list of records. I used a post load processing activity where I looped over the list of pages from the data page (list) used child rows of activity to get a lock via Obj-Refresh-And-Lock, then used the methods Property-Set, Obj-Save, and Commit. However, the Obj-Save fails: The tracer indicates that it Cannot save a page because it is read-only. I have made sure the Data Page (list) mode editable. I still got the ‘Cannot save a page because it is read-only’.
Steps to reproduce:
1) Create a Data Page (List) with an editable mode
2) Source the Data Page from a Report Definition
3) Include required properties including the pzInsKey in the Report Definition
4) Use Post Load Processing Activity to Iterate over the list of records (D_PageList.pxResults)
5) Use child steps: Obj-Open-By-Handle, Property-Set, Obj-Save and Commit
6) Run Data Page, trace it.

Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.