This can be used to create an automatic numbering system for your content.
(prop("Parent") ? prop("Parent").at(0).prop("Outline") + "." + prop("Order") : prop("Order")) .upper()/* Check if 'Parent' has a value */ (prop("Parent") /* If it does, display the parent's 'Outline' value */ ? prop("Parent").at(0).prop("Outline") /* ... then output a period followed by the value of 'Order' */ + "." + prop("Order") /* Otherwise, simply display the value of 'Order' */ : prop("Order")) /* Convert the result to uppercase */ .upper()
(prop("Parent") ? prop("Parent").at(0).prop("Outline") + "." + prop("Order") : prop("Order")) .upper()
/* Check if 'Parent' has a value */ (prop("Parent") /* If it does, display the parent's 'Outline' value */ ? prop("Parent").at(0).prop("Outline") /* ... then output a period followed by the value of 'Order' */ + "." + prop("Order") /* Otherwise, simply display the value of 'Order' */ : prop("Order")) /* Convert the result to uppercase */ .upper()