Copied to clipboard

Flag this post as spam?

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


  • Marc Love (uSkinned.net) 445 posts 1787 karma points
    Oct 26, 2015 @ 13:18
    Marc Love (uSkinned.net)
    0

    Setting start node with MultiNode TreePicker

    I am trying to set the start node for a MultiNode TreePicker using XSLT.

    I have a blog landing page (alias = 'BlogLandingPage') with a property (alias = 'blogCategoryFolder') using the content picker to define a folder containing nodes used to define the blog categories that can be picked.

    I want the MultiNode TreePicker to start at the category folder that has been selected on the BlogLandingPage using the content picker.

    My XSLT is:

    $current/ancestor-or-self::BlogLandingPage/blogCategoryFolder

    My blog posts use the MultiNode TreePicker to select the categories available. When I access a blog post in the content tree I get the following error:

    failed to retrieve entity data for query $current/ancestor-or-self::BlogLandingPage/blogCategoryFolder

    Object reference not set to an instance of an object.

    I would expect the XSLT I have used to return the id of the blog category folder.

    Is my XSLT wrong or is it just the case that start node of the MultiNode TreePicker cannot be defined in this way?

Please Sign in or register to post replies

Write your reply to:

Draft