- When user creates a Webpart the UserControl should be placed in ~/ControlTeamplates folder
- To identify SharePoint content within VS 2010
- Server Explorer à SharePoint Data Connections à Lists, Tasks, Calendar
- Server Explorer à SharePoint Data Connections à Lists, Tasks, Calendar
- To add a workflow feature
- Template/1033/Workflows (can do using VS 2010 navigation)
- Template/1033/Workflows (can do using VS 2010 navigation)
- After create a feature
- Rename chanaka.wsp as chanaka.wsp.cab
- Open as zip file
- Check about automatically created,
- Public key
- Solution id
- Feature id
- Public key
- Rename chanaka.wsp as chanaka.wsp.cab
- When want to add Images to SharePoint portal
- Right click on solution VS 2010 server explorer
- Add à Sharepoint "Images" Mapped Folder
- It will be placed in (14 hive) SharePoint root à TemplateàImages
- Right click on solution VS 2010 server explorer
- When we add a SPI (SharePoint Project Item) it will creates (Eg:- A Webpart name as chanaka)
- Element.xml (List ID, URL, Property Name, Webpart group)
- Chanaka.webpart (Name / Description)
- Chanaka.feature (Better to set Scope = "Site" )
- New UI in VS 2010 to work with
- Manifest.xml
- Dependencies
- SPI View
- Manifest.xml
- Connect as a Event Receiver
- Right click on feature name in VS
- Add a Event Receiver
- Write the logic in one of event (Eg:- Feature Activated)
- Right click on feature name in VS
- Element.xml (List ID, URL, Property Name, Webpart group)
Sunday, January 16, 2011
Best Practices in SharePoint Development
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment