Professional Documents
Culture Documents
SP 2010
MOSS 2007
Look and feel
Silverlight Application
In SP 2010 we can create a Silverlight
application directly from Visual Studio 2010
Improvement in Deployment
In SP 2010 we can Deploy through Farm
based and solution based solution in SP 2010
Alerts
Improvements of events
New events for list creation and web creation
Rating
In SP 2010 we can have rating column by
default
Taxonomy
In SP 2010 we can create Taxonomy by using
Managed Metadata service
Other Features
In SP 2010 we have Power Shell Scripting,
JavaScript object model, Chart Web Parts
Q
Ans
What is SharePoint?
SharePoint is a browser based document collaboration platform given by
Microsoft.
Q
Ans
Q
Ans
What is WSS?
Windows SharePoint Services (WSS) is a Web portal used for collaboration
within a business or organization. WSS is easily accessible through an Internet
browser such as Internet Explorer. SharePoint is a hosted application - which
means in order to use it to full potential, it must be hosted on a Windows
server.
WSS provides a solid base to set up one or more intranet sites.
The main WSS features are:
What is MOSS?
MOSS stands for Microsft Office Share Point Server. MOSS is a portal based
Q
Ans
Q
Ans
Q
Ans
Q
Ans
Q
Ans
What is the command to take backup and restore for sharepoint site?
Backup command:
stsadm -o backup -url http://moss:4002/ -filename c:\bkupsite.bak
To restore :
stsadm -o restore -url http://moss:4004/ -filename c:\bkupsite.bak
Q
Ans
What is a Farm?
n the context of SharePoint, the term farm is used to describe a collection of
one or more SharePoint servers and one or more SQL servers that come
together to provide a set of basic SharePoint services bound together by a
single Configuration Database in SQL.
Farms can range in size from having everything (all SharePoint roles and SQL
server) on one machine to scaling out every individual SharePoint serve role
onto dedicated sets of servers. A farm the highest administrative boundary for
SharePoint and everything that happens inside SharePoint happens in a farm.
In Short : A sharepoint Farm is a collection of one or more sharepoint server
which having a single configuration database.
Q
Ans
Central
Administration
Q.
Ans
Q.
Ans.
Q.
Ans.
Q.
Ans.
What is a site?
Q.
Ans
Q.
Ans.
Q.
Ans.
What is CAML?
CAML stands for Collaborative application markup languages. It is in xml form.
And it can be sued to retrieve the data from sharepoint list as well to update
and insert.
Q.
Ans.
Q.
Ans.
What is BDC?
BDC i.e. Business Data Catalouge. It is a middleware for your sharepoint site
and back end data such as SAP, Siebel and any other Line of Business
application.
In BDC you can not modify data from your sharepoint list. It will be available
to your site in read only.
In Sharepoint 2010 it is named as BCS (Business Connectivity Services). BCS
is two way, i.e. Data can be edit from sharepoint list as well from the back end
data base.
Q.
Ans.
What is workspace?
A site or workspace is when you want a new place for collaborating on Web
pages, lists and document libraries. For example, you might create a site to
manage a new team or project,collaborate on a document or prepare for a
meeting.
Q.
Ans.
Q.
Ans.
What are the types of input forms that can be created for a workflow ?
You can create four different types of input forms including an association
form, an initiation form, a modification form, and a task edit form. Note that
these forms are optional when you create a workflow template.
Q.
Ans.
You can create your forms by using custom application pages, which
are standard .aspx pages deployed to run out of the _layouts directory.
( disadv: lot of code required when compared to Infopath approach)
using Microsoft Office InfoPath 2007 /2010 (disadv: picks up a
dependenct on MOSS, i.e. it cannot run in a standalone WSS
environment)
Q.
Ans
Q.
Ans.
Q.
Ans.
Q.
Ans.
What are the various kinds of roles the users can have?
A user can be assigned one of the following roles
Web Designer - Can create lists and document libraries and customize
pages in the Web site.
Claims
Windows
Forms-based authentication
Ref : http://technet.microsoft.com/en-us/library/cc262350(office.14).aspx
Q.
Ans.
Claims is a new authentication method that SharePoint 2010 can utilize. This
allows a single authentication store for multiple types of authentication
(Windows NTLM, SQL FBA, LDAP, etc) which allows all of these types of
authentication to access SharePoint under a single URL.
Claims creates a SAML token based on the sign-in, that contains the users
identity.
Ref: http://blogs.technet.com/ritaylor/archive/2009/06/03/claims-basedauthentication-an-overview.aspx
Q.
Ans.
Q.
Ans.
LOB systems
Q.
Ans.
Name the tool used to create DataContent classes for use in LINQ
queries?
SPMetal.exe
Q.
Ans.
Intellisense
Faster development
Disadvantages:
If the new columns are added or its datatype changed, the datacontext
class used by LINQ is no longer valid and may break the code
Extra layer to the actual CAML query
Q.
Ans.
Q.
Ans.
Whats new :
Advantages :
Ref :
http://blogs.msdn.com/uksharepoint/archive/2009/10/21/sharepoint-2010new-shared-services.aspx
http://aknauer.blogspot.com/2009/11/sharepoint-2010-advantages-ofservice.html
http://www.andrewconnell.com/blog/archive/2009/10/19/the-new-serviceapplication-architecture-in-sharepoint-server-2010.aspx
http://www.andrewmilsark.com/blog/post/2009/10/20/SharePoint-2010Service-Applications-(Shared-Services)-Overview.aspx
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Yes/No (Checkbox)
Choice (dropdowns)
One can use these to create forms by using custom application pages (aspx
pages), which are deployed to run out of the _layout directory on MOSS server
or using Microsoft Office Infopath 2007 /2010
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
When would you use claims, and when would you use classic?
Classic is more commonly seen in upgraded 2007 environments whereas
claims are the recommended path for new deployments.
Q.
Ans.
Q.
What are some of the tools that can be used when backing up a
SharePoint 2010 environment?
Ans.
SQL Server
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
What are some examples of things that might run within the
SharePoint sandbox?
Any of the following are acceptable answers:
Web Parts
Event receivers
Feature receivers
Custom Microsoft SharePoint Designer workflow activities
Microsoft InfoPath business logic
Etc.
Ans.
Q.
Ans.
Q.
Ans.
A content source is a set of options that you can use to specify what type of
content is crawled, what URLs to crawl, and how deep and when to crawl. You
must create at least one content source before a crawl can occur.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
PowerShell.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Backup / DR Questions
Describe how redundancy can be built into a SharePoint
environment. Please be specific in regards to any auxiliary
components.
Multiple front-end web servers (WFEs) can be deployed and correlated
through Windows NLB or anything approach. Application servers can be
deployed into the farm for a variety of purposes, depending on organizational
requirements. Databases can be clustered or mirrored, again depending on
requirements and environment.
From a basic standpoint, what is the difference between SQL
clustering and mirroring?
Clustering provides a failover scenario whereby one or more nodes can be
swapped as active depending on whether a node goes down. In mirroring,
transactions are sent directly from a principal database and server to a mirror
database to establish essentially a replica of the database.
Governance Questions
What Is Governance in terms of SharePoint 2010?
Governance is the set of policies, roles, responsibilities, and processes that
guide, direct, and control how an organizations business divisions and IT
teams cooperate to achieve business goals.
What are some useful, OOB features of SharePoint that aid with
governance of an environment?
Any of the below are acceptable answers. There are some others but these
are the major ones that I generally look for from a candidate:
Site templates consistent branding, site structure, and layout can be
enforce a set of customizations that are applied to a site definition.
Quotas limits to the amount of storage a site collection can use.
Locks - prevent users from either adding content to a site collection or using
the site collection.
Web application permissions and policies comprehensive security
settings that apply to all users and groups for all site collections within a Web
application.
Self-service site creation - enables users to create their own site
collections, thus must be incorporated into a governance scheme.
Monitoring Questions
Describe the monitoring features that are baked into SharePoint
2010.
Diagnostic logging captures data about the state of the system, whereas
health and usage data collection uses specific timer jobs to perform
monitoring tasks, collecting information about:
Ans.
participate in workflows?
Workflows created by using Microsoft SharePoint Designer 2010, the default
setting enables deployment of declarative workflows. Yes, however you do not
give non-authorized users access to the site. The e-mail message and
attachments sent from notifications might contain sensitive information
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
1.
2.
3.
4.
Personalization of Dashboards
5.
Role Customization
6.
7.
8.
9.
10.
Q.
Ans.
What is a template?
A template is a pre-defined set of functions or settings that can be used over
time. There are manytemplates within SharePoint,Site Templates, Document
Templates, Document Library and ListTemplates.
Q.
Ans.
Q.
Ans.
What is a DWP?
The file extension of a web part.
Q.
Ans.
Q.
Ans.
Can I post any kind of document? Can i restrict some document types
You can post documents in many formats, including .pdf, .htm and .doc. In
addition, if you are using Microsoft Office XP, you can save documents directly
to your Windows SharePointServices site. Yes, you can restrict document types
by either adding them to central admin or by using a custom event receiver.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
REST does not return an object of type SharePoint Site\List. Instead, it returns
an XML output.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Social Tagging database stores social tags and notes created by users, along
with their respective URLs.Prefixed with "User Profile Service
Application_SocialDB_".
11. Managed Metadata database - The Managed Metadata service
application database stores managed metadata and syndicated content
types. Prefixed with "
Managed Metadata Service_".
In addition to all the databases created with Standard edition, Enterprise
addition install adds two more databases :
1. PerformancePoint service application database - The
PerformancePoint service application database stores temporary objects,
persisted filter values, and user comments. Name Prefix
"PerformancePointServiceApplication_.."
2. Word Automation Services database - The Word Automation Services
database stores information about pending and completed document
conversions.Name Prefix "WordAutomationServices_..."
Note : You do not have to use these naming conventions. You can either
specify database names when you create them, or change the database
names after they have been created.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
documents.
Q.
Ans
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
what is a template?
A template is a pre-defined set of functions or settings that can be used over
time. There are many templates within SharePoint, Site Templates, Document
Templates, Document Library and List Templates.
Q.
what are the differences between web part page gallery, site gallery,
virtual server gallery and online gallery?
Web Part Page Gallery is the default gallery that comes installed with
SharePoint. Site Gallery is specific to one site. Virtual Server gallery is specific
to that virtual server and online gallery are downloadable web parts from
Microsoft.
Ans.
Q.
Ans.
Q
Ans.
If your code modifies Windows SharePoint Services data in some way, you
may need to allow unsafe updates on the Web site, without requiring a
security validation. You can do by setting the AllowUnsafeUpdates property.
C#:
?
1 using(SPSite mySite = new SPSite("yourserver"))
2 { using(SPWeb myWeb = mySite.OpenWeb())
3 {
4 myWeb.AllowUnsafeUpdates = true;
5 SPList interviewList = myWeb.Lists["listtoinsert"];
6 SPListItem newItem = interviewList.Items.Add();
7 newItem["interview"] = "interview";
8 newItem.Update();
9 }
10 }
Assume that you have a Web Part in which you want to display information
obtained through the Windows SharePoint Services object model, such as
the name of the current site collection owner, usage statistics, or auditing
information. These are examples of calls into the object model that require
site-administration privileges. Your Web Part experiences an access-denied
error if it attempts to obtain this information when the current user is not a
site administrator. The request is initiated by a nonprivileged user. you can
still successfully make these calls into the object model by calling the
RunWithElevatedPrivileges method provided by the SPSecurity class. C#:
SPSite siteColl = SPContext.Current.Site;
SPWeb site = SPContext.Current.Web;
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite ElevatedsiteColl = new SPSite(siteColl.ID))
{
using (SPWeb ElevatedSite = ElevatedsiteColl.OpenWeb(site.ID))
{
string SiteCollectionOwner = ElevatedsiteColl.Owner.Name;
string Visits = ElevatedsiteColl.Usage.Visits.ToString();
string RootAuditEntries =
ElevatedSite.RootFolder.Audit.GetEntries().Count.ToString();
}
}
}
)
Get More Questions and Answers
Q.
Ans.
Farm
WebApplication
Web (site)
Features have their own receiver architecture, which allow you to trap
events such as when a feature is
installing
uninstalling
activated
deactivated
menu commands
link commands
page templates
page instances
list definitions
list instances
event handlers
workflows
feature.xml
manifest file(elements.xml)
The feature XML file defines the actual feature and will make SharePoint
aware of the installed feature. The manifest file contains details about the
feature such as functionality.
Common stsadm commands associated with feature are
Q.
Ans.
stsadm -o installfeature
stsadm -o uninstallfeature
stsadm -o activatefeature
stsadm -o deactivatefeature
A content type is a flexible and reusable WSS type definition 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 customer presentation document with
a unique set of columns, an event handler, and its own document template.
-You can create a second content type for a customer proposal document
with a different set of columns, a workflow, and a different document
template.
Then you can attach both the contenttypes to a document library, which
allows you to capture metadata based on the contenttype selected during
creation of the document.
Content type can be created by the following
from the rootweb of a site collection, go to Site Action > Site Settings
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
using a feature
Checks whether the specified login name belongs to a valid user of the
Web site, and if the login name does not already exist, adds it to the Web
site. e.g SPUser usr = myWeb.EnsureUser("mmangaldas");
While creating a Webpart, which is the ideal location to Initialize my
new controls ?
Override the CreateChildControls method to include your new controls. To make sure that the new controls are initialized.. call 'EnsureChildControls' in the
webparts Render method. You can control the exact Rendering of your controls by calling the .Render method in the webparts Render method.
How to query from multiple lists ?
Syncronous calls ending with 'ing' E.g. ItemDeleting Event Handler code
execute BEFORE action is committed WSS waits for code to return Option
to cancel and return error code
Asyncronous calls ending with 'ed' E.g. ItemDeleted Event Handler code
executes AFTER action is committed WSS does not wait for code to return
Executed in its own Worker thread.
Q.
Ans.
What is ServerUpdate() ?
Q.
Ans.
What is query.ViewAttributes OR How can you force SPQuery to return results from all the folders of the list?
Q.
Ans.
What are the two base classes a WebPart you are going to use within SharePoint 2007 can inherit from?
Any changes in the list, i.e. new addition or modification of an item.. the
operation is complete by calling the Update method.But if a List is set to
maintain versions .. and you are editing an item, but don't want to save it as
a new version, then use the SystemUpdate method instead and pass in
'false' as the parameter.
If you use SPQuery on any SPlist .. it will bring back results from the
current folder only. If you want to get results from all the folders in the list..
then you need to specify the scope of the query by the use of
ViewAttributes..
e.g. query.ViewAttributes = "Scope=\"Recursive\"";
There are two base classes that a WebPart which is going to be consumed
by SharePoint can inherit from, either the SharePoint WebPart Base class
or the ASP.NET 2.0 WebPart base class. When inheriting from the
SharePoint WebPart Base class your derived WebPart class will inherit
from Microsoft.SharePoint.WebPartPages.WebPart. When inheriting from
the ASP.NET 2.0 WebPart base class your derived WebPart class will
inherit from System.Web.UI.WebControls.WebParts.WebPart. It is
considered good practice to use the ASP.NET WebPart base class since
the old base class is meant for backwards compatibility with previous
version of SharePoint, however there are four exception when it is better to
leverage functionality from the SharePoint WebPart base class:
zone
Q.
Ans.
What are the differences between the two base classes and what are the inherit benefits of using one over another?
Q.
Ans.
ASP.NET 2.0 WebParts are generally considered better to use because SharePoint is built upon the ASP.NET 2.0 web architecture. Inheriting from the ASP.NET
2.0 base class offers you features that inherit to ASP.NET 2.0, such as embedding resources as opposed to use ClassResources for deployment of said types.
What is the GAC?
The GAC stands for the global assembly cache. It is the machine wide
code cache which will give custom binaries place into the full trust code
group for SharePoint. Certain SharePoint assets, such as Feature
Receivers need full trust to run correctly, and therefore are put into the
GAC. You should always try to avoid deployment to the GAC as much as
possible since it will possibly allow development code to do more than it
was intended to do.
Q.
Ans.
Q.
Ans.
What are safe controls, and what type of information, is placed in that element in a SharePoint web.config file?
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
What is a SPSite and SPWeb object, and what is the difference between each of the objects?
Q.
Ans.
Q.
Ans.
The render contents method will render the WebPart content to the writer,
usually an HtmlTextWriter since WebParts will output to an HTML stream.
RenderContents is used to tell how the controls that are going to be
displayed in the WebPart should be rendered on the page.
*** Side Question: I got asked what the difference between
CreateChildControls and the RenderContents method. The
CreateChildControls method is used to add controls to the WebPart, and
the RenderContents method is used to tell the page framework how to
render the control into HTML to display on a page.
The WebPartManager sealed class is responsible for managing everything
occurring on a WebPart page, such as the WebParts (controls), events,
and misc. functionality that will occur in WebPartZones. For example, the
WebPartManager is responsible for the functionality that is provided when
you are working with moving a WebPart from WebPartZone to
WebPartZone. It is known as the the central class of the Web Part Control
Set.
*** Side Question: I got asked how many WebPartManager controls should
be on a page. In order to have WebParts on a page there has to be just
one WebPartManager control to manage all the WebParts on the page.
The SPSite object represents a collection of sites (site collection [a top
level sites and all its subsites]). The SPWeb object represents an instance
SharePoint Web, and SPWeb object contains things like the actual content.
A SPSite object contains the various subsites and the information regarding
them.
C#:
oSPSite = new SPSite("http:/server");
oSPWeb = oSPSite.OpenWeb();
What does a SPWebApplication object represent?
Would you use SPWebApplication to get information like the SMTP address of the SharePoint site?
Q.
Ans.
How do you connect (reference) to a SharePoint list, and how do you insert a new List Item?
Yes, since this is a Web Application level setting. You would iterate through
each SPWebApplication in the SPWebApplication collection, and then use
the appropriate property calls (OutboundMailServiceInstance) in order to
return settings regarding the mail service such as the SMTP address.
Side Question: I got asked if there are other ways to send emails from
SharePoint. The answer is yes, there is. You can use the SendMail method
from the SPutility class to send simple emails, however it is not as robust
as using the System.Net.Mail functionality since it doesnt allow things like
setting priorities on the email.
C#:
using(SPSite mySite = new SPSite("yourserver"))
{
using(SPWeb myWeb = mySite.OpenWeb())
{
SPList interviewList = myWeb.Lists["listtoinsert"];
SPListItem newItem = interviewList.Items.Add();
newItem["interview"] = "interview";
newItem.Update();
}
Q.
Ans.
Q.
Ans.
Q.
Ans.
}
How would you loop using SPList through all SharePont List items, assuming you know the name (in a string value) of the list you want to
iterate through, and already have all the site code written?
C#:
SPList interviewList = myWeb.Lists["listtoiterate"];
foreach (SPListItem interview in interviewList)
{
// Do Something
}
How do you return SharePoint List items using SharePoint web services?
In order to retrieve list items from a SharePoint list through Web Services,
you should use the lists.asmx web service by establishing a web reference
in Visual Studio. The lists.asmx exposes the GetListItems method, which
will allow the return of the full content of the list in an XML node. It will take
parameters like the GUID of the name of the list you are querying against,
the GUID of the view you are going to query, etc.
Side Question: I got asked how I built queries with the lists.asmx web
service. In order to build queries with this service, one of the parameters
that the GetListItems method exposes is the option to build a CAML query.
There are other ways to do this as well, but that was how I answered it.
How customizable is the user-to-user access?
Q.
Ans.
Q.
Ans.
Q.
Ans.
How can I raise the trust level for assemblies installed in the BIN directory?
When retrieving List items using SharePoint Web Services, how do you specify explicit credentials to be passed to access the list items?
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
What are WebPart properties, and what are some of the attributes you see when declaring WebPart properties in code?
Q.
Why are properties important in WebPart development, and how have you exploited them in past development projects? What must each
custom property have?
Ans.
WebPart properties are just like ASP.NET control properties, they are used
to interact with and specify attributes that should be applied to a WebPart
by a user. Some of the attributes you see with ASP.NET 2.0 properties are
WebDescription, WebDisplayName, Category, Personalizable, and
WebBrowsable. Although most of these properties come from the
System.Web.UI.WebControls.WebParts class, ones like Category come out
of System.ComponentModel namespace.
for each user. WebPart properties make it possible for a user to interact,
adjust, and increase overall experience value with the programmatic assets
that you develop without having the need to use an external editor or right
any code. A very simple example of exploiting a property would be
something like allowing the user to change the text on the WebPart design
interface so that they can display whatever string of text they desire.
Each custom property that you have must have the appropriate get and set
accessor methods.
Q.
Ans.
What are ClassResources? How do you reference and deploy resources with an ASP.NET 2.0 WebPart?
Q.
Ans.
What is a SharePoint Solution File? How does it differ from WebPart .cab files in legacy development? What does it contain?
Q.
Ans.
What is a .ddf file and what does it have to do with SharePoint Solution creation?
Q.
Ans.
What file does a SharePoint solution package use to orchestrate (describe) its packaged contents?
Q.
Ans.
What deployment mechanism can you use to instigate Code Access Security attributes for your WebParts?
Q.
Ans.
WebParts
pages
list types
list instances
event handlers
workflows
custom actions
Q.
Ans.
Q.
Ans.
Q.
Ans.
Q.
Ans.
If I wanted to not allow people to delete documents from a document library, how would I go about it?
Q.
Ans.
How could you append a string to the title of a site when it is provisioned?
In the OnActivated event:
site.Title += "interview";
Q.
Ans.
Q.
Ans.
site.Update();
Can an event receiver be deployed through a SharePoint feature?
Yes
What is a content type?
Q.
Ans.
Q.
Ans.
What two files are typically (this is kept generally) included when developing a content type, and what is the purpose of each?
Q.
Ans.
What is an ancestral type and what does it have to do with content types?
Q.
Ans.
Q.
Ans.
When creating a list definition, how can you create an instance of the list?
Q.
Ans.
Q.
Ans.
Q.
Ans.
What is a SharePoint site definition? What is ghosted (uncustomized) and unghosted (customized)?
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.
There is generally the main content type file that holds things like the
content type ID, name, group, description, and version. There is also the
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.
An ancestral type is the base type that the content type is deriving from,
such as Document (0x0101). The ancestral type will define the metadata
fields that are included with the custom content type.
Yes, a list definition can derive from a content type which can be seen in
the schema.XML of the list definition in the element.
You can create a new instance of a list by creating an instance.XML file.
Field controls are simple ASP.NET 2.0 server controls that provide the
basic field functionality of SharePoint. They provide basic general
functionality such as displaying or editing list data as it appears on
SharePoint list pages.
This varies. Generally, custom field controls inherit from the
Microsoft.SharePoint.WebControls.BaseFieldControl namespace, but you
can inherit from the default field controls.
SharePoint site definitions are the core set of functionality from which
SharePoint site are built from, building from the SiteTemplates directory in
the SharePoint 12 hive. Site definitions allow several sites to inherit from a
core set of files on the file system, although appear to have unique pages,
thereby increasing performance and allowing changes that happen to a site
propagate to all sites that inherit from a site definition. Ghosted means that
when SharePoint creates a new site it will reference the files in the related
site definition upon site provisioning. Unghosted means that the site has
been edited with an external editor, and therefore the customizations are
instead stored in the database, breaking the inheritance of those files from
the file system.
Q.
Ans.
Q.
Ans.
How does one deploy new SharePoint site definitions so that they are made aware to the SharePoint system?
The best way to deploy site definitions in the SharePoint 2007 framework is to use a SharePoint solution file, so that the new site definition is automatically
populated to all WFEs in the SharePoint farm.
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 (0x0101). The ancestral type will define the metadata
fields that are included with the custom content type.
Q.
Ans.
Q.
Ans.
When creating a list definition, how can you create an instance of the list?
Q.
Ans.
Yes, a list definition can derive from a content type which can be seen in
the schema.XML of the list definition in the element.
You can create a new instance of a list by creating an instance.XML file