Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to extend multinode picker by providing startNodeId dynamically based on a current node when a user creates a content.
For example: If an user creates a content inside "Section 1 news / News Folder", a multinode picker will have a startNodeId of "Section 1 News/news category list".
Same goes if an user creates a content inside "Section 2 news/News Folder", the user can select only a news category from "/Section 2 news/News category list/" e.g. "b1,b2,b3".
It is very easy to extend treepicker using " : PropertyEditor" so I donnot need to rewrite angular stuff for the view.
Is there any way to change id= "-1" (line 45) dynamically?
Yep. you can.
Have a look at this class from the Hybrid Framework. Jeroen uses this to set the start node of the media picker.
I have looked into the source code from "Hybrid Framework". It was easy. :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted