Create document type that populates one of its property from existing content
Hello guys,
I am relatively new to Umbraco and encountered problem that I couldn't find solution for in documentation.
Let me describe what I am trying to do briefly:
I have doc type "Case", and doc type "Employee".
I want my doc type "Case" to have property that upon creating content, allows user to choose from existing employees. Idea is that on each case I have several employees that were working on it.
You have two options, the first is a content picker. This is a standard editor which will let you pick a SINGLE content node (employee).
Your other option is to use the Multi Url Picker package. This will let you pick a number of different content nodes (employees) to attach to your Case.
You could create a new data-type with the built-in Multi-node tree picker and have this configured to allow picking of Employee nodes.
You could also use an Xml picker from nuPickers (Prefetch, Typeahead or Checkbox) and configure it in a similar manner - just depends on type of picker UI you'd prefer.
Just to add, I wouldn't suggest the Content Picker, or Multi Url Picker as whilst you can set a start node for the content picker, neither can be restricted to only pick nodes of type 'Employee'.
Create document type that populates one of its property from existing content
Hello guys,
I am relatively new to Umbraco and encountered problem that I couldn't find solution for in documentation.
Let me describe what I am trying to do briefly:
I have doc type "Case", and doc type "Employee".
I want my doc type "Case" to have property that upon creating content, allows user to choose from existing employees. Idea is that on each case I have several employees that were working on it.
Is there any ideas how can I achieve this?
Thanks
Hi Sandro, and welcome.
You have two options, the first is a content picker. This is a standard editor which will let you pick a SINGLE content node (employee).
Your other option is to use the Multi Url Picker package. This will let you pick a number of different content nodes (employees) to attach to your Case.
Regards,
Tim
Hi Sandro,
You could create a new data-type with the built-in Multi-node tree picker and have this configured to allow picking of Employee nodes.
You could also use an Xml picker from nuPickers (Prefetch, Typeahead or Checkbox) and configure it in a similar manner - just depends on type of picker UI you'd prefer.
Just to add, I wouldn't suggest the Content Picker, or Multi Url Picker as whilst you can set a start node for the content picker, neither can be restricted to only pick nodes of type 'Employee'.
HTH, Hendy
Hi Tim, Hendy,
Many thanks for your help. Multi-node tree picker did that for me.
Regards, Sandro
is working on a reply...