Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Apr 13, 2018 @ 20:09
    David Brendel
    0

    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

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Apr 14, 2018 @ 10:35
    David Brendel
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft