Setting up datatype prevalues from content node names?
Hi,
Is there any way to add automated prevalues to a current datatype based on the names of content nodes?
For example you have a job datatype and in the content area of umbraco you have a Job content node with a child node called Teacher, and the datatype has a single prevalue of just Teacher. When I then create a new child node in job called Doctor, the doctype will automatically update to have prevalues Doctor and Teacher.Vice versa if you delete the content nodes
Is there a way of accessing a datatype programatically through .net and gaining access to the prevalues? I thinking of writing a document class programatically that puts the node name into the prevalues
one way to do this would be with the Multi-Node Tree Picker. you could create a MNTP Content picker pointing you tour Job Content node,
then the editor will see the following
Programatically you would only have a Content ID in the content, but you can use that to get the title of the content, or indeed any of the contents of that content node.
Setting up datatype prevalues from content node names?
Hi,
Is there any way to add automated prevalues to a current datatype based on the names of content nodes?
For example you have a job datatype and in the content area of umbraco you have a Job content node with a child node called Teacher, and the datatype has a single prevalue of just Teacher. When I then create a new child node in job called Doctor, the doctype will automatically update to have prevalues Doctor and Teacher.Vice versa if you delete the content nodes
Is this possible?
Is there a way of accessing a datatype programatically through .net and gaining access to the prevalues? I thinking of writing a document class programatically that puts the node name into the prevalues
one way to do this would be with the Multi-Node Tree Picker. you could create a MNTP Content picker pointing you tour Job Content node,
then the editor will see the following
Programatically you would only have a Content ID in the content, but you can use that to get the title of the content, or indeed any of the contents of that content node.
Thank you so much
is working on a reply...