Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hey,
Could it be that the property DefaultValue is not working?
I added the following DocumentTypeProperty to my DocumentType, but when I add a page in Umbraco the value of the property Title remains empty...
DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Title", Tab = "Content", Mandatory = true, DefaultValue = "Test", Description = "Add a page title.")]
I am using Umbraco 4.7.1 and uSiteBuilder 1.2.
Thanks,Wesley
Hi Wesley,
Thanks for reporting this. I'll check if this is not working correctly in v1.2 (could be). It was working fine in uSiteBuilder v1.0.
Is there any update on this please, or can someone suggest a work around until this gets fixed please..
Similarly, it'd be really useful to know if there's a fix for this yet.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
DocumentTypeProperty DefaultValue not working?
Hey,
Could it be that the property DefaultValue is not working?
I added the following DocumentTypeProperty to my DocumentType, but when I add a page in Umbraco the value of the property Title remains empty...
DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Title", Tab = "Content", Mandatory = true, DefaultValue = "Test", Description = "Add a page title.")]
I am using Umbraco 4.7.1 and uSiteBuilder 1.2.
Thanks,
Wesley
Hi Wesley,
Thanks for reporting this. I'll check if this is not working correctly in v1.2 (could be). It was working fine in uSiteBuilder v1.0.
Is there any update on this please, or can someone suggest a work around until this gets fixed please..
Similarly, it'd be really useful to know if there's a fix for this yet.
is working on a reply...