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 am using Version 8 and our Backoffice uses a lot of custom controls with their own config settings. How can I extend the Publish and Save buttons so that the settings for these controls can also be saved?
Not sure about 8, yet - but in 7 you could catch the ContentSaving event and iterate through the submitted info to save whatever else you need saved.
The editor seems to be a property editor. Ist that correct? If yes then my question is why you want to save it manually. It should save with the content itself.
That may be what I am missing. Any suggestions on how to insure the settings are saved and how to retrieve when the page is loaded?
normally you only have to make sure that the data is stored in $scope.model.value in the angular controller of your custom editor. That way ist gets picked up by umbraco when the content ist saved.
My experience with angular is limited and I don't know how to "override / inject" the proper function so that each control is validated and saved. I am able to save the settings using a process outside the framework, but thinking that would not be the best way. What do I need to do?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted