I was trying to following this thread: http://forum.umbraco.org/yafpostst8205Getting-Ultimate-Picker-to-return-Content-Nodes-instead-of-IDs.aspx
to write an extension method.
But I am new to xslt, when I put the code to compile, visual studio don't know what is content.Instance.XmlContent.
Basically what I want to achieve is that on people page, I have an ultimate picker to list all the projects, so that editor can select with project indiviual is on.
On the project page, I want to list all the people in the project as well. So on the project template, I need to find all the people that have that project ticked in the ultimate picker.
I am thinking of following the example I found, but got stuck there. Can someone please help?
content.Instance.XmlContent is a method within the umbraco API to return the XML for the current node. You'll need to add a reference to the umbraco DLL and add a "using umbraco;" statement to your code if you wish to reference it from Visual Studio.
what is content.Instance.XmlContent?
Hi,
Sorry for this newbie question.
I was trying to following this thread: http://forum.umbraco.org/yafpostst8205Getting-Ultimate-Picker-to-return-Content-Nodes-instead-of-IDs.aspx
to write an extension method.
But I am new to xslt, when I put the code to compile, visual studio don't know what is content.Instance.XmlContent.
Basically what I want to achieve is that on people page, I have an ultimate picker to list all the projects, so that editor can select with project indiviual is on.
On the project page, I want to list all the people in the project as well. So on the project template, I need to find all the people that have that project ticked in the ultimate picker.
I am thinking of following the example I found, but got stuck there. Can someone please help?
Many Thanks
Jerry
content.Instance.XmlContent is a method within the umbraco API to return the XML for the current node. You'll need to add a reference to the umbraco DLL and add a "using umbraco;" statement to your code if you wish to reference it from Visual Studio.
See http://www.umbraco.org/apiDocs/html/PropertiesTumbraco_content.htm
actually it returns the full xml for all nodes
Hi,
Just a minor addition to Robert's post:"actually it returns the full xml for all 'published' nodes"</span>
Cheers,</span>
is working on a reply...