Extracting slot name of a slot containing a slot

Hi

I am aware that you can use $sys.currentslot.slot.name to access the name of the slot the snippet template is in. I have a slot that sits in another slot and I want the ID or name of parent slot. Is there something like $sys.parentslot.slot.name available to do this?

Thanks and best wishes

Richard

I know that you could get the parent assembly item and get the properties :


$sys.assemblyItem.getCloneParentItem().getNode().getProperty('rx:sys_contentid').String

but there may be another/easier/more supported way…