Copied to clipboard

Flag this post as spam?

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


  • Erlich Bachman 5 posts 95 karma points
    Jun 12, 2019 @ 14:25
    Erlich Bachman
    0

    nuPickers Json Dropdown Picker

    Can someone please explain some properties of Json Dropdown Picker little more? i didn't find info in documentation


    Property: URL

    Description: URL to the source JSON, can use the token @contextId anywhere in the url

    Question: This is url for the JSON file, i know, But what is "@contextId"? Can URL be defined dynamically? E.G: there are two pages with json dropdown picker and id 1234 and 2345 respectively. Can URL be for one page /json/1234/data.json and /json/2345/data.json for the other? (dynamically declared URL)


    Property: JSONPath

    Description: All matched objects are used to build editor data items

    Question: The same question; Can JSONPath be relied on node's id where it's used? can it be declared dynamically?

  • Erlich Bachman 5 posts 95 karma points
    Jun 20, 2019 @ 11:07
    Erlich Bachman
    0

    T_T

  • Erlich Bachman 5 posts 95 karma points
    Jun 27, 2019 @ 08:47
    Erlich Bachman
    100

    @contextId should actually be id of the page that data type is used on

    I've used nuPickers DotNet dropdown picker instead

    https://github.com/uComponents/nuPickers/wiki/Property-Editor-DotNet-DropDown-Picker

    You have to inherit class of IDotNetDataSource and define GetEditorDataItems method to provide data source

    GetEditorDataItems method has contextId parameter, which works correct with nested types

Please Sign in or register to post replies

Write your reply to:

Draft