I'm trying to get the number of partitions, and the partition ID for each partition within a list. I can get the number of partitions using
content(getvarnode(node("Tools/GlobalLists/ItemList1", model()), "partitions"));
but I can't find how to get the partition ID for each partition.