cancel
Showing results for 
Search instead for 
Did you mean: 

Meta-data pointers

teamkrusty
Champ in-the-making
Champ in-the-making
I have looked through the docs and forums and can't find any way to create a pointer between nodes of a category.  Is it possible to create a noderef in a taxonomy category ?  All I see is parent-child relationships.  Can someone give some guidance about how to create a straight-up node association in a meta-data hierarchy?  I hope this is something simple I'm just missing…
thanks,
:lol:
6 REPLIES 6

davidc
Star Contributor
Star Contributor
I'm not sure I understand what you're asking for.

What are you trying to achieve?

teamkrusty
Champ in-the-making
Champ in-the-making
We just need a simple node ref in the category taxonomy.  Kind of like the @ links in yahoo directory.  I didnt see any example of this in the documentation.  so if we have to trees like this:

environment issues
   litigation
      environmental law

and

government
   law
     @environmental law  

the @environmental law is literally a pointer to the first instance, rather than a duplicate node.

teamkrusty
Champ in-the-making
Champ in-the-making
:?:

teamkrusty
Champ in-the-making
Champ in-the-making
I can tell using this repository is going to be a real joy ride!

davidc
Star Contributor
Star Contributor
Yes, it's possible to create the structure you need.

A node within the Repository can have multiple parents.  The parent assigned when the node is created is known as the 'primary' parent.  Other parents are known as secondary.

So you can have a single category sitting under multiple categories; this means the same category is represented by multiple paths.

e.g.

/taxonomy_a  (id: 1)
  /environment issues  (id: 2)
  /litigation  (id: 3)
  /environmental_law  (id: 4)

/taxonomy_b (id: 5)
  /government (id: 6)
  /law (id: 7)
  /environmental_law (id: 4 - same category as above)

The same 'environment law' category can be represented as /taxonomy_a/environmental_law or /taxonomy_b/environmental_law.

Any node categorised as 'environmental_law' can be found via the search service with any of the above paths.

Now, this is the bad news.  The only place we currently expose 'secondary' link management is via our API - the NodeService supports an addChild method.  We do not yet expose this capability in the category management UI screen or Import.  In the mean-time the above category structure has to be setup via code.  UI/Import can handle currently handle single parent category structures.

The easier management routes (ui/import) for 'secondary' links will appear sometime next year once we have cleared our higher priority features in amongst supporting a new and growing community.

Thank you for your patience.

teamkrusty
Champ in-the-making
Champ in-the-making
:shock:   Smiley Tongue