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 have an Umbraco v7 package which will add some doc types, a data type and some content when you install it. Is there a way for it to do all of this if it is installed via NuGet?
you can call the Packaging Service Install Functions - if you have the XML for the doctypes, etc in your package, you can then load these and pass them to the individual functions to install everything for you.
or you can go full on, include uSync.Core and call the usync functions to do the installing for you :) - thats how the LocalGov Starter kit does it.
(historically the packaging service was bad at media not sure if it still is).
That's cool, thanks Kevin. Can I use it to call a custom Package Action which is in the dll of the project?
yeah you should be able to.
what i've done is have the kit install then the post install page invited the user to install the example content, but i don't think there is anything stopping you having it hapeen in an action.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted