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?
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?
@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
is working on a reply...