I have tried to create a new data using the MacroPicker as an example. I have copied the dll to the bin folder and created a new datatype in the Developer section. I expect to see my new Formular Pciker in the Render Control list but I don't.
I use the 3 classes method and I have created a new GUID but I forgot to change the name of my new type so it was actually in the list. So the conclusion is that all you need to do in order to create a new datatype is to implement the classes and copy the dll to the bin folder. It then pops up in the list of Render Controls when you create a new Data Type.
Create new Data type
H
I have tried to create a new data using the MacroPicker as an example. I have copied the dll to the bin folder and created a new datatype in the Developer section. I expect to see my new Formular Pciker in the Render Control list but I don't.
What am I missing ?
Version 4.0.2.1
Thanks
Paul S
Hmm, difficult to say without being able to see the code.
Are you inheriting the same classes and interfaces? Did you assign your own guid to your datatype?
Try to add a breakpoint in the datatype.
When an error occours Umbraco ignores it (using try catch with no handling).
Ron
Hi Paul,
Are you using the usercontrolGrabber method or the "3-classes" method?
Perhaps you can get some ideas by checking these pages:
http://www.nibble.be/?p=51
http://www.nibble.be/?p=24
http://www.nibble.be/?p=62 <--- my recommended approach on umb >= 4.0.1
Hi
I use the 3 classes method and I have created a new GUID but I forgot to change the name of my new type so it was actually in the list. So the conclusion is that all you need to do in order to create a new datatype is to implement the classes and copy the dll to the bin folder. It then pops up in the list of Render Controls when you create a new Data Type.
Thanks for the help, guys.
/Paul S
is working on a reply...