Possible to populate XPath Dropdownlist using Multi Node Tree Picker?
My site has 11 Locations that offer various classes. Each class has an Instructor.
Here's what I want to do:
Have a master list of Instructors at the site root.
Associate each Location with Instructors that teach at that site, using a MNTP on the Location document type (or Ultimate Picker, doesn't matter) where I can select specific Instructors.
When a backoffice user creates a new class for a particular location, select an Instructor name from a dropdown list populated from the MNTP (or Ultimate Picker). The dropdown list should contain only the Instructors that teach at that site.
The MNTP is working great, and each Location has instructors assigned using this. MNTP data is saved as XML, so this should be easy, right?
Where I'm getting stuck:
On the Class document type, I have an XPath Dropdown List. I want that that dropdown list to populate from the parent Location's MNTP, but I can't figure out the right XPath string.
Is this possible? Can the XPath Dropdown List work with MNTP, or does it work only with fully formed Umbraco content nodes?
If it's lower than 7 then have a look at the Ultimate picker instead since it can be pointed to a root in the content tree and then you can choose how the values should be shown, when using the datatype on a document type.
Hope this helps - If you need further explanation please let us know :)
Possible to populate XPath Dropdownlist using Multi Node Tree Picker?
My site has 11 Locations that offer various classes. Each class has an Instructor.
Here's what I want to do:
The MNTP is working great, and each Location has instructors assigned using this. MNTP data is saved as XML, so this should be easy, right?
Where I'm getting stuck:
Is this possible? Can the XPath Dropdown List work with MNTP, or does it work only with fully formed Umbraco content nodes?
Hi Reggie
What version of Umbraco are you using?
If it's lower than 7 then have a look at the Ultimate picker instead since it can be pointed to a root in the content tree and then you can choose how the values should be shown, when using the datatype on a document type.
Hope this helps - If you need further explanation please let us know :)
/Jan
is working on a reply...