PreValueSourceTypes not reloading in Contour 3.0.7 WIP
Hi Tim
I've just noticed that if I delete my code generated PVSTs in the umbraco back end and reset the app pool. The types wont reload back in again. When I expand the node in Umbraco it's just empty!
I've been playing with the GUID Id's and i'm having the following problem...
The first line is what I set the form to (GUID wise), the second line is what the macro gets inserted as using the insert macro button. Line one doesn't work, despite being set in the form.
PreValueSourceTypes not reloading in Contour 3.0.7 WIP
Hi Tim
I've just noticed that if I delete my code generated PVSTs in the umbraco back end and reset the app pool. The types wont reload back in again. When I expand the node in Umbraco it's just empty!
Any ideas why? bug?
Martin
Comment author was deleted
Not sure I understand, what is empty, the type dropdown when creating/editing a prevalue source or...?
Hi Tim
Sorry I thought I'd dumped this post...it was a coding error on my part.
Ignore
Martin
Comment author was deleted
No worries glad it's sorted :)
Tim
On your CodeFirst GUID fix can I decorate the macro with an ID rather than the generated GUID? I cant remember what you said you'd done to solve this?
Martin
Comment author was deleted
Yeah you should be able to setup an id on the form (new attribute) that will make sure your form has that specified id
Hi Tim
"Id" says GUID (as string) but I get the following error on trying to use it on a form....
Error24'Id' is not a valid named attribute argument because it is not a valid attribute parameter type
Comment author was deleted
Ok made an update http://nightly.umbraco.org/Umbraco%20Contour/3.0.7%20WIP/ you'll just need to update the code first assembly
Hi Tim
I've been playing with the GUID Id's and i'm having the following problem...
The first line is what I set the form to (GUID wise), the second line is what the macro gets inserted as using the insert macro button. Line one doesn't work, despite being set in the form.
<umbraco:Macro FormGuid="d73be165-4fbb-45fe-9614-4e06b1576b0e" Alias="umbracoContour.RazorRenderForm" runat="server"></umbraco:Macro>
<umbraco:Macro FormGuid="e4f1a87d-5251-465b-88ec-59f98b1cd7a2" Alias="umbracoContour.RazorRenderForm" runat="server"></umbraco:Macro>
Kind regards
Martin
Hi Tim
Ignore the last post I had to completely dump the forms in the back office and then reload the dll..all is good and the fix works!
thanks
Martin
is working on a reply...