Copied to clipboard

Flag this post as spam?

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


  • Rubinho 30 posts 218 karma points
    Jan 15, 2014 @ 23:33
    Rubinho
    0

    Xpath Dropdownlist and uComponents Xpath Autcomplete do not show unpublished content

    Hi,

    The XPath Dropdownlist and uComponents Xpath Autocomplete datatypes are only showing published content as listoptions.

    Is there any possibility to include unpublished content?

    My Xpath expression is very easy: //Company

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Jan 15, 2014 @ 23:44
    Hendy Racher
    0

    Hi Rubinho,

    Unfortunately not, as the XML data source only contains the published nodes.

     

  • Rubinho 30 posts 218 karma points
    Jan 16, 2014 @ 08:53
    Rubinho
    102

    Thanks Hendy,

    I already feared this, but could solve it by using the uComponents SQL Dropdown and uComponents SQL Autocomplete.

    If anyone, needs my SQL to filter out all Nodes by doctype, here it is:

    SELECT N.id As Value, N.text As Text FROM cmsContent AS C INNER JOIN cmsContentType AS CT ON C.contentType = CT.nodeId INNER JOIN umbracoNode AS N ON C.nodeId = N.id WHERE CT.alias = 'Company' ORDER BY N.text

Please Sign in or register to post replies

Write your reply to:

Draft