Thank you for the reply. I'm using 4.5.1 and with regards the ashx files being added, I've got to the bottom of it. Basically, I was adding it to the root of the website and getting this error. However, after putting the ashx file in a folder under the root (to test it, I put it in the usercontrols folder), I had no problems.I should have posted it earlier but I only found the answer, late this morning.
Now, I hope I'll be able to work out why the dashboard.config is not getting populated and I'll report back if I find out anything.
Include .ashx file in package
I've developed a little application which extends Tim Geyssen's Zip upload and wanted to share it out as a package but I've encountered two problems.
<Actions>
<Actions>
<Action runat="install" alias="addDashboardSection" dashboardAlias="MyDashboardSection">
<section>
<areas>
<area>media</area>
</areas>
<tab caption="Flash Zip Upload">
<control>/usercontrols/zipupload.ascx</control>
</tab>
</section>
</Action>
</Actions>
</Actions>
in the "Actions" tab, the dashboard.config file doesn't get updated after the package gets installed.
Any advice would be very much appreciated.
TIA,
David
David,
What version of umbraco are you using? I have created packages in umbraco pre 4.1 and have added ashx files successfully.
Regards
Ismail
Hi Ismail,
Thank you for the reply. I'm using 4.5.1 and with regards the ashx files being added, I've got to the bottom of it. Basically, I was adding it to the root of the website and getting this error. However, after putting the ashx file in a folder under the root (to test it, I put it in the usercontrols folder), I had no problems.I should have posted it earlier but I only found the answer, late this morning.
Now, I hope I'll be able to work out why the dashboard.config is not getting populated and I'll report back if I find out anything.
David
I've found the answer as to why the action wasn't getting written to the dashboard.config. In the original post, I had
<Actions>
<Actions>
There is no need for these enclosing tags. All that was required was:
<Action runat="install" alias="addDashboardSection" dashboardAlias="MyDashboardSection">
<section>
<areas>
<area>media</area>
</areas>
<tab caption="Flash Zip Upload">
<control>/usercontrols/zipupload.ascx</control>
</tab>
</section>
</Action>
as per http://umbraco.org/documentation/books/package-actions-reference/add-dashboard-section.
is working on a reply...