Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Ribbon UI and Custom Actions in SharePoint 2010.

Similar presentations


Presentation on theme: "The Ribbon UI and Custom Actions in SharePoint 2010."— Presentation transcript:

1 The Ribbon UI and Custom Actions in SharePoint 2010

2

3

4  Geoff Varosky  Jornata  Managing Consultant, Senior Architect, Senior Developer, Director of Evangelism  Co-Founder Boston Area SharePoint Users Group  Co-Organizer SharePoint Saturday Boston  Blog – www.SharePointYankee.comwww.SharePointYankee.com  Email – geoff@varosky.comgeoff@varosky.com  Twitter – @gvaro  LinkedIn & Facebook

5  Introducing the Ribbon UI  Demo  What are Custom Actions?  Demo  Resources  Q&A

6

7

8  Anything that can be put into an HREF anchor tag or “link” linky linky

9

10  Can be bound to…  Lists  Tasks, Document Libraries, Custom, etc.

11  Can be bound to…  File Types  By Extension -.docx,.pl,.foo,.bar

12  Can be bound to…  Content Types  Tasks, Documents, Custom  All (0x)  http://go.gvaro.net/bbYxRy  Programmatic Identifiers  Tasks List (107)  Content Types (0x)

13  SharePoint Designer 2010  Build Custom Actions  List Item Menu (Context Menu)  List View, Edit, Display Forms  Visual Studio 2010  Import from WSP file  Add functionality  Package  Deploy

14  ~site  Site (Web)  ~sitecollection  Site Collection  {ItemId}  GUID representation of the current item  {ItemUrl}  URL of the current item  {ListId}  {ListURL}  {RecurrenceId}

15

16  Id (optional)  Specifies a unique identifier for custom action  May be a GUID or a unique term  Example: DeleteWeb  GroupID (optional)  Identifies the unique group that this element is contained in  Example: SiteTasks

17  Location (optional) – Specifies the location for this custom action – Example: Microsoft.SharePoint.SiteSettings  RegistrationType (optional) – Specifies the list, item content type, file type, or programmatic identifier that this action is associated with – Example: List

18  RegistrationId (optional) – Specifies the registration attachment for a per-item action – Example (List Identifier – Task List): 107  {$ListId:Lists/Tasks;}  (http://snipurl.com/ntd5g)http://snipurl.com/ntd5g  Title (required) – Specifies the name of your action – Example: DeleteWeb

19  Description (optional) – Longer description for action which is shown as a tooltip or sub-description (where applicable) for the action – Sequence (optional) – The order in which your action will appear. – If not specified, displayed in the order it is read by SharePoint by Feature and by order in element listing (XML).

20  {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 http://go.gvaro.net/bHaqaQ

21

22  MSDN  Custom Action Definition Schema  CommandUI Defintions, Extensions, Handlers  CustomAction, CustomActionGroup, HideCustomAction  Default Locations and IDs  http://go.gvaro.net/9q0QV2 http://go.gvaro.net/9q0QV2  Eric Kraus  Listing all Custom Actions in the Farm with PowerShell  http://go.gvaro.net/bD7OHm

23  Wictor Wilén  Creating Custom Ribbon Extensions  Part 1 - http://go.gvaro.net/aFUwBW  Part 2 - http://go.gvaro.net/aGlydC  Using JavaScript + Custom Actions to navigate Document Libraries  http://go.gvaro.net/h2w8mN

24

25  Meets 2 nd Wednesday/month  6-8PM  Microsoft N.E.R.D. (Cambridge)  BostonSharePointUG.org  Twitter: @BASPUG / #BASPUG

26

27  Geoff Varosky  Jornata  Managing Consultant, Senior Architect, Senior Developer, Director of Evangelism  Co-Founder Boston Area SharePoint Users Group  Co-Organizer SharePoint Saturday Boston  Blog – www.SharePointYankee.comwww.SharePointYankee.com  Email – geoff@varosky.comgeoff@varosky.com  Twitter – @gvaro  LinkedIn & Facebook


Download ppt "The Ribbon UI and Custom Actions in SharePoint 2010."

Similar presentations


Ads by Google