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.
3. About Grace-Hunt, LLC. Microsoft Gold Partner Based in MA North East, Mid-Atlantic, and South East Practice Areas Portals and Collaboration Information Worker Solutions Networking Infrastructure Solutions Dynamics CRM, SL, GP, NAV Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
4. Drop by the Grace-Hunt & AvePoint Booth to enter to win a Netbook! Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
5. Remember to fill out your evaluations to win these prizes! 2 Apple 32GB iPads w/ Wifi 2 Asus NetbooksBooks 1 Typemock Isolator License A 2-5 Day Course from SetFocus on SharePoint Telerik RAD Controls Set 1 DeliverPointWFE 2010 license (Worth $1500) 1 BCS Meta Man license (Worth $1200) 1 Lightning Conductor 2010 WFE license (Worth $800) 1 Lightning Storm Forums license. (Worth $600) 2 ASUS Netbooks Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
6. Big thanks to all Sponsors for making SPS NYC possible! Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
7. Agenda What are Custom Actions? Demonstrations Using SharePoint Designer Importing Into Visual Studio Finding Custom Actions Building and Deploying in Visual Studio Reference Q&A Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
8. Tell me now, who are you working for, and what are these “Custom Actions” you speak of?AND NO SPRINKLES! GOD HELP YOU IF I FIND SPRINKLES! Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
9. What Are Custom Actions… Site Actions Menu Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
10. What Are Custom Actions… Ribbon UI Ribbon Tabs Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
11. What Are Custom Actions… Site Settings Menu Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
12. What Are Custom Actions… Custom Action Group Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
13. What Are Custom Actions… Edit Control Block (ECB) / List Item Menu Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
15. The Ribbon Tabs Organize a set of groups Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
16. The Ribbon Tabs Contain one or more controls Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
17. The Ribbon http://go.gvaro.net/ap68oX Controls Button Checkbox Color Picker Combo Box Drop Down Flyout Anchor Insert Table Label Menu Menu Section MRU Split Button Most Recently Used Spinner Split Button Text Box Toggle Button Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
18. What Are Custom Actions… Bits of XML JavaScript (optional) Code Behind (optional) Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
19. What Are Custom Actions… Can be bound to… Lists Tasks, Custom, Document Libraries, etc. Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
20. What Are Custom Actions… Can be bound to… File Types By Extension (.docx, .xlsx) Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
21. What Are Custom Actions… Can be bound to… Content Types Tasks, Documents, Custom Content Types All Content Types (0x) http://go.gvaro.net/bbYxRy Programmatic Identifiers Tasks List (107) Content Types (0x) Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
23. Building Custom Actions SharePoint Designer 2010 Build Custom Actions List Item Menu List View, Edit, Display Forms Visual Studio 2010 Import from WSP file Package Add Functionality Deploy Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
24. DEMOS!Building Custom Actions in SharePoint Designer 2010Importing Custom Actions into Visual Studio 2010Listing All Custom ActionsUsing CKS:DEVCustom Action GroupsHiding Custom ActionsMaybe more? Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
25. Bonus Round… Referencing JavaScript Files Jan Tielens on EUSP http://go.gvaro.net/dvCSS6 Can Add JavaScript into the HEAD of a page using a Custom Action Location references “/_layouts/” always Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
27. References UrlAction Tokens ~site References the current SPWeb context ~sitecollection References the current SPSite context {ItemId} GUID of the item action is called from {ItemUrl} URL of the item the action is called from Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
28. References UrlActionTokens {ListId} GUID representation of the list {SiteUrl} References the URL of the SPWeb context the action is called from {RecurrenceId} Unsupported in context menus http://go.gvaro.net/bHaqaQ Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
29. References Eric Kraus Listing all Custom Actions in the Farm w/ PWS http://go.gvaro.net/bD7OHm MSDN Custom Action Definition Schema CommandUIDefintions, Extensions, Handlers CustomAction, CustomActionGroup, HideCustomAction Default Locations and IDs http://go.gvaro.net/9q0QV2 Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
31. References My Blog www.geoffvarosky.com Creating Custom Actions with SharePoint Designer Default List Type IDs Deploying Custom Actions Across All List Types Custom Actions in SharePoint 2007 SPBasePermissions Enumeration (Rights) Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com