Trouble creating web.config appSetting in package action
Hey
On 4.1 beta, i'm having trouble getting a package to put a new appSetting when being instaled. I'm creating the package from 4.1 beta and installing it on 4.1 beta.
I have this in the "package actions" tab:
<Action runat="install" undo="true/false" alias="AddAppConfigKey" key="APIKey" value="Enter your API key here" />
This Package action is coming from the PackageActions contrib project which means you should download the PackageActionsContrib DLL from codeplex and add it to the Bin folder of your Umbraco Install. Also change the Undo attribute to either true or false.
Trouble creating web.config appSetting in package action
Hey
On 4.1 beta, i'm having trouble getting a package to put a new appSetting when being instaled. I'm creating the package from 4.1 beta and installing it on 4.1 beta.
I have this in the "package actions" tab:
<Action runat="install" undo="true/false" alias="AddAppConfigKey" key="APIKey" value="Enter your API key here" />
Anyone?
Hi Thomas,
This Package action is coming from the PackageActions contrib project which means you should download the PackageActionsContrib DLL from codeplex and add it to the Bin folder of your Umbraco Install. Also change the Undo attribute to either true or false.
Hope it helps you,
Richard
That did the trick.
Thanks a bunch Richard :)
/Thomas
Now I have another problem. I need to add an XSLT extension via the package.
I found this in the WIKI, but it does not work.
<Action runat="install" alias="addXsltExtension" assembly="/bin/umbraco" type=”umbraco.library” extensionAlias=”umb.lib” />
Anyone?
/Thomas
The problem with the addXsltExtension action is also occurring in Umbraco v 4.0.3, so it's not a beta issue.
Turns out the problem here was the difference between " and ”.
If you copy & paste from umbraco.org/documentation/books/package-actions-reference/add-xslt-extension or our.umbraco.org/wiki/reference/packaging/package-actions/add-xslt-extension you will get this error.
Perhaps a site adminstrator should correct this.
Thanks,
I've updated the WIKI. and hey its a Wiki so you can change it yourself also ;-)
Thanks again,
Richard
is working on a reply...