Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Nested Dataobject Parent?

Go to End



Community Member, 62 Posts

20 June 2011 at 9:44am

If I am using Unclecheese's DOM to access a nested Dataobject, is there a way to pick up its parent's ClassName. And since it's nested properly, is there a way to also grab it's grand-parent's ID or Classname? This is because I have A)Projects --> B)Tasks --> C)Timesheet

I also have A -> D)Issues -> Timesheet

So I want to be able to hit the "add timesheet" and have it dynamically pick up the classname of the parent and grandparent.