This page contains the collection of Microsoft SharePoint Content Types Interview Questions and Answers / Frequently Asked Questions (FAQs) under category Microsoft SharePoint. These questions are collected from various resources like informative websites, forums, blogs, discussion boards including MSDN and Wikipedia. These listed questions can surely help in preparing for Microsoft SharePoint Content Types interview or job. |
What are content types? A content type is a flexible and reusable WSS type definition (or template) that defines the columns and behavior for an item in a list or a document in a document library. For example, you can create a content type for a leave approval document with a unique set of columns, an event handler, and its own document template and attach it with a document library/libraries.
Can a content type have receivers associated with it?
Yes, a content type can have an event receiver associated with it, either inheriting from the SPListEventReciever base class for list level events, or inheriting from the SPItemEventReciever base class. Whenever the content type is instantiated, it will be subject to the event receivers that are associated with it.
What two files are typically included when developing a content type, and what is the purpose of each?
One is main content type file that holds things like the content type ID, name, group, description, and version. Second is ContentType Fields file which contains the fields to include in the content type that has the ID, Type, Name, DisplayName, StaticName, Hidden, Required, and Sealed elements. They are related by the FieldRefs element in the main content type file.
What is an ancestral type and what does it have to do with content types?
An ancestral type is the base type that the content type is deriving from, such as Document. The ancestral type will define the metadata fields that are included with the custom content type.
Can a list definition be derived from a custom content type?
Yes, a list definition can derive from a content type which can be seen in the XML schema of the list definition in the element.
How to create links to the mapped network drives?
Creating links to mapped drives in WSS 3.0 or MOSS 2007 can be done via the new content type for .lnk files. |
Friday, April 26, 2013
Microsoft SharePoint Content Types Interview Questions and Answers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment