I am attempting to build an umbraco custom datatype and was wondering if it was possible to access the existing datatypes to do this. For example the DataType I need to create has multiple textboxs in them, and rather than use ordinary textboxes, I'd rather use the RichText editor datatype that is built into umbraco so that the user has a more robust UI.
Is this possible - does anyone have any advice on how to do this?
very good idea, I like to do the same thing from time to time to have at least a bit of consistency and get some inspiration. All you need to do is download the Umbraco source code using Mercurial/TortoiseHG as described on the codeplex page (-> 'Source control setup' link on the right column), then search for the data type implementation that you want to have a look at.
Another great idea is to look at some of the custom data types that have been published in the projects section and have a look at their source code if it is available.
Umbraco Custom Datatypes
Hi,
I am attempting to build an umbraco custom datatype and was wondering if it was possible to access the existing datatypes to do this. For example the DataType I need to create has multiple textboxs in them, and rather than use ordinary textboxes, I'd rather use the RichText editor datatype that is built into umbraco so that the user has a more robust UI.
Is this possible - does anyone have any advice on how to do this?
Thanks for any help that you can provide!
Hi Gene,
very good idea, I like to do the same thing from time to time to have at least a bit of consistency and get some inspiration. All you need to do is download the Umbraco source code using Mercurial/TortoiseHG as described on the codeplex page (-> 'Source control setup' link on the right column), then search for the data type implementation that you want to have a look at.
Another great idea is to look at some of the custom data types that have been published in the projects section and have a look at their source code if it is available.
Hope that helps :)
Sascha
That seems to be the best way to go with this - thanks for the help man :)
is working on a reply...