How can I copy entire pxResults to Page List in one step
Hello,
I think this is a beginner question. I simply want to copy the entire list from tempPage.pxResults to MyList (Page List property in Work class). Please assume pxResults and MyList are the same class. I usually loop over tempPage.pxResults and do Property-Set all the elements, shown as below.
I do not want to append list to MyList as it may get double, so I also remove MyList property before the loop step. However I am feeling this code is very inefficient and I am wondering if it is possible to just want MyList to be overwritten by tempPage.pxResults in a single step. I tried Page-Copy from tempPage.pxResults to MyList but it did not let me save. Is such thing possible? I do not need to loop...
Regards,