Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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: [ "~/App_Plugins/CategoryCheckbox/Js/CategoryCheckbox.controller.js" ]
}
Should i have to change package.manifest file to stored individual record.
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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" } ] } } ],
}
Should i have to change package.manifest file to stored individual record.
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
is working on a reply...