Questions tagged [ecb-menu]
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.
62
questions
0
votes
1
answer
21
views
ECB Menu "strAction" last value array
Created an Element in the ECB menu with dynamic items, when you try to access an item by clicking, the entire array is traversed and the last item is substituted, help the clicker to display the value ...
1
vote
1
answer
986
views
Hide edit menu ellipsis in Sharepoint 2013 Document Library
I have a Document Library in Sharepoint 2013 with a Name (linked to document with edit menu) column which has an edit menu ellipsis. I need to keep this column but hide the ellipsis (this is because, ...
1
vote
1
answer
905
views
Add sharepoint menu ellipsis to end of Document Library using javascript
I have a document library in SharePoint 2013 with a number of different views and I want to add the menu ellipsis (...) at the end of each view by using javascript in the masterpage. I know how to do ...
2
votes
1
answer
271
views
Create a link on Document Library Context menu targeting Doc Library & File Type
I am creating a custom action on a SharePoint Online site. I would like a button to pop up for all docx file types in a specific document library, not all document libraries.
it looks like I only ...
1
vote
0
answers
35
views
Sharepoint-hosted Add-In EditControlBlock select multiple files
I can send only one file to my plugin:
I want to send multiple files to my app. Is it possible?
Here is how I add menu item to menu:
<?xml version="1.0" encoding="utf-8"?>
<Elements ...
3
votes
0
answers
290
views
Add UserCustomAction (ECB) for a group of checked items
I've found many code examples online showing how to add a User Custom Action to ECB from JavaScript. Take this one, for example.
I've adapted and used the code, and it successfully adds a menu item ...
0
votes
1
answer
388
views
A Sharepoint 2013 ECB (Edit Control Block) menu position issue with IE 11
You cannot vote on your own post
0
I have an ECB menu popup in SharePoint 2013. It works well in other browsers, but in IE it appears too far UP from a parent dialog when clicking on the ellipsis (.....
1
vote
1
answer
181
views
How do I make SharePoint 2013 menu open the content menu like in SharePoint 2010
Hi I'm basically trying to do this.
Sharepoint 2013: How to customize context menu view in document library
However even after I follow the instructions it doesn't work.
My code is
SPSecurity....
1
vote
2
answers
11k
views
How to prevent page refresh on click of menu item from ECB sharepoint online list?
I am adding a custom menu item in SharePoint Online ECB. I am using following code.
function AddCustomUserActionToECB() {
var testt = "javascript:callChatApp();";
var CstomAName = $("#text1").val();
...
3
votes
1
answer
93
views
Call a Workflow from Custom menu Item using Javascript
I have added a custom item in ECB menu using CSOM. Now i want to start a sharepoint designer workflow on click of this custom menu item .Can anyone suggest me how to achieve this
1
vote
0
answers
195
views
o365 group SharePoint list make another column clickable to open the underlying form
Within an o365 group, I've created a test SharePoint list based on Contacts app. I've added additional columns incl. FileRefNumber.
Currently the user has to click on LastName column to open the ...
2
votes
0
answers
80
views
How do you localize ECB custom actions?
I have created two custom action buttons using javascript but they need to be localized (fr/en). I have server side Resource files and client side ones as well.
This is how I'm creating the actions: ...
1
vote
1
answer
189
views
ECB Custom Actions are not showing up
So I'm trying to add two buttons to the ECB menu for a specfic document type. I've deployed and activated the feature but the actions are not showing up for my items. I'm using SharePoint 2016.
<?...
2
votes
1
answer
1k
views
How do you create custom actions in 2016?
I need to add both a custom ribbon button to change a field value of all selected items in a list/list-webpart and I'm interested in creating a custom action in the ECB (context menu) and hover panel ...
7
votes
3
answers
2k
views
Custom ECB-Menu Item which copies the Link of the document into the Clipboard
I would like to add an Item to the Edit Control Block Menu (ECB-Menu) (red marked in Screenshot), which copies when clicking on this Item (onClick) the link of the chosen document into the Clipboard. ...
1
vote
2
answers
739
views
Skipping Callout menu within context menu (ECB-Menu) in a list view of document library - SP2013
I would like to skip the preview-window (CallOut Menu) (red marked in my screenshot) within the context menu / ECB-Menu [(...)-Menu] of a document in a library shown in any list view and go straight ...
1
vote
1
answer
245
views
Context menu drop down in list datasheet view SharePoint 2013
How to Disable context menu in list datasheet view in SharePoint 2013?
My aim is to disable the rename column name in the Context menu in datasheet view.
9
votes
3
answers
5k
views
Hide options from ECB Menu in SharePoint 2013 Library
I have added a document in a document library. I am trying to hide an option from ECB Menu
How do you hide any options from ECB Menu?
Update: Each item has a column "x" with different values. So, ...
4
votes
1
answer
3k
views
Context menu not showing on right click
I don't understand how in SharePoint you can activate a right-click context menu on the rows of a list web part.
I have two different pages. In each page I have 4 views. For some reasons (?) in page ...
0
votes
1
answer
743
views
Adding ECB menu to document libraries
I am trying to add custom action to ECB menu but it is not working. Below is my code:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
&...
0
votes
1
answer
244
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:
2
votes
2
answers
246
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
1
answer
430
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
0
answers
710
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"?>
<...
1
vote
1
answer
991
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
0
answers
446
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 ...
1
vote
1
answer
707
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 ...
5
votes
3
answers
5k
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, ...
3
votes
3
answers
9k
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
1
answer
186
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
1
answer
579
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
2
answers
1k
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 should ...
4
votes
1
answer
432
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
1
answer
1k
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
1
answer
200
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.
2
votes
4
answers
4k
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
0
answers
63
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() {
...
2
votes
2
answers
2k
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
1
answer
1k
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}&ItemId={ItemId}&ItemUrl={ItemUrl}"/>
...
1
vote
1
answer
1k
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
0
answers
210
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 haven'...
0
votes
2
answers
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
1
answer
360
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
2
answers
1k
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
0
answers
274
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 Url="/_layouts/Workflow.aspx?ID={ItemId}&List={...
1
vote
0
answers
87
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 ...
2
votes
1
answer
1k
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 ...
9
votes
1
answer
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
1
answer
756
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
1
answer
742
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 ...