I'm probably over complicating this in my head, but for the life of me I can't seem to figure out what should be at face value something very easy!
I have a Block List that I've added document types (well element types) to for selection and I would like the "label" to use the value of a custom property if it has been populated and if not, to display the name of the document type. The conditional logic is very straight forward, but I can't seem to find the property that would give me access to the document type name?
In Nested Content you would do $name, but that doesn't seem to work with the Block List. Does anyone know what the correct property name is? I can't seem to access anything that isn't a custom field besides the $index property.
Document Type name in Block List
Hi,
I'm probably over complicating this in my head, but for the life of me I can't seem to figure out what should be at face value something very easy!
I have a Block List that I've added document types (well element types) to for selection and I would like the "label" to use the value of a custom property if it has been populated and if not, to display the name of the document type. The conditional logic is very straight forward, but I can't seem to find the property that would give me access to the document type name?
In Nested Content you would do $name, but that doesn't seem to work with the Block List. Does anyone know what the correct property name is? I can't seem to access anything that isn't a custom field besides the $index property.
Thanks,
Simon
is working on a reply...