Jump to:

5539 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Nested Dataobject Parent?

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

Page: 1
Go to End
Author Topic: 460 Views
  • Graphicator
    Community Member
    62 Posts

    Nested Dataobject Parent? Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.