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

learn more… | top users | synonyms

9
votes
2answers
12k views

Show custom action in ribbon for only one list

Does anyone knows how to show a custom action in the ribbon for only one list? At this moment I've got multiple custom lists, but my button is added on all of them. I only want to show it on one ...
8
votes
1answer
7k views

How do I show a loading div when opening a modal dialog from a CustomAction?

I have created a new CustomAction which is a new item (link) in Site Actions menu. When you click it, it opens a modal page (aspx). Everything works fine, but it takes about 3 seconds to open the ...
7
votes
2answers
369 views

Is it possible to add custom actions to a version?

I need to add a custom action to versions of a file. Optimally, I want it on the Version History page: A second best would be the version display form (the result of clicking View on the previous ...
6
votes
1answer
583 views

How to make custom workflow activity parameter optional

I'm developing a custom Sharepoint 2010 workflow activity and I need some of it's parameters to be optional. For example, I need a user, using Sharepoint Designer, to be able to specify document path, ...
6
votes
2answers
2k views

Unable to hide LoginAsDifferentUser menu in SP2010

I need to hide the "Sign In as Different User" option on the "Welcome" menu for all users. This is for SharePoint 2010. I have tried adding a customaction feature using the xml below, which didn't ...
5
votes
4answers
7k views

Get current web url in a SPRibbon Custom Action Command

I've a SPRibbon custom action with the purpose of open an custom app page in a modal dialog, but I'm getting troubles for getting the current web URL, as well, set a reference for a .js with the right ...
5
votes
1answer
271 views

Need help specifying the location of a Custom Action

Spawned from this question. I have been able to add a new link to my Central admin page under the Monitoring->Timer Jobs section. My problem is that I have been unable to figure out how to add it ...
4
votes
4answers
4k views

Custom activity created and appearing in Actions list in SPD, but cannot select it

I've been following several examples regarding custom actions. I've been trying to deploy my own one, but although I can see the action inside SPD, when selected it doesn't appear in the workflow ...
4
votes
2answers
2k views

Where do “My site” and “My profiles” links come from?

Under the personal action menu, there are two links : My site My profile I'm trying to understand how they are generated and by which component/feature. However the highest container in the ...
4
votes
2answers
9k views

How do you create a Ribbon Button custom action that will appear on all kinds of lists

I want to create a ribbon button that will work with all kinds of lists. I mean, the same custom action should work against lists, document libraries, Announcement lists, etc.. Also. It should work ...
4
votes
3answers
1k views

Central Admin Custom Action menu not appearing?

I am trying to add a custom Menu item under "Site Collections" in central admin. Following is my elements.xml file. <?xml version="1.0" encoding="utf-8"?> <Elements ...
3
votes
2answers
2k views

Hide start workflow menu

I want to hide "start workflow" menu with hidecustomaction This example is from a sharepoint book. <HideCustomAction Id="RemoveRibbonButton" ...
3
votes
3answers
5k views

How do I create a Custom Action for a Workflow?

I need to create a Custom Action that's displayed in the Action list for a Workflow. How would I go about this?
3
votes
2answers
2k views

How to add a custom action in Ribbon.EditingTools.CPEditTab.Markup with SharePoint Designer or PowerShell?

I'm trying to add a custom action in the Ribbon.EditingTools.CPEditTab.Markup group. My goal is to add a button that fires a custom javascript that inject som html content in the rich editor control ...
3
votes
1answer
223 views

Custom Action Safe Control 2007

In extension to this question of mine, If I put location of custom action as "Location="Microsoft.SharePoint.StandardMenu" it gives me error Failed to create a control from assembly '', class ...
3
votes
2answers
977 views

Creating custom Actions within an Retention Policy

Does anyone know, either via the object model or through xml, if you can create custom actions for a retention policy, which is defined as part of an Information Management Policy? I know that you ...
2
votes
1answer
2k views

How to add Two java script file in element .xml

I am using 2 button in custom tab and each button has a .js file to load . Could you please say me how to use 2 .js file in the same element .xml and here is my code for element xml <?xml ...
2
votes
2answers
947 views

Customizing social tags and notes buttons on the ribbon

I want to change social tags and notes buttons in the ribbon, but I don't know how and even if it is possible. So we have 2 social buttons in the ribbon, I like it and Tags & notes. I want to ...
2
votes
2answers
182 views

Accessing the propery bag from an elements.xml file

I want to access some configuration data stored in the property bag. I want to access this information from a elements.xml file. This elements.xml file contains a Ribbon with Tabs and Buttons. Is ...
2
votes
2answers
3k views

Remove button from Ribbon in a specific toolbar

I need to remove 'Upload Document' button from the Ribbon on a Document Set library, with the toolbar set to "None". I can successfully remove it from the Full Toolbar (which is the default one) ...
2
votes
2answers
2k views

CustomAction : Put JavaScript code in a dedicated file

I have a custom action that look like this : <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyCustomAction" Location="CommandUI.Ribbon"> ...
2
votes
1answer
107 views

Hide action from list settings

I want to hide/disable/remove the link Form settings from all lists in my site collection. How do I go about this? I think I can do this on a per site basis using HideCustomAction but I don't know ...
2
votes
2answers
2k views

Ribbon Button Not Working In Home Page (Home.aspx) And Any Site Pages

I've created a "Hello World" ribbon button as per MSDN code sample: http://msdn.microsoft.com/en-us/library/ff630938.aspx The "Hello World" ribbon button is working only in AllItems.aspx (i.e. In the ...
2
votes
1answer
2k views

Hide “New Site” on Site Actions menu?

Using SharePoint 2010, how do I remove "New Site" from the Site Actions menu. I believe I can do this through permissions but would like to remove for all users (and replace with a custom action ...
2
votes
1answer
74 views

Custom Site Action flyout menu

I want to upgrade the look-and-feel of a solution I'm working on. Right now the Administrators have an additional option in the Site Actions menu where I've added a Custom Action which takes them to a ...
2
votes
1answer
349 views

Information needed to get specific list / user group

I am working on a Custom Action that I want to add to all list instances as well as all user groups. The purpose is to export the list / group as a document to allow the user to export it when Client ...
2
votes
1answer
18 views

How to add a text to a body using custom action

Currently I created an action button to my Blog Posts using SharePoint hosted solution. So when an item is created or edited, the user will be able to add content from the host web dialog back to the ...
2
votes
1answer
649 views

How can we create custom actions in new/edit/display form SharePoint ribbon?

We are using SharePoint 2013 for intranet portal. Not apps. We have a document library with documents. On clicking the document we get it opened in a modal popup. On the ribbon of this display form ...
2
votes
1answer
285 views

Custom Action in user dropdown

Im trying to implement a custom action in the logged in user dropdown (when you click 'sp_admin' in the image below). The custom action should be a text called "Switch user", which when clicked ...
2
votes
2answers
760 views

'Custom Action' on SharePoint 2010 List, Ribbon etc

What are the situations when we must use 'Custom Action' on SharePoint 2010 List, Ribbon etc. many times same functionality can be achieved by other means also. Why 'Custom Action' is must in that ...
2
votes
3answers
2k views

list item menu's custom action on content type (only SPD2010)

Is it possible to have a custom action List Item Menu in a document library on a specific content type, created in SPD 2010? In code I know is possible, but I'd rather try it out in SP Designer. Also, ...
2
votes
1answer
2k views

Javascript call to NewItem2 error “TypeError: Cannot read property 'tagName' of undefined”

Overview I have a CustomAction for a button on the ribbon that calls a command in a javascript file. The command fails in the inplview.debug.js file on the following lines (1745 - 1748) in the ...
2
votes
2answers
513 views

Caml defined Custom Action, UrlAction and the multi language interface

When defining a custom action via the CAML schema definition, the UrlAction parameter specifies the "site or site collection relative URL of the page, for example, ~site/_layouts/sampleurl.aspx or ...
2
votes
2answers
791 views

How to add a custom link to Central Admin quick launch?

I'm attempting add a page for my collection of apps to the Central Admin quick launch in SharePoint 2010: Following SharePoint's out-of-the-box behaviour, a custom action group like this should be ...
2
votes
1answer
118 views

Add custom action to the ribbon as submenu of a button

I have a question regarding how to add a custom action to the ribbon as a part of a sub action of existing button. I think the screenshot will make it clear: So i would like to add a custom action ...
2
votes
0answers
68 views

How to implement a custom action to run code with access to the current item columns

I am using sp2013. I have a custom list which is using a custom content type. I would like to implement some link or button which is running some code. First you will need to select a listitem. In ...
2
votes
0answers
717 views

Is it possible to add a CustomAction in a SharePoint 2013 Survey Settings menu?

We have an application deployed on SharePoint 2013. Part of the application adds custom items to the ribbons of lists and libraries and the edit control block of list and library items. This is the ...
2
votes
1answer
132 views

Load List Item Ribbon tab on page load when using Page in Pages Library

My question is a little bit different than the other missing / loading ribbon questions and I'll explain why. In order to properly style my application, I've created a page in the Pages Library and ...
2
votes
0answers
302 views

SP2010 Ribbon add confirm logic on publishing a page

I need to display a confirm popup when page is published to warn about unpopulated publishing page fields. User might contiune in which case page will be published, or user might cancel publishing. ...
1
vote
2answers
376 views

How can the deployment of a feature (or element) be made dependent on the SharePoint version (2010/2013)?

I have a solution (deployed in the Sandbox) that declaratively creates CustomActions (menu items). It works fine in SharePoint 2010 and 2013, but we don't like the look in 2013 so I'd like to exclude ...
1
vote
1answer
1k views

How get item in CommandUIHandler EnabledScript use javascript

can anyone help me with the problem: I have a list external items from my system and i add a custom button on a ribbon. My item has a state and depending on the state my button should be available or ...
1
vote
5answers
3k views

How to create workflow & submit data using infopath form?

I have designed the Form in InfoPath. I want to submit the form's data in my Sharepoint site. Sothat the supervisor(the higher level)person can check the details and he can Approve/Reject the ...
1
vote
2answers
1k views

Adding button to ribbon in CommandUI.Ribbon

I'm trying to add a button to the ribbon, in the same place the default "I Like It" and "Tags & Notes" buttons are located. I the elements.xml file for this feature (SocialRibbonControl) and tried ...
1
vote
1answer
2k views

Reference a javascript script in a ribbon custom action xml

Reference a .js file on a spribbon custom action elements.xml on my javascriptmethods.js file: function test(){ alert('test message.');} on my custom action elements.xml: <CustomAction ...
1
vote
1answer
705 views

hide ribbon menu for workflow

I want to hide the workflow button: Ribbon.List.Settings.ManageWorkflows Which scope should the feature have (web or site)? Now I try: <HideCustomAction Id="RemoveRibbonButton" ...
1
vote
1answer
203 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
1answer
226 views

Application Page deployed to Central Admin does not show

Hi Guys I have this problem: I want to deploy a custom application page to the SharePoint Central Administration. I found these 2 links: ...
1
vote
2answers
1k 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
1answer
774 views

I'm looking for a way to detect the ribbon load event

I'm looking for a way to hide a button from the ribbon using javascript, but to do this I need to wait until the elements of the ribbon are loaded. Is there a way to detect such event?
1
vote
2answers
408 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 ...