I have created a content type named 'ContainerObject' with part 'Container', and created few content item of that type.
Now I use the 'Container Widget' to add a widget into zone, and I have to select which content item (that have 'Container' part - here are my items above) to be shown.
So, when Displaying, the container widget will show that content item, and I would like to know how to get the id of that content item in order to add to a HTML attribute. I have checked the code of ContainerWidgetPart and ContainablePart but I was not able
to get ContainerId.
I also want to know how to get the Container Id of a Containable part item. I have a widget that with 'ContainablePart' and I need to get that id out.
Can you guys tell me how I can do that ?
Many many thanks for your help.