Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Ben McKean 272 posts 549 karma points
    Mar 21, 2012 @ 11:08
    Ben McKean

    urlReplacing Config as Package Actions


    This is for Umbraco 4.7*

    Like many companies we have a base package for all of our websites which creates some standard settings, doc types, templates etc.

    Does anybody know if you can set the urlReplacing settings as a Package Action?

    I want to be able to add/edit items in umbracoSettings.config in the settings/requestHandler/urlReplacing section. These look like this:

    <char org="&quot;"></char>
    char org="'"></char>
    char org=""></char>
    char org=""></char>
    char org=""></char>

    Can somebody confirm whether this is possible or not?



  • Lee Kelleher 4016 posts 15789 karma points MVP 13x admin c-trib
    Mar 21, 2012 @ 11:37
    Lee Kelleher

    Hi Ben,

    The Package Actions Contrib wiki, has one called "AddXmlFragment", you should be able to use that one.

    Cheers, Lee.

  • Rodion Novoselov 694 posts 859 karma points
    Mar 22, 2012 @ 18:45
    Rodion Novoselov

    Though it's feasible through custom actions, actually I realised that there was some inconvenience that made custom actions half useless - it seems that a custom action itself should be installed before the package that uses it and with consecutive recycling the application. I would be very happy to be wrong but I haven't managed to install a hand-made action along with a package itself after all. Is this a real limitation of them or I just missed something?

Please Sign in or register to post replies

Write your reply to: