How pxIndexCount property in Index class works
Hello,
I am using Delcare Index and have questions about how pxIndexCount propery behaves. I have an ItemList page list property in a work class and optimized properties under ItemList. Declare Index is created.
When I add items from table, system inserts three records into Index table as below. pxIndexCount is unique identifier of these records within a work object. In this example, 0, 1, and 2 are assigned.
However, when I delete a record from screen, it seems all of pxIndexCount are updated and new values are re-assigned, instead of keeping the old values. 0, 1, 2 became 3 and 4 even though I deleted one row.
Hello,
I am using Delcare Index and have questions about how pxIndexCount propery behaves. I have an ItemList page list property in a work class and optimized properties under ItemList. Declare Index is created.
When I add items from table, system inserts three records into Index table as below. pxIndexCount is unique identifier of these records within a work object. In this example, 0, 1, and 2 are assigned.
However, when I delete a record from screen, it seems all of pxIndexCount are updated and new values are re-assigned, instead of keeping the old values. 0, 1, 2 became 3 and 4 even though I deleted one row.
Also, today the value starts from 0 but yesterday it was starting from 1. Why is this value changing day by day? What I want is to know the index value of the 1st row in a work object. I was expecting that the 1st row is always fixed to be 0, but it is not. Sometimes it is 0, sometimes 1, and if user maintains the table from screen it is not even 0 or 1 but higher number. How can I fix this index count number? Any OOTB approach?
Regards,