Tagged Questions

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

1
vote
0answers
24 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
48 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 ...
0
votes
2answers
121 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
0answers
76 views

Getting custom actions of a context menu to display on a content query web part

I have a situation where a SharePoint site has some custom actions on its document library context menu – both 3rd party and a simple bespoke action I have developed. Now, the custom actions work ...
0
votes
1answer
242 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
76 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
206 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 ...
2
votes
1answer
364 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
229 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
418 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
106 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
50 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() { ...
0
votes
1answer
53 views

Enable ECB only for particular extension

I have created an ecb on document library. I want it to show only for particular extension, I know it could be done by editing core.js but is there any other way of doind it ? Thanks
1
vote
2answers
770 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
724 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
532 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
154 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
227 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
517 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
160 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
61 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
663 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 ...
6
votes
1answer
2k 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
512 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
513 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
995 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
1k 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 ...
5
votes
3answers
11k 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
508 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
183 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
129 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
639 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
557 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 ...