Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Problem with the default value of the property

Vote:
0

Hi,

I created the property "FooterText" on my standard page: String (<=255), and put the default value. But it doesn't work correctly: the default value isn't appeared in the site.

<EPiServer:Property PropertyName="FooterText" DisplayMissingMessage="false" EnableViewState="false" runat="server" /> - is empty.

Value must be entered - unchecked
Searchable property - unchecked
Unique value per language - checked
Display in Edit Mode - checked

Can anyone expline this situation?

Thanks

#29188
Apr 14, 2009 16:51
Vote:
0

The behaviour for the default value of a property is actually working a bit different than you describe.

The default value is a value that will be set for the property when the page first is created, it is not a value that will be used if the property value is empty.

Hope that makes sense.

Cheers
Henrik

#29197
Apr 15, 2009 2:20
Vote:
0

Thank you

#29200
Apr 15, 2009 10:26
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.