Loading...

Sunday, December 13, 2009

SharePoint FAQ


Please refer book 'Inside Microsoft Windows sharepoint services' and source code
to understand following core concept of WSS
1)SCOPE AND ALLOWED FEATURES
Web (Web site)

* Control
* Custom Action
* Custom Action Group
* Hide Custom Action
* List Instance
* List Template
* Module (File Set)
* Receiver

Site (site collection)

* Content Type
* Content Type Binding
* Control
* Custom Action
* Custom Action Group
* Feature/Site Template Association
* Field
* Hide Custom Action
* List Template
* Module (File Set)
* Workflow

WebApplication (Web application)

* Control
* Custom Action
* Custom Action Group
* Document Converter
* Feature/Site Template Association
* Hide Custom Action

Farm (farm)

* Control
* Custom Action
* Custom Action Group
* Feature/Site Template Association
* Hide Custom Action


2)List and ListItem Events and Eventhandler
to avoid item being deleted
SPItemEventReceiver (class inherited)
ItemDeleting (Event overrided)
Properties.cancel=true


3)Custom Field type
1)steps to create custom field
2)some more

4)Features
SPFeatureReceiver (class inherited)

(Events overrided)
FeatureInstalled(SPFeatureReceiverProperties properties) { }
FeatureUninstalling(SPFeatureReceiverProperties properties) { }
FeatureActivated(SPFeatureReceiverProperties properties) {
Feature.xml which points to Elelements.xml(xml Files)
Feature.xml
Description=""
Scope="Web"
ImageUrl=""
ReceiverAssembly=""
ReceiverClass=""
-



Elements.xml
CustomAction
Id="SiteActionsToolbar"
GroupId="SiteActions"
Location="Microsoft.SharePoint.StandardMenu"
Sequence="100"
Title=""
Description=""
ImageUrl="">
< >


5)Application Pages ans SitePages
Application Page
LayoutBase(Class inherited)
Events(Events of controls on Aspx page)
Location:(aspx pages in Template/layouts,namespace and assembly included in aspx)
xml Files(Elements.xml and feature.xml)
Location(Template/Featutes)

Ghosting and Ungoshting
Ghosted and uncustomized are terms used to describe site pages served up using file system templates.
Unghosted and customized both refer to pages that exist entirely in the database, which no longer depend on a file system template