Question
Approach to loop SiebelList Control in Pega Robotics.
Hi ,
I am looking for a Method or property to loop Siebellist control. We have methods like siebelList.getCellvalue but they take column and row number as a parameter which requires hard-coding. In my case the values I am trying to fetch are not constant with row and column , they are dynamic. Therefore I want to loop over siebelList control and evaluate for match row and column before retriving.
Please let me know if anyone has approach and appreciate your time.
Thanks,
Suresh
You can find the correct column from the heading by using Siebel.GetColumnFromHeading. This returns a column number. The property Siebel.DisplayRows returns the number of rows in the display and Siebel.Rows returns the total number of rows in the table. With these values you should be able to do an inner forloop to iterate through each page and an outer forloop to iterate through the pages.