Discussion

pxResults a Page list or a Property??

Hi guys,
I faced this issue multiple occassions where I was using pxResults property in functions like getlistindex and the like. Pega is throwing an error saying the method cannot be applied to a Property. How come this is the case where pxResults is a page list property. Recently, I got this error when I am applying obj-sort method on pxResults list, where Pega is complaining:
"The method getProperty(String) in the type ClipboardPage is not applicable for the arguments (ClipboardPage)"

Can someone throw some light onto this one??

Thanks,
Arjun.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

December 6, 2010 - 9:55am

Are you using Single value property under pxResults page trying to sort the listed results ?

December 6, 2010 - 10:08am

No, I want to sort the pages in pxResults list.

quote:


Originally posted by NAGARAK1

Are you using Single value property under pxResults page trying to sort the listed results ?

December 10, 2013 - 2:11am

pxResults of Code-Pega-list page cannot be sorted as its a virtual page list. Copy the page-list onto another page and then sort again.

 

Also you will not be able to add embedded properties (Page-Group/Page-List) to the pxResults page.

August 7, 2014 - 5:33am

I got the same error (on a page that is not pxResults). It turned-out it was because I didn't specify a step page but instead put the full path in the PageListProperty parameter.

 

Once I removed the page reference from the parameter and moved it to the step page the problem went away.