The ECB (Edit Control Block) menu is a menu associated with the title column of document libraries and lists, and allows special controls specific to an item to be accessed through a popup menu.

learn more… | top users | synonyms

0
votes
1answer
38 views

How to add the document context menu to any column other than Name in a documet library?

I've tried this other solution for lists, and it also works for document libraries but it doesn't add the menu that I need. This is the menu that gets added: And this is the one I need to add:
0
votes
0answers
19 views

change text of ECB menu sharepoint 2013 e.g Workflow text to something else [duplicate]

I would like to add a custom text instead of the Workflow text in the ECB menu. Any ideas on how i can achieve this? Thanks In Advance
2
votes
2answers
72 views

Hide ECB menu in a single web part

I have a web part that displays frequently asked questions on a landing page for a SharePoint site. I've already managed to hide column headers in the web part to make it a little neater by using: ...
1
vote
1answer
123 views

Add Print Item Custom Action To ECB Dropdown Menu

I am trying to make a print item on the ECB dropdown for a list item that allows printing of the item by clicking the menu item. I can add the print item as below but how do I trigger a print when it ...
0
votes
0answers
39 views

Sharepoint 2013 - DetailForm with webpart list - Delete Item redirect

I have created a parent child list structure in SP 2013. Following this tutorial: http://summit7systems.com/creating-a-parentchild-list-relationship-in-sharepoint-2013/ Now everything works great, ...
0
votes
0answers
216 views

ECB custom action item issue

I deployed a custom ECB item action, I can see it at item level but when I click on it, nothing change. This is the definition of the custom action: <?xml version="1.0" encoding="utf-8"?> ...
0
votes
1answer
262 views

ECB custom action by visual studio

How can I create a new ECB custom action by Visual Studio. Which kind of project do I need to create?
1
vote
0answers
118 views

Unable to download a copy of a document

I have a document type that I am unable to use the ECB menu item 'download a copy'. I get a runtime error when trying to download. Looking at the URL it is unable to get the url for the file I want to ...
0
votes
1answer
158 views

Get ctx based on list GUID

I want to get list ctx based on GUID. My requirement is to develop a context menu security webpart. I want to display the list/library context menu items in my application page which is user ...
1
vote
2answers
989 views

Remove item from ECB in sharepoint 2013

I am currently trying to write javascript within a script editor to hide the 'View Properties' and 'Edit Properties' items in the ECB. I have found many solutions that edit the core.js file. However, ...
0
votes
3answers
1k views

Links to local files from a SharePoint List

Ok, I am new to server side development (especially SP development) and I don't know if this is possible but here goes: I have a custom list which I populate from a local folder on my file system. ...
1
vote
1answer
123 views

Opening ECB resets custom href of list items

Once a page finishes loading, I use JQuery to change the href of every item based on some custom validation. So far so good but my problem is that opening the ECB will reset the href of that item. I ...
3
votes
1answer
339 views

JavaScript Validation in ECB for out-of-the-box menu items

Is it possible to add some kind of JavaScript validation to ECB items like Edit Item, Check Out and Workflows? What I want is a simple JavaScript alert and redirect to the list if the clicked item ...
3
votes
2answers
525 views

Show ECB menu item based on user permissions

I am using a Delegate control to add a menu item in SharePoint Edit control block. I want to show the menu item based on two conditions. Versioning of the list should be enabled. Current user ...
4
votes
1answer
303 views

ECB Menu HTML/JavaScript Getting Indexed By Google

I have an XsltListViewWebPart on a publishing page. I am using custom XSL to style the view; I am not even using the ECB menu. Why is Google indexing the ECB menu's HTML & JavaScript? When i ...
0
votes
1answer
645 views

Sharepoint 2013 ListView using GridView

So I have this problem. I have a list in the root site level. But I want this list to be managed by some subsites. For this reason I have to recreate some view of this list on different subsites, but ...
0
votes
1answer
139 views

Move Ecb in Document Library

How can I move the ecb (edit control block/context menu) from column "Name" to "Title" in a document-library? I know how to do It via SP-Designer, but would prefer a code-solution. Thanks in advance. ...
1
vote
3answers
2k views

sharepoint 2010 context menu event handler

i want to hide sharepoint 2010 list/library context menu based on users. i am using below javascript $(document).ready(function(){ $('.ms-MenuUIPopupBody').live('blur', function() { ...
0
votes
0answers
53 views

Hide SharePoint 2010 context menu [duplicate]

I am trying to hide the SharePoint 2010 context menu. I wrote the following code: $(document).ready(function(){ $('.ms-MenuUIPopupBody').live('blur', function() { ...
1
vote
2answers
1k views

Ajax web service call not working in chrome browser

Can any point me to the error am doing in this block of code. This is working fine in Internet Explorer and Firefox but not in Chrome. Chrome does not return the result. function ...
1
vote
1answer
891 views

Getting the Item ID from the ECB (Edit Control Block) using JavaScript

I know I can use {ItemId} to pass it to the URL like so: <UrlAction Url="~site/_layouts/ConvertItem/ConvertItem.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;ItemUrl={ItemUrl}"/> ...
1
vote
1answer
698 views

How to deploy custom context menu item?

I made a custom SharePoint application page and now I want to open it from edit control block (item context menu). My XML won't compile because it is telling me that I have illegal characters in the ...
3
votes
0answers
177 views

Adding ECB to search results

I need to add the ECB functionality to the results of a document search (Core Search results). Does anyone know if this is possible? I was hoping to add this through the XSL of the web part but ...
0
votes
2answers
2k views

Open page as modal dialog from ecb

When I click manage permission button in ecb menu in a list a new user.aspx page is opened. I want to open this page in modal dialog. How can I do it? I know about msdn and this solutions, but the ...
0
votes
1answer
277 views

Change ECB link title to a workflow link

I created a workflow and published it to a list. The name of the workflow is Office Approval and its has to start manually. All is good but i would like to change the name of the title of the link ...
1
vote
2answers
748 views

Change the ECB menu based on content type

I have created Content types namely Folder content type and Document content type, the issue is when i click on the ECB menu at folder level i get an option Edit Folder Form but when i click on the ...
1
vote
0answers
187 views

Start a workflow from the ECB

I want to add a custom action to the ECB to start a workflow automatically. To get to the workflow page I can do something like: <UrlAction ...
1
vote
0answers
69 views

Accessing full url of 'View in browser' link in document library

I'm trying to get the url of the 'view in browser' link that appears in the context menu for a document in the document library. I have a custom command on the menu that I have created which calls a ...
1
vote
1answer
815 views

Library ECB shows “Change New Button Order” for all users

We have a document library which has content type management enabled. The library allows two content types, one based on Document, the other on Document Set. We also have a custom action attached to ...
7
votes
1answer
3k views

Context Menus - Send To not working in IE9

I have a document center with a custom master page. The page is designed with IE9/HTML5/CSS3 in mind. In my other question, I worked out how to fix the IM Presence icons by fixing some core ...
0
votes
1answer
614 views

How can I bind my ECB-Action to a custom content-type?

I have implemented a custom ECB Action in this way: <CustomAction Id="ConvertListLevel" Location="EditControlBlock" Title="Convert to ListItem" RegistrationType="ContentType" ...
1
vote
1answer
567 views

How to handle the ecb menu CSS?

I have hidden the ECB menu from the task/DocLib lists, and I am using jquery to truncate the title field into 50 char and remaining will be displayed in the jquery popup. Even though I have removed ...
1
vote
3answers
3k views

Disable or hide delete button on condition

I have a list called Tenders. I need to make sure that when Tender status field is set to "open" no one can delete it. Ideally would be if I won't see options in ecb and ribbon. It is not connected to ...
1
vote
2answers
1k views

How To Hide the “Check Out” from ECB Menu in 2007

I've tried all the Blog techniques but must be missing something. I need to hide the "Check Out" Edit Control Block Menu Item on a Form Library but I don't want to modify the Masterpage with a custom ...
6
votes
2answers
2k views

Sending documents as e-mail attachments

We have document library where we store various types of documents (word, ppt, infopath templates etc..) The requirement is to send them as e-mail attachments directly from SharePoint Document ...
0
votes
3answers
2k views

Edit ECB menu items for non-code & code method

How to edit ECB menu items in SharePoint 2007 using non-code method & code method?
2
votes
3answers
2k views

SP2010 Remove options from the Site Actions Menu

For a publishing site, I'm able to add Custom Actions to the site actions menu. Now I would like to hide all the default ones (except Edit Page). I tried to do this with the HideCustomAction Element ...
10
votes
5answers
13k views

Display the Sharepoint context menu in list items on another column instead of Title column?

In SharePoint Lists, we can define new View and select the columns that we want to show. I don't want to show the Title column but I also want to show the default Context Menu for the0 items on List. ...
2
votes
3answers
547 views

UrlAction in elements.xml throwing a could not be found error

In my Elements.xml file I have the following: <UrlAction Url="~site/_layouts/test/page.aspx?ListId={ListId}&amp;ItemId={ItemId}&amp;ItemUrl={ItemUrl}"/> When the ECB item is selected ...
3
votes
1answer
188 views

Getting the path of a an item on using UrlAction and JavaScript

I have a custom ECB menu item. I want to get the path of the file that has been right clicked and alert it using JavaScript. Is this possible?
4
votes
3answers
2k views

Remove “Download a Copy” from Sub Menu

I am not allow to modify the core.js so that's not my option. I am allow to add a content editor. I just need to remove the "Download a Copy" from submenu. (this is just for a particular library). The ...
0
votes
1answer
131 views

Custom ECB Not Working in Personal Views

I spent a lot of time creating a custom ECB in WSS. This ECB uses javascript and .Net code to give the user a lot of options on a certain list. Some of these options send the user to other pages or ...
1
vote
1answer
695 views

Custom ECB dropdown menu API?

In 2010 (or 2007) is there a server control that is responsible for rendering of ECB menus? For example, if I wanted to create a custom UI for a Document Library (NOT using XSL/DataViewWebPart/etc), ...
1
vote
2answers
562 views

Can application pages be attached to a specific list

I have a scenario where I need to create an application page that is installed to the ECB menu of a specific list only. Is this possible? or is the only way to do it associating the elements file with ...