microsoft certification exam coaching session: 70-541 application development
TRANSCRIPT
Microsoft CertificationExam Coaching Session: 70-541
Application Development
Deploying WSS and Custom ComponentsCreating Site and Feature ComponentsCreating Metadata and Workflow ComponentsDeveloping Using the .NET FrameworkManipulating Site Content using the APIManipulating Site Configuration Using the APIYour Next Steps
Agenda
Shannon Bray
Sr. Solutions ArchitectMCT, MCPD (e), MCITP, MCSD, …Qortex, LLCDenver, CO.
www.shannonbray.comwww.wssclassroom.com
Deploying WSS and Custom Components
Deploying Custom Componets
Bin FolderGAC (Global Assembly Cache)CAS (Code Access Security)12\template\xml12\template\controltemplates12\template\features
DEMO
Components
IIS Web Root Folders
~/_controlstemplate/YourFolder/YourControl.ascx
Creating Site and Feature Components
Features
Feature.xmlElements.xmlAttributesSTSADM
DEMO
Features Folder
Master Pages
~masterurl/default.master~masterurl/custom.master
<Module Name="CustomMasterPage" List="116" Url="_catalogs/masterpage" RootWebOnly="FALSE"> <File Url="businesscustom.master" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" /> </Module>
DEMO
Master Pages
Site Definitions
12\TEMPLATE\SiteTemplatesOnet.xmlWebTemp*.xmlRootWebOnlySubWebOnly
DEMO
Site Definitions
Creating Metadata and Workflow Components
Workflow
Workflow OverviewSharePoint DesignerVisual StudioPackagingDistributing Your WorkflowWorkflow Definition Schema
Structure
<Elements Element (Workflow)> <Workflow Element (Elements)> <Categories Element (Workflow)> <AssociationData Element (Workflow)> <MetaData Element (Workflow)> <InitiationType Element (Workflow)> <Modification_GUID_Name Element (Workflow)> <StatusPageUrl Element (Workflow)> <ExtendedStatusColumnValues Element (Workflow)> <StatusColumnValue Element (Workflow)>
Developing Using the .NET Framework
Web Parts
Web PartsWeb Part ZonesSystem.Web.UI.WebControls.WebParts.WebPartWebPartPages.WebPartWebPartPages.ToolPartSafeControlCommunicating Between WebParts
DEMO
Web Parts
SPFeatureReceiver
FeatureActivatedFeatureDeactivatingFeatureInstalled FeatureUninstalling
DEMO
Feature Receiver
SPJobDefinition
DisplayNameFarmLastRunTimeScheduleStatus
Schedule.NextExecution(Date.Now())
DEMO
SPJobDefinition
Manipulating Site Content using the API
Lists
Site.Lists[“MyList”]SPList.GetItems()RecurrenceDataIncludeRootFolderSendToLocationNameSendToLocationURL
Lists
Listitems.Delete()Listitems.GetDataTable()SPQueryUpdate vs. SystemUpdate
DEMO
Lists and List Items
CAML Query
<where><and><eq> varaible1, value1 </eq><eq> variable2, value2 </eq></and>
</where>
select * from listwhere variable1 = value1 and variable2 = value2
CAML Query With Value
<Where> <And>
<Eq> <FieldRef Name=“ID" /> <Value Type="Integer">1</Value>
</Eq> </And> </Where> <OrderBy>
<FieldRef Name="Title" /> <FieldRef Name="ID" />
</OrderBy>
RecurrenceData
DEMO
Recurrence Data
SPFile
ItemLengthNameTitleUrlCheckOutStatusFile.CheckOut()
SPAlert Class
SPAlertSPAlertCollection
SPField
DefaultValueDescriptionFromBaseTypeGroupHiddenNoCrawlScopeShowIn…
Site Column
Web.Fields.Add(columnName, SPFieldType, required);
DEMO
Adding a Site Column
SPItemEventReceiver
ItemAddedItemAddingItemUpdatedItemUpdating
On ‘ing’ events you can set Cancel = true;
Manipulating Site Configuration Using the API
Custom Field Type
FieldType DefinitionField ClassValidationGetValidatedString()
XML Files
Onet.xmlSchema.xmlFeature.xmlFldtypes.xmlElements.xml
SPSecurity
Provides static security management properties and methods
RunWithElevatedPrivileges SetApplicationCrendentialKey
Your Next Steps
Your next steps
Set a Date
Register for exam at
Prometric:
http://www.prometric.com/Microsoft/default.htm
Save your learning plan
Learning Plan for Developing Microsoft Windows
SharePoint Services 3.0 Applications
(Exam 70-541) http://learning.microsoft.com/manager/LearningPlanV2.aspx?resourceId=%7b430d4210-e729-11dc-95ff-0800200c9a66%7d&clang=en-US&cats=%7bd4e8e42c-3d5a-4a6e-915d-d99556a49bd7%7d
Register for Career Assist
When you register:
Second Shot$35 e-learning
collection
http://www.microsoft.com/learning/mcp/offers/secondshot
Collection 5385: Developing Solutions with Microsoft Windows SharePoint Services 3.0 and Visual Studio 2005Collection 5392: Developing and Extending Microsoft Windows SharePoint Services 3.0 with Visual Studio 2005
Blog: www.shannonbray.comWebsite: www.wssclassroom.com
More Information
Questions & Answers
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.