Copied to clipboard

Flag this post as spam?

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


  • Ross Ekberg 124 posts 365 karma points
    May 02, 2022 @ 20:15
    Ross Ekberg
    0

    Custom Property Editor Prevalue Source

    I am trying to create a custome property editor. The editor is nothing more than a dropdown list, and that list comes from a table in a database. I am using the predefined "dropdown" property editor. I just don't know how to link the prevalues to a database. The connection string is already in the web.config, if that matters. I also created a prevalue source in Forms, but I don't know how to reference that either, if that's even possible.

    So again, all I am trying to do is the get prevalues set from a database. By chance, does "prevalue" have settings like "Connection String", "Table", "Key Field", "Value Field"?

    {
        propertyEditors: [
            {
                "alias": "ItemList",
                "name": "Item List",
                "editor": {
                    "view": "dropdown"
                },
                "prevalues": {
                    "fields": []
                }
            }
        ]
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft