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

learn more… | top users | synonyms

9
votes
2answers
11k 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 ...
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 ...
4
votes
4answers
3k 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
8k 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 ...
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 ...
3
votes
3answers
4k 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?
0
votes
2answers
48 views

How to add a custom action to the list ribbon?

How to add a custom action to the list ribbon? The custom action should open a sitepage in modal popup.
0
votes
1answer
852 views

Registering pageComponent using ClientObjectModel

is there any ways to register PageComponent using client object model? I want to add custom action on the edit form with dynamically populating FlyoutAnchor. But when page has been loaded i recieve ...
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 ...
2
votes
2answers
2k 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) ...
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 ...
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 ...
5
votes
4answers
6k 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 ...
1
vote
1answer
368 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
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"> ...
0
votes
1answer
347 views

Custom workflow activity for SP 2007 appears in Designer's action picker but won't add

This is SharePoint 2007. I created a custom workflow activity in Visual Studio 2008 (using this and a few other blogs as a reference). I deployed it properly, I think. I can go into SharePoint ...
3
votes
2answers
961 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
2answers
500 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 ...
1
vote
1answer
3k views

Adding custom button to ribbon - Button doesn't get displayed

I'm trying to add a custom button to a SP2010 ribbon in the DisplayFormToolbar for a list item. The list is external, although I don't think that matters but still... This is my custom action ...
0
votes
2answers
200 views

Custom action doesn't appear

I have an issue with custom action in SharePoint 2007, basically i have the following custom action declaration: <Elements Id="CF60B88A-783A-44f8-A49D-43659AB51G7E" ...