We discussed today chapter 7, 8 and 9.
- SharePoint 2010 Developer Roadmap
- SharePoint Foundation Development
- SharePoint Developer Tools in Visual Studio 2010.
- Creating Sandboxed Solutions
- Pages and Navigation
- Developing Web Parts
- Creating Fields, Site Columns & Content Types
- Creating Lists & Event Handlers
- Accessing Data using LINQ to SharePoint
- Client Object Model
- Developing SharePoint 2010 Workflows
- Business Connectivity Services (BCS)
- Web Content Management (WCM)
- Enterprise Content Management (ECM)
This chapter shows us how we can create field, site columns & content types. If you need to create a site column with a feature you need to give the fields an unique id by a GUID. We have seen how you can create fields, site columns and content types by a xml file and in the browser with an user interface.
If you create a custom field control you need to create a rendering control and field values of the control in classes and usercontrols. It is also possible to create a Mobile Rendering control that works for a mobile phone. The usercontrol needs a
Reviewing all the Moving Parts.
- Field type class (ie: SPFieldText)
- Contains definition of custom field type - Field value class (ie: SPFieldMultiColumnValue)
- Contains custom data structure serialization / deserialization - Field Control class (ie: BaseFieldControl)
- Contains Server-side logic for the rendering contgrol - Field control rendering (ie: litware.ascx)
- ASXC file containing new / edit form - Field type definition (ie: fldtype_Litware.xml)
- Contains definition and metadata of the field type
Eighth Chapter
The most parts of this chapter are the same as in SharePoint 2007. Something that is added to the events are the WebAdding, WebProvisioned, ListAdding, ListAdded, ListDeleting and the ListDeleted events. The "-ing" events are triggerd before the action and the "-ed" events are triggerd after the the action. You can use the AfterProperties or BeforProperties in the events to get information of the changed or changing fields.
Ninth Chapter
New in SharePoint 2010 is LINQ to SharePoint. Before you can use LINQtoSharePoint you need to use SPMetal.exe to create DataContext class. This class you need to import in your project and you can use LINQ within your project. If you make a chang in the SP lists or Type you need to run again SPMetal.exe.
No comments:
Post a Comment