thank you for your great job!Need Some new Demo

Aug 20, 2013 at 11:01 PM
thank you for the great training demo! please add some demo code like how to use DateTime Field,MediaLibraryPickerField and so on!
Aug 21, 2013 at 5:48 PM
Glad to hear! :-)

What do you mean? Would you use these fields from code?
Aug 23, 2013 at 2:13 AM
for example,I code a PersonPart,the PersonPart have a birthday property, a headPiture property, I want to
reuse the DateTime Field to store person's birthday property, medaLibraryPickerField to store person's headPicture.
would you please demo how to do that? thanks a lots!
Aug 23, 2013 at 8:28 AM
Actually this is quite simple. You can add the field to the content type as demonstrated in this module from migrations, then use the field from code (if you'd like to; but this is not always necessary). For that latter I've created statically types helpers documented here.