Post Pic

Update Application Tree Package Action for Umbraco

I have recently been working on another package for the Umbraco CMS. During the course of packaging the extension I hit a problem with the existing package actions that were available via the core and the PackageActionContrib project.  You can easily add an Application Tree but none of them could successfully update an existing Application Tree during the uninstall process. As my package action modified an existing application tree in order to add a custom menu item I needed to write a new package action that could do this at install and then revert it during the uninstall process.

You can download the Update Application Tree Package Action and with a bit of luck this issue can be addressed at some point in the future or my package action can be submitted to the PackageActionContrib project for consideration. Make sure you drop the dll into your bin folder before you need to use the action.

Example package action usage:

<action runat="uninstall" undo="false" alias="UpdateAppTree" treeAlias="media" treeHandlerAssembly="umbraco" treeHandlerType="loadMedia" />

Related Posts

  1. Media Sorter for Umbraco
  2. Umbraco v4 Upgrade Problem with Plesk Hosting
  3. Umbraco Package Notifications List
  4. Converting a Visual Studio Class Library Project to a Web Application Project
  5. Umbraco : Locate nearest node with specific property

Related posts brought to you by Yet Another Related Posts Plugin.

3 Responses

08.23.09

Thanks for sharing the package action, it would be good if you can submit it to the Package Action Contrib project so that it can become part of that and hopefully they can all become part of the core at some point.

08.23.09

Thanks for the comment Chris. I have submitted a patch to the project administrators to hopefully include in the next release. If anyone would like it in the meantime you can download the patch here: http://packageactioncontrib.codeplex.com/SourceControl/PatchList.aspx

[...] working on this project because I learnt a bit more about Umbraco Package Actions and found some limitations with the currently available Package Actions. As a result of the limitations I developed my own [...]

Leave Your Response

* Name, Email, Comment are Required
SagePay Approved Partner
Microsoft WebsiteSpark

My Productivity