Hi Harsh,
To manage the ordering, consider using an Integer attribute for the order number and a String attribute for the item name.
When retrieving the list, apply sorting based on the OrderNumber to ensure correct display in a List View or Data Grid.
For moving an item up or down:
-1
for moving up, +1
for moving down`).Example:
Before Moving Up:
L1 → 1
L2 → 2
L3 → 3
After Moving Up (L2 moves up):
L2 → 1
L1 → 2
L3 → 3
Let me know if you need further details.
Best Regards,
Guna P
I think you need "Read/Write" access rights for the attribute OrderNumber for the applicable role.
After that Sort the list on OrderNumber.