Successfully reported this slideshow.
Your SlideShare is downloading. ×

SharePoint Saturday Hartford - 01/29/11 - Creating Custom Actions in SharePoint 2010

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 29 Ad

SharePoint Saturday Hartford - 01/29/11 - Creating Custom Actions in SharePoint 2010

Custom Actions control features in SharePoint such as the List Item Menu, the Site Actions menu, toolbars, and the links within the Site Settings page, as well as the Ribbon UI in SharePoint 2010. Learn how to leverage Custom Actions to extend the SharePoint User Interface. This session will describe the basics of Custom Actions, demonstrations to build and apply them in SharePoint, as well as provide resources for additional information.

Custom Actions control features in SharePoint such as the List Item Menu, the Site Actions menu, toolbars, and the links within the Site Settings page, as well as the Ribbon UI in SharePoint 2010. Learn how to leverage Custom Actions to extend the SharePoint User Interface. This session will describe the basics of Custom Actions, demonstrations to build and apply them in SharePoint, as well as provide resources for additional information.

Advertisement
Advertisement

More Related Content

Slideshows for you (20)

Advertisement

Similar to SharePoint Saturday Hartford - 01/29/11 - Creating Custom Actions in SharePoint 2010 (20)

Advertisement

Recently uploaded (20)

SharePoint Saturday Hartford - 01/29/11 - Creating Custom Actions in SharePoint 2010

  1. 1. Creating Custom Actions in SharePoint 2010<br />Geoff Varosky<br />
  2. 2. About Me<br />Geoff Varosky<br />Grace Hunt<br />SharePoint Solutions Group<br />Director, Development & Evangelism<br />Blogger, Author, Speaker<br />BASPUG Co-Founder<br />SPS Boston Co-Organizer<br />Blog : www.sharepointyankee.com<br />Email: gvarosky@gracehunt.com<br />Twitter: @gvaro<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  3. 3. About Grace Hunt<br />Microsoft Gold Partner<br />Founded 2004<br />Practice Areas<br />Microsoft SharePoint Technologies<br />Business Process and Planning<br />Portals & Collaboration<br />Information Worker Solutions<br />Dynamics CRM, SL, GP, NAV<br />Microsoft Cloud Technologies<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  4. 4. Agenda<br />What are Custom Actions?<br />Demonstrations<br />Using SharePoint Designer<br />Importing into Visual Studio<br />Finding Custom Actions<br />Building & Deployment in Visual Studio<br />References<br />Q&A<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  5. 5. What are Custom Actions?<br />Site Actions Menu<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  6. 6. What are Custom Actions?<br />Ribbon UI<br />Ribbon Tabs<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  7. 7. What are Custom Actions?<br />Site Settings Menu<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  8. 8. What are Custom Actions?<br />Edit Control Block (ECB) / List Item Menu<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  9. 9. What are Custom Actions?<br />Custom Action Group<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  10. 10. What are Custom Actions?<br />Tabs<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  11. 11. What are Custom Actions?<br />Tabs<br />Organize a set of groups<br />Contain one or more controls<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  12. 12. What are Custom Actions?<br />Controls<br />Button<br />Checkbox<br />Color Picker<br />Combo Box<br />Drop Down<br />Flyout Anchor<br />Insert Table<br />Label<br />Menu<br />Menu Section<br />MRU Split Button<br />Most Recently Used<br />Spinner<br />Split Button<br />Text Box<br />Toggle Button<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  13. 13. What are Custom Actions?<br />Bits of XML<br /><CustomAction<br /> Id=“MyCustomAction”<br />Location=“Microsoft.SharePoint.SiteSettings<br /> … /><br />Links<br /><CustomAction…><br /> <UrlActionUrl=“http://www.foo.com” /><br /></CustomAction><br />JavaScript (optional)<br /><CustomAction …><br /> <UrlActionUrl=“javascript:DoSomething();” /><br /></CustomAction><br />Code Behind (optional)<br /><CustomAction<br /> …<br />ControlAssembly=“MyCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=63316a326e123aec"ControlClass=“MyCode.Class“ /><br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  14. 14. What are Custom Actions?<br />Can be bound to…<br />Lists<br />Tasks, Document Libraries, Custom, etc.<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  15. 15. What are Custom Actions?<br />Can be bound to…<br />File Types<br />By Extension - .docx, .pl, .foo, .bar<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  16. 16. What are Custom Actions?<br />Can be bound to…<br />Content Types<br />Tasks, Documents, Custom<br />All (0x)<br />http://go.gvaro.net/bbYxRy<br />Programmatic Identifiers<br />Tasks List (107)<br />Content Types (0x)<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  17. 17. Building Custom Actions<br />SharePoint Designer 2010<br />Visual Studio 2010<br />CKS:DEV<br />Adds Custom Action Item Templates<br />http://cksdev.codeplex.com/<br />NotePad?<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  18. 18. Building Custom Actions<br />SharePoint Designer 2010<br />Build Custom Actions<br />List Item Menu<br />List View, Edit, Display Forms<br />Visual Studio 2010<br />Import from WSP file<br />Package<br />Add Functionality<br />Deploy<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  19. 19. DEMOS!<br />Building Custom Actions in SharePoint Designer 2010Importing Custom Actions into Visual Studio 2010Listing All Custom ActionsUsing CKS:DEVCustom Action GroupsHiding Custom ActionsMaybe more?<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  20. 20. Bonus Round!<br />Referencing JavaScript Files<br />Jan Tielens on EUSP<br />http://go.gvaro.net/dvCSS6<br />Can Add JavaScript into the HEAD of a page using a Custom Action<br />Location references “/_layouts/” always<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  21. 21. References<br />Default Custom Action Locations and IDs<br />http://go.gvaro.net/98xD4r (MSDN)<br />Custom Actions on my Blog<br />http://go.gvaro.net/dZS9NJ<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  22. 22. References<br />UrlAction Tokens<br />{ListId}<br />GUID representation of the list<br />{SiteUrl}<br />References the URL of the SPWeb context the action is called from<br />{RecurrenceId}<br />Unsupported in context menus<br />http://go.gvaro.net/bHaqaQ<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  23. 23. References<br />Eric Kraus<br />Listing all Custom Actions in the Farm w/ PWS<br />http://go.gvaro.net/bD7OHm<br />MSDN<br />Custom Action Definition Schema<br />CommandUIDefintions, Extensions, Handlers<br />CustomAction, CustomActionGroup, HideCustomAction<br />Default Locations and IDs<br />http://go.gvaro.net/9q0QV2<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  24. 24. References<br />WictorWilén<br />Creating Custom Ribbon Extensions<br />Part 1 - http://go.gvaro.net/aFUwBW<br />Part 2 - http://go.gvaro.net/aGlydC <br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  25. 25. References<br />My Blog<br />www.geoffvarosky.com<br />Creating Custom Actions with SharePoint Designer<br />Default List Type IDs<br />Deploying Custom Actions Across All List Types<br />Custom Actions in SharePoint 2007<br />SPBasePermissions Enumeration (Rights)<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  26. 26. geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  27. 27. Meets 2nd Wednesday/Month<br />6P – 8PM<br />Microsoft N.E.R.D. Center<br />http://www.bostonsharepointug.org<br />Twitter: @BASPUG / #BASPUG<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  28. 28. Q&A<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />
  29. 29. About Me<br />Geoff Varosky<br />Grace Hunt<br />SharePoint Solutions Group<br />Director, Development & Evangelism<br />Blogger, Author, Speaker<br />BASPUG Co-Founder<br />SPS Boston Co-Organizer<br />Blog : www.sharepointyankee.com<br />Email: gvarosky@gracehunt.com<br />Twitter: @gvaro<br />geoffvarosky<br />gvarosky@gracehunt.com [email]<br />www.gracehunt.com [web]<br />sharepointyankee.com [blog]<br />@gvaro [twitter]<br />

×