Copied to clipboard

Flag this post as spam?

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


  • nickornotto 402 posts 905 karma points
    Sep 12, 2018 @ 18:25
    nickornotto
    0

    Different value for Content picker and custom Content picker problem

    I am using examine search and the content I'm searching for has a property of type Content Picker.

    When the property is of type of built-in Content picker then the value written to the database is the picked content id.

    When the property is of type derived from Content picker - for example I created a custom picker to start from another node - then the value written to the database is the reference to the key:

    "umb://document/9ed382fdc55b483f9919f33fbb4cbd4bt"
    

    I am using examine search to find nodes by content picker value and this is causing a big problem because neither I can look by content id or the key, eg. searching for a string $"umb://document/{key}" does not find anything.

    Can anyone explain why built-in Content picker and and custom Content picker behaves differently in this case? They still pick the same type of nodes don't they?

Please Sign in or register to post replies

Write your reply to:

Draft