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 3945 posts 15163 karma points MVP 10x 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 3875 posts 12037 karma points MVP
    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 3945 posts 15163 karma points MVP 10x 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 3875 posts 12037 karma points MVP
    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

     

  • 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