preValues with mutliview stored data in database with json format.
I have created Custom Package for New Datatype of checkbox list with prevalues.
"prevalues": {
"fields": [
{
"label": "Enable something",
"description": "This is a describtion",
"key": "items",
"view": "multivalues" (it will allow user to add multiple prevalues)
}
]
}
But This prevalues stored in Database as a JSON format. I want to store as individual record.
eg. I have add two categories Public, Staff.
So it will be stored in a single record with JSON format.
id datatypeNodeId value sortorder alias
2483 337 [{"value": "Public"},{"value": "Staff"}] 1 items
I want to be stored in database like
id datatypeNodeId value sortorder alias
2485 338 Public 0 items
2486 339 Staff 1 items.
preValues with mutliview stored data in database with json format.
I have created Custom Package for New Datatype of checkbox list with prevalues.
"prevalues": { "fields": [ { "label": "Enable something", "description": "This is a describtion", "key": "items", "view": "multivalues" (it will allow user to add multiple prevalues) } ] } But This prevalues stored in Database as a JSON format. I want to store as individual record. eg. I have add two categories Public, Staff. So it will be stored in a single record with JSON format. id datatypeNodeId value sortorder alias 2483 337 [{"value": "Public"},{"value": "Staff"}] 1 items I want to be stored in database like id datatypeNodeId value sortorder alias 2485 338 Public 0 items 2486 339 Staff 1 items.
is working on a reply...