Posted in July 23, 2009 ¬ 6:01 pmh.
Occassionally when creating a WSS 3 Feature you will be deploying into an environment that has grown “organically” and now requires some functionality to be developed beyond the capabilities of the standard SharePoint web interface or SharePoint Designer. In this case, we had a requirement to add a menu item to the menu that appears for each item in a SharePoint list – the “ECB” (Edit Control Block) menu (the “Send to Administration” link below):
Whilst you can easily create a menu item that appears only for a generic type of list (by using a RegistrationType of “List” and RegistrationId of “100″ for all lists, or “101″ for document libraries for instance), and you can also create a menu item for a specific content type (by using a RegistrationType of “ContentType” and a RegistrationId of “[all digits after ctype= parameter]“), it’s not immediately obvious how to generate an ECB Menu item for a SPECIFIC custom list. The way you do this is to: Example of what part of your elements.xml file will look like:
<CustomAction Id="CampaignOpp.SendToAdministration" RegistrationType="ContentType" RegistrationId="0x0100474BBA4EC75C724FB75F41D8E6E4E29801" ImageUrl="/_layouts/images/32316.GIF" Location="EditControlBlock" Sequence="240" Title="Send to Administration" > <UrlAction Url="~site/_layouts/MyFeature/SendToAdministration.aspx?ItemId={ItemId}&ListId={ListId}"/> </CustomAction>
发表评论
-
Creating Hierarchical Menus with a CustomAction in SharePoint
2011-11-17 14:11 920原文链接 http://weblogs.asp.net/j ... -
SharePoint Custom Action Identifiers
2011-11-16 13:48 1011原文链接 http://johnholliday.net/ ... -
Filtering with SPGridView
2011-10-12 15:23 772原文链接 http://vspug.com/bobsbon ... -
SPGridView: Adding paging to SharePoint when using custom data sources
2011-10-11 16:55 1097原文链接 http://blogs.msdn.com/b/ ... -
SPGridView and SPMenuField: Displaying custom data through SharePoint lists
2011-10-11 16:14 1296原文链接 http://blogs.msdn.com/b/ ... -
How to work around bugs in the SPGridView control
2011-10-11 16:10 831原文链接 http://blogs.msdn.com/b/ ... -
How to add a custom action to a SharePoint list actions menu for a specific list
2011-10-11 10:56 958原文链接 http://www.nearinfinity. ... -
Adding CheckBoxes in SharePoint GridView (SPGridView)
2011-10-10 17:01 971原文链接 http://www.c-sharpcorner ... -
SharePoint的列级安全性
2011-10-10 11:25 1161原文链接 http://www.infoq.com/cn/ ... -
在 SharePoint 中自定义审核
2011-10-09 16:59 1737原文链接 http://msdn.micr ... -
SharePoint 2007 and Windows WorkFlow Foundation: Integrating Divergent Worlds
2011-10-09 16:32 1430原文链接 http://www.developer.com ... -
通过 STSDEV 简化 SharePoint 开发
2011-09-30 15:58 1299原文链接 http://msdn.microsoft.co ... -
计算字段公式
2011-09-30 15:47 899原文链接 http://msdn.microsoft ...
相关推荐
- **Custom Actions:** Custom actions extend the SharePoint user interface by adding new commands or modifying existing ones. - **Ribbons:** Ribbons provide a customizable toolbar for SharePoint pages....
Adding New Hardware for Avaya
- **Importing a Custom BCS Model to SharePoint**: Readers learn how to import a custom BCS model to SharePoint, allowing for the integration of external data sources. - **Exporting SharePoint BCS ...
超棒的Android的OpenGL ES入门...OpenGL ES Tutorial for Android – Part IV – Adding colors OpenGL ES Tutorial for Android – Part V – More on Meshes OpenGL ES Tutorial for Android – Part VI – Texture
综上所述,"a example of adding backfround and texture for image"这个项目涵盖了OpenCV中的多个核心概念和技术,包括图像合成、图像融合、色彩空间转换、图像分割以及纹理应用。通过学习和实践这个项目,可以深入...
Tabby (Cat), is a simple sample application demoing the features of the new Chrome Custom Tabs support library for Android. Using this application you can demo: Coloring the toolbar Displaying the ...
### ArcGIS Server 9.2帮助文档翻译(7)Adding Custom Functionality #### 知识点解析 **一、Multi-Resource Web ADF 架构** - **资源(Resource)与功能(Functionality)**:从编码的角度来看,资源(Resource)是指`...
– Adding random code – Make classes unreadable (so classes cannot get directly decompiled) – String Obfuscation But why should you choose Obfuscator Pro? Obfuscator Pro makes it nearly impossible ...
PowerCommands 1.1 is a set of useful extensions for the Visual Studio 2008 adding additional functionality to various areas of the IDE. The source code is included and requires the VS SDK for VS 2008 ...
unity代码混淆加密插件Obfuscator Pro 3.3 此扩展要求每个用户一份授权 ...– Adding random code – Make classes unreadable (so classes cannot get directly decompiled) – String Obfuscation
Methods for adding comments that display both the formula and value of a cell, which can be useful for documentation purposes. **Read Comments from a Cell (Page 21)** Instructions on reading ...
– AUTOSAR 4.3 – fixing some transformer bugs, adding support for large UDP messages with SOME/IP-TP as well as SOME/IP-SD optimizations • It relies on using Ethernet and TCP/IP. • vsomeip – ...
Fingers is your one stop choice for all gesture handling in Unity (and other C# platforms as Fingers has no Unity specific code). Fingers has been tested and runs great on MAC, Windows, iOS and ...
Paginate Android library for creating simple pagination ...Custom SpanSizeLookup for the loading list item when GridLayoutManager is used (by default loading list item will use full span) Custo
Learn to use the document and picture libraries for adding and editing content, add discussion boards and surveys, receive alerts when documents and information have been added or changed, and ...
### SAP Fiori - 在六步内添加自定义工作流 #### 概览 本文将详细介绍如何在SAP Fiori环境中通过六个步骤实现自定义工作流的添加。此过程旨在为那些希望利用SAP Fiori的强大功能来提升业务流程管理效率的企业提供...
Coder For VB adds a toolbar to enable easy access to the tools you require, as well as adding them to the code popup menu and the menu bar. Most of the tools are also available using keyboard ...