I'm not sure on the javascript (although it sounds like you might have to write a custom function), but I'd be interested to know how you got the content picker to work with a custom tree, as its something I'll be looking at in an upcoming project.......
Need return value from custom tree using ContentPicker control
I have a custom tree that stores a string value (non-numeric) in nodeId for each node.
Nodes are NOT built from database records
I have the a tree displaying in a dialog activated from an umbraco.controls.ContentPicker .
The problem: ContentPicker default javascript expects a numeric value and attempts to find a content or media node in the database.
I need to return the nodeid value only from my tree and not attempt a lookup in the database.
Any thoughts?
I'm not sure on the javascript (although it sounds like you might have to write a custom function), but I'd be interested to know how you got the content picker to work with a custom tree, as its something I'll be looking at in an upcoming project.......
:P
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.