I was putting the name of my assembly into the macroPropertyTypeRenderAssembly, it should be the namespace apparently! Then in macroPropertyTypeRenderType is should be the type name (without any assembly name or namespace).
I think your solution didn't work for me because of the way I had set up my assembly in the first place.
Umbraco 6 Custom Macro Param Type Broken
Updated the macro parameter types database with my assembly name and class name, but still no luck.
Got it figured out... had to do with the way my namespaces were setup.
Hi Robert,
I'm having a similar issue.
Can you tell me what your solution was?
Thanks,
Robert
Yes, it has to do with the way you register the control in the database. Here's my control code:
And in the Umbraco cmsMacroPropertyType table:
idmacroPropertyTypeAliasmacroPropertyTypeRenderAssemblymacroPropertyTypeRenderTypemacroPropertyTypeBaseType
26newsletterPickerLourdesWebmacroParams.NewsletterPickerString
So, the thing is, you only put the last part of your namespace for some reason for the macroPropertyTypeRenderType field. Weird, but true. ;-)
Oppps, that data didn't render well...
Thanks for this Robert.
I think I have everything set up in the same way but I still can't get the property to work.
Very frustrating!
Robert
Ah, Finally solved it!
I was putting the name of my assembly into the macroPropertyTypeRenderAssembly, it should be the namespace apparently! Then in macroPropertyTypeRenderType is should be the type name (without any assembly name or namespace).
I think your solution didn't work for me because of the way I had set up my assembly in the first place.
Very confusing.
is working on a reply...