Copied to clipboard

Flag this post as spam?

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


  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 09, 2013 @ 23:48
    Lee Kelleher
    0

    Package action to set defaultRenderingEngine

    Does any one know of a package action to set the value of `defaultRenderingEngine` (in `config\umbracoSettings.config`)?

    I'd like to be able to set the value to "Mvc" for a package I am working on.

    If one doesn't exist, then I'm happy to develop one - or even better - to collab on it!

    Thanks, Lee.

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Jan 10, 2013 @ 08:45
    Richard Soeteman
    1

    Hi Lee,

    Use SetAttributeValue Package action of Package Action Contrib . Check 1.0.7 Documentation.

    Cheers,

    Richard

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 10, 2013 @ 11:37
    Lee Kelleher
    0

    Hi Richard,

    I thought "SetAttributeValue" was for updating attribute values? (not the element/text value of a node)

    Another thought would be to use a combination of "RemoveXmlFragment" and "AddXmlFragment"? (Seems overkill)

    Cheers, Lee.

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Jan 10, 2013 @ 11:48
    Richard Soeteman
    0

    Hi Lee,

    Ah ok, thought it was an Attribute.. Now you see how many Implementations I do lately, but it should be very easy to create a SetElementValue Package action based on this. Will see if I have the time tonight or during the weekend...

    Cheers,

    Richard

     

Please Sign in or register to post replies

Write your reply to:

Draft