Question
3
Replies
2133
Views
Stratosphere Technical Consulting
Posted: September 29, 2016
Last activity: November 30, 2016
Help with pzInsKey
I have two questions with respect to pzInsKey.
I am using an Obj-Browse in an activity. I have left the defaults of Get Row Key checked and have not altered the pzInsKey default key name.
When I view the pxResults on the clipboard, I also went to Actions --> Show XML. I do not see the key.
How can I see the key and what is the proper way to reference it from each pxResults item ? (i.e. is it PageName.pxResults(<CURRENT>).pzInsKey ? )
Thanks
hi,
is the class that you are retrieving the results is "External Class".If so it will not have the pzInskey itself in the table.
If the class is internal then you should be able to get the pzInskey
From help-
Select to include the primary key in the set of property values returned. Clear to exclude the primary key. (Selected by default.)
This field is required if GetRowKey, above, is selected. Otherwise, leave blank unless the class in the ObjClass parameter corresponds to an external table.
Enter the name of a property in the external table, or an expression involving one or more property names, that specifies the unique key of rows of the external table.
[btw have you tried mentioning pzInsKey in the SelectField?]
For second question answer is YES.