Announcement

Collapse
No announcement yet.

Recursive Field Data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Recursive Field Data

    Take the 'DocumentFolder' entity, if I wanted to display the heirarchical path as a separate field, how could I do this?

    Consider the following made up folder tree:

    Root Folder
    Sub Folder 1
    Sub Sub Folder 1
    Sub Sub Sub Folder 1

    I would like to be able to access a `path` field as a varchar containing the following:

    Root Folder >> Sub Folder 1 >> Sub Sub Folder 1 >> Sub Sub Sub Folder 1

    Can this be achieved easily, using existing formulae?

  • #2
    I've done it in PHP by using a Hook, in the `beforeSave` function.

    Comment

    Working...
    X