Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
Hi Lee,
Use SetAttributeValue Package action of Package Action Contrib . Check 1.0.7 Documentation.
Cheers,
Richard
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.
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...
is working on a reply...
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.
Continue discussion
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.
Hi Lee,
Use SetAttributeValue Package action of Package Action Contrib . Check 1.0.7 Documentation.
Cheers,
Richard
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.
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
is working on a reply...
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.