Custom actions enables expanding or extending the standard behavior of SharePoint 2010 core components.

learn more… | top users | synonyms

1
vote
1answer
265 views

Hide Custom action in sharepoint 2013 ribbon

I want to hide the New Folder ribbon menu item for all document libraries. I have used this code but it is not working. What am I missing? <CustomAction ...
1
vote
2answers
2k views

Custom Button added in Ribbon is disabled

I have successfully added a new button in the ribbon. But when I check , it is disabled and I cannot even click it. The following is the code that I have used: <?xml version="1.0" ...
1
vote
2answers
679 views

LinkButton with click method doesn't work

I have an issue with LinkButton in my toolbar, basically i deployed a custom action which adds a link button to the menu, this link button on click should do some task like adding an item, but this ...
1
vote
3answers
131 views

Minimizing the loadtime

I work with a sandboxed solution which is deployed in a .wsp file. The solution mostly contains our webparts. The pages that contains these webparts, are slow at startup, but it seems that there is ...
1
vote
1answer
217 views

MenuItemTemplate calling a method instead of URL

How can I add my method instead of URL of a website, I can see another option as "ClientOnClickScript" but not sure how exactly I can do it tho, here's my code public class MyUserControl: WebControl ...
1
vote
2answers
1k views

(Sandbox solution) Ensure my javascript file is loaded after core.js

Using a CustomAction in the location of a scriptlink, I'm inserting a javascript code, however I need this code to run after core.js runs. Does anyone know how I can achieve this? My CustomAction ...
1
vote
1answer
473 views

perform action on incoming mail

I need to perform simple decoding of .eml files and adding some contents from it to a list. I have already written the .eml decoding part and adding stuff from it to list, but i need to tell ...
1
vote
1answer
161 views

How to control Display Order in Custom Site Actions

There is a way to control the display order for custom actions added to Site Action menu? Always, new added custom actions are added to the end of the OOTB list.
1
vote
3answers
2k views

How do I programmatically disable (i.e. “grey out”) a custom action menu item?

Obviously, this is something I need to do just in certain circumstances (determined by the current contents of a list). The reason I want to keep the action visible is to set its description to say ...
1
vote
1answer
30 views

Update an already deployed custom action

How can I modify the CommandAction associated with a CommandUIHandler that has already been deployed and activated through a feature? I need to change the javascript code that gets executed when the ...
1
vote
1answer
57 views

Disabled custom action tooltip

Some custom actions in SharePoint display an additional message with possible reason of the action being disabled. Is there a simple way of adding such a message only when the action is disabled (for ...
1
vote
1answer
331 views

How to remove custom action/link from list item menu?

In SharePoint 2013, using Designer 2013, I created a custom action for a list while creating a new form for it. Then I scrapped the new form. I actually did this twice. Now, in the list's item ...
1
vote
1answer
254 views

Unable to hide the ribbon button using custom action

I have created one content type inheriting from Pages content type, and applied it to Pages library in publishing web. I want to hide the Publish button from the ribbon. To do so, I have created one ...
1
vote
1answer
150 views

Script file file not being loaded through ScriptLink custom action - SharePoint app

I am having trouble with script link custom actions. I am building a SharePoint app, and I successfully added a site-scope custom action pointing to a script file in the Style Library, as I want this ...
1
vote
1answer
96 views

Add custom sub tab under contextual library tools tab in ribbon

I want to create copy paste functions for document library in SharePoint 2010 I want to create it as a new custom sub tab under library Tools. How can this be done?
1
vote
1answer
190 views

Hide / Show custom action in ribbon conditionally

I have a question regarding Custom actions: Basically what I would like to have is a custom action to shown only when the list.RootFolder.Properties.ContainsKey(). This action is located in the ...
1
vote
1answer
2k views

Custom Ribbon Actions/Commands for SharePoint 2013 HTML Editor

I would like to provide more ribbon options to content editors than are available out-of-the-box in a SharePoint 2013 publishing site. For example, I would like to allow editors to select a HTML ...
1
vote
2answers
258 views

Custom action doesn't navigate to another site

I have an issue with custom action. Here is the definition of my custom action: <CustomAction Id="GoToDefi" Title="Go To" Description="Go To" ...
1
vote
1answer
61 views

obtain actions from ecb

is there a way how to obtain the default list of custom actions in ECB ? I tried list.UserCustomActions but it returns only custom actions added by user. In my case it returned 0. I would like to ...
1
vote
2answers
388 views

Custom action or a specific list in SP 2007

I have a question regarding the custom action, basically I would like to create a custom action in ribbon for only ONE SharePoint list, this list already exist and i cannot and i dont want to modify ...
1
vote
1answer
1k views

Custom Ribbon button in Calendar event edit form SP2013

I am trying to define a ribbon button that appears in the calendar new event and/or modify event form using Visual Studio. I am perfectly able to have a ribbon button appear in the list view and ...
1
vote
3answers
283 views

SPWeb = this.Web always points to Central Administration?

I'm learning SharePoint 2010 and facing a strange problem : I implement a custom action to add a ribbon button under Documents tab, this button has a command to open a modal dialog in my site which ...
1
vote
1answer
190 views

Customactions not binding to content type

Facing a strange and frustrating issue just before Christmas :-( Heres the scenario: I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint ...
1
vote
1answer
948 views

Can not find web.Config of Empty SharePoint Project to Create an authorized type entry

I'm trying to write a custom workflow action and after searching I find this article and some other that referred to it. I follow the instructions step by step, but at the last step, author said: ...
1
vote
2answers
4k views

How to add a button at Page tab ribbon when add webpart?

I have a webpart with custom setting. I add 2 property to webpart setting. I want add button to Page tab ribbon when webpart added to page and value set for the property. It is possible that add a ...
1
vote
1answer
327 views

Custom action for context menu in Site Content and Structure

I'm trying to add a custom action to the context menu in the Site Content and Structures view: However I can't find the location ID I need to use - Microsoft.SharePoint.StandardMenu doesn't seem to ...
1
vote
2answers
2k views

Use View Ribbon Custom Action on Multiple List Items

I create a View Ribbon-scoped custom action using SPD 2010 that runs some Javascript. If I create it in an ECT list I can use it with multiple items. However, if I create it in a standard SharePoint ...
1
vote
1answer
1k views

custom actions are not visible

I have a custom action for the menu, but I can not see it. 1. I am site collection admin 2. I checked the feature and its there 3. I checked the package and is there 4. I checked the 14 hive and ...
1
vote
1answer
600 views

Dropdown in ribbon is not visible - TemplateAlias problem?

I have the following code, the button is shown but the dropdownlist is not visible. I think the problem is with templatealias, but I dont understand very well how this thing works
1
vote
1answer
578 views

Creating Workflow -> Error

When I try to create a new WF in my Sharepoint Designer I get following error: The list of workflow actions on the server references an assembly that does not exist. Some actions will not be ...
1
vote
1answer
496 views

How to Stop ECT Action from Using ActionRedirect

If I create an Action on an External Content Type with a URL such as this . . . ...
1
vote
1answer
865 views

Conditionally Show/Hide/Disable Custom Workflow Action Buttons

I have three custom action buttons on a list created through SharePoint Designer. All three buttons execute a workflow and I need to show/hide or enable/disable the buttons based on certain conditions ...
1
vote
1answer
1k views

How to check if current folder in document library has child items via JavaScript client object model?

I have a custom button on ribbon, which performs some action with current folder (download folder content as zip package). I want to disable this button in case if current folder doesn't contain any ...
1
vote
2answers
303 views

list customactions and rights

we have a custom action for list settings, that requires ManageLists rights: <CustomAction Id="fear.is.the.path.to.the.dark.side" Location="Microsoft.SharePoint.ListEdit" ...
1
vote
1answer
79 views

List’s contextual menu issue with ie 6

I have a list with a large amount of items. When scrolling down to edit/view an item which is at the bottom of the page, the contextual menu appears on top of the page not by the item so I have to ...
1
vote
1answer
78 views

SPD Workflow Custom Action - Cannot create unknown type

I have written a custom workflow activity in Visual Studio 2012. I have deployed the dll and allowedtypes.xml etc etc and it is showing up when I look in Sharepoint Designer to add an action. I can ...
1
vote
0answers
39 views

Download Multiple Documents from share point 2013 Document Library

I need to download multiple documents from share point document library from a custom ribbon button. Do we have any free source code such as Devianpoint to achieve this. I tried deploying the WSP, ...
1
vote
1answer
57 views

How to get Page Library Id and Page Id in ribbon custom action for Publishing Pages?

I have the following custom action declaration: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction ...
1
vote
0answers
68 views

Add a reference to a JavaScript file in a custom action for a provider hosted app

I have a custom ribbon button in my app where I am trying to add logic to enable/disable the button based on whether or not the selected items are records. I am able to get the EnabledScript attribute ...
1
vote
1answer
124 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 ...
1
vote
1answer
66 views

Custom action sequence number

I do not understand how does the sequence number work in custom action definition. How can I decide my custom position (which number should I use?) <CustomAction Sequence="600">
1
vote
1answer
75 views

How to add custom group in list setting page?

I want to add one custom action in my custom group. I have done following for that <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomActionGroup ...
1
vote
2answers
342 views

Custom ribbon button action always disabled when command is defined

I want to add new button to the ribbon in Pages library. To do so, I have following code: <CustomAction Id="Ribbon.PublishTab.Publishing.Actions.UploadDocumentButton" ...
1
vote
1answer
15 views

Features on a list

How can I see the features attached to a list? (ex: which feature create an item custom action)
1
vote
0answers
137 views

Unable to add custom action in Ribbon.PublishTab.Workflow group

I have a Pages library in which I want to place the custom action to start workflow on the page. The action simply redirects to the initiation form of workflow. My XML code for custom action is as ...
1
vote
1answer
40 views

Document set ribbon allows creation of documents

I have a library with document sets. Normally in the ribbon under "New document" I can only create new document sets when I'm in the top most level. Only when I am inside a document set this ribbon ...
1
vote
0answers
169 views

How to get the document id in custom Action - SharePoint 2010?

I am trying to implement a simple solution to support short URLs on SharePoint 2010. The idea is to make use of the document id(I guess, it should not cause any performance impact) and allow the users ...
1
vote
0answers
198 views

How to create a Custom Expiration Action with input parameters

I'm currently creating custom expiration formulas and actions, using the IExpirationFormula and IExpirationAction interfaces, in Sharepoint 2010. I add the custom action to the ...
1
vote
0answers
353 views

Change Ribbon Button Enabled-Function

I want to change the EnabledScript function of a existing Ribbon Button (Upload Document) but keep everything else, like the original CommandAction it executes on click. More specifically I would like ...
1
vote
0answers
265 views

Top Navigation Bar link custom highlight

Is there a way to automatically set which link in the top link bar is selected, even if you're not on that page that the link points too. I'll explain my problem. I have a top link bar with an option ...