Copied to clipboard

Flag this post as spam?

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

  • kalpesh 7 posts 77 karma points
    Aug 07, 2018 @ 14:52

    prevalues of custom datatype stored in database as JSON format.

    I have created a custom editor and use prevalues in that but when I create a new datatype it will store the data in JSON format. Here is my package.manifest file code.

    { propertyEditors: [ { alias: "categorycheckbox", name: "Category Checkbox", isParameterEditor: true, editor: { view: "~/App_Plugins/CategoryCheckbox/View/categorycheckbox.editor.html",
    }, "prevalues": { "fields": [ { "label": "Enable something", "description": "This is a describtion", "key": "items", "view": "multivalues" } ] } } ],

        javascript: [


    Should i have to change package.manifest file to stored individual record.

  • David Brendel 792 posts 2968 karma points MVP 2x c-trib
    Aug 07, 2018 @ 18:57
    David Brendel

    Hi Kalpesh,

    by default Umbraco stores data from editors as json. There are some other types you can use like int, string and text.

    Have a look at the documentation.

    Regards David

Please Sign in or register to post replies

Write your reply to: