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
    0

    urlReplacing Config as Package Actions

    Hi

    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?

    Thanks

    Ben


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

    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
    0

    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?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies