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!
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.
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....
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)
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.
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.
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....
is working on a reply...