We have moved to GitHub Issues
Created by Murray Roke 11 Nov 2015, 20:56:07 Updated by Piotr Wegner 07 Nov 2016, 21:29:14
The convention for creating something with the service api is like so:
the macro service should be the same, like so:
but no such method exists.
Note, that I do not see ANY way to create macros using the new API, so this should fix that too. See here for what was tried: https://our.umbraco.org/forum/developers/api-questions/72828-create-macro-programatically
Umbraco.Core.Models.Macro was made public in 7.3.0. You give the
IMacro and use the
Save method to save it.
The duplicate part of this issue is only incidental, the main part of this request is to create a consistent API for creation.
@claus PR has been created: https://github.com/umbraco/Umbraco-CMS/pull/1587
Type: Feature (request)
Backwards Compatible: True
Affected versions: 7.2.8
Due in version: