Mar 26, 2014 at 9:19 PM
Edited Mar 26, 2014 at 9:19 PM
I have an address part, which seems to work correctly when I add it to a content item I made called adressesItem. Address item is creatable from UI, so I can make a new one and hit saves and it is saved into the table that my addressrecord should make.
So it seems like my part works. What I want to do is use the content item as input for end users on the front end and i seem to be missing something. Here is my controller.
I can display the content item programmatically
public ActionResult Create()
var contentItem = _contentManager.New("adressesItem");
dynamic model = _contentManager.BuildEditor(contentItem);
return new ShapeResult(this, model);
This gives me the text fields and save button I like on the backend. But does not save the data like it does on the backend. What I need to do is get the data to save and redirect. So examples or help about using content items as forms for databases on the
front it would be really helpful.