Mandatory Content Type

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2011 10:57 AM
Hello ,
I am working on content model and want to create some of the content Types property mandatory so that while adding document if user has not entered details in mandatory property system should not allow to add the document.
Is it possible to add the mandatory content type?
If so how?
Thanks in advance for your reply!!
I am working on content model and want to create some of the content Types property mandatory so that while adding document if user has not entered details in mandatory property system should not allow to add the document.
Is it possible to add the mandatory content type?
If so how?
Thanks in advance for your reply!!
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2011 05:07 AM
I got it how I have to configure
have to add mandatory tag against the property which one want to mandatory.
For e.g.
<property name="custom:documentname">
<title>Document Name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
have to add mandatory tag against the property which one want to mandatory.
For e.g.
<property name="custom:documentname">
<title>Document Name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
