I'm currently playing with ISearchableTree for a custom section. My problem is that my tree displays different node "types" which have also different edit urls.
My problem is now that I return search results for both types of nodes and all of them are having the same edit url.
Also the path property seems not to be used as I tried to set it.
ISearchableTree with multiple node types
Hi,
I'm currently playing with ISearchableTree for a custom section. My problem is that my tree displays different node "types" which have also different edit urls.
My problem is now that I return search results for both types of nodes and all of them are having the same edit url.
Also the path property seems not to be used as I tried to set it.
Anyone has done something like this before?
Regards David
Ok found it myself.
There is the
[SearchableTree()]
-Attribute which lets you define an angular service and a method which is called to format the search result.With that you can change the
editorPath
property of the search result to fit your custom url.Regards David
is working on a reply...