Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • kevind 4 posts 20 karma points
    Feb 12, 2009 @ 04:47
    kevind
    0

    Getting Miscellaneous Content Node by ID

    I'm trying to create associations between multiple sections, but having trouble getting the appropriate data to display.

    For example, I have the following Document types: Client, Service

    A Client can have many services. So I used the Ultimate picker to select multiple services for a client. It returns a comma delimited list of nodeId's in the xml...

    I've tried using and such with no luck. As you can see I hard coded a nodeId and still got no result. I just want to list the service name and link on the clients page... Any help with this would be greatly appreciated. Thanks!

    (I am using umbraco v 4.0.0)

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Feb 12, 2009 @ 10:59
    Dan Diplo
    0

    Just a thought, but have you tried it without /node ie:
    [code]

    [/code]
    I'm just making a guess that it may already incorporate the /node in the library function.

  • kevind 4 posts 20 karma points
    Feb 13, 2009 @ 03:16
    kevind
    0

    That doesn't work either...The work-around I ended up doing was to just create a .Net control macro which queried the database to get the data I needed. Not the solution I would have preferred.

  • kevind 4 posts 20 karma points
    Feb 13, 2009 @ 05:02
    kevind
    0

    I feel like an idiot now. I spent a good deal of today creating .Net controls and writing tons of sql just to be able to get the XML I needed to create relationships between these pages. Even then, I could only template the results in .Net and not xslt....

    Anyway, what I failed to realize is you can create a contentTree macro parameter and just pass the nodeId of the xml you need....

Please Sign in or register to post replies

Write your reply to:

Draft