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 use umbraco 7.8.1. I has some editor property to show in web and i want to change and save back to that property
Hi Natt
Are you talking about custom property editor?
You have to assign data to model.value - and that's it, data will be stored when user press save button.
/Alex
Hi Alex
Thx a lot. Now my problem is i want to update field. So, I used " .Update " and it's not work.It's can not really save.
Do you want to update field value with property value editor?
Hi Alex Now I used follow below picture. I can Update success.But i can't save new record and program hasn't error.So sorry for my question.I'm junior Umbraco Dev.
Use insert for new items:
var id = DbHelper.CurrentDb().Insert(item);
Thx, Alex " .Insert(item) " i used but not work too.Now i use " INSERT INTO ... " . It's work so much.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Can i save value editor to DB
I use umbraco 7.8.1. I has some editor property to show in web and i want to change and save back to that property
Hi Natt
Are you talking about custom property editor?
You have to assign data to model.value - and that's it, data will be stored when user press save button.
/Alex
Hi Alex
Hi Natt
Do you want to update field value with property value editor?
/Alex
Hi Alex Now I used follow below picture. I can Update success.But i can't save new record and program hasn't error.So sorry for my question.I'm junior Umbraco Dev.
Hi Natt
Use insert for new items:
Thx, Alex " .Insert(item) " i used but not work too.Now i use " INSERT INTO ... " . It's work so much.
is working on a reply...