Copied to clipboard

Flag this post as spam?

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


  • Gavin Faux 15 posts 158 karma points
    Jun 24, 2020 @ 15:08
    Gavin Faux
    0

    Multinode Tree Picker - Pre Values

    Hi,

    How does one retrieve a list of pre-values from a Multi-Node picker configured to use start node XPath / filter?

    I can get configuration via:

    var picker = dataTypeService.GetDataType(new Guid("e0b2f7e7-etc-etc"));
    var list = picker.Editor.GetConfigurationEditor().ToValueEditor(picker.Configuration)
    

    list returns the configuration of the editor, but how to retrieve actual content values?

    list

    Should we be parsing the config and then executing a query ourselves or am I missing some info that's already in place?

    We would like to output the values on the front end as part of a form field select options (MVC, not Umbraco forms)

    Thanks in advance,

Please Sign in or register to post replies

Write your reply to:

Draft