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

learn more… | top users | synonyms

1
vote
3answers
123 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
205 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
443 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
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
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 ...
1
vote
1answer
159 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
23 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
28 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
76 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
89 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
148 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
1k 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
3answers
630 views

Localize a CustomAction programmatically

I work in a farm environment and i want to add a CustomAction in a specific SPList. The list is created programmatically, so i cannot know the ID. For that i tried to register the action with ...
1
vote
2answers
232 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
60 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
340 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
273 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
180 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
828 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
319 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
1answer
944 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
572 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
483 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
483 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
773 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
298 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
78 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
45 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
34 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
117 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
72 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
29 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
133 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
153 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
316 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
235 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 ...
1
vote
1answer
2k views

SharePoint app get path of selected document

In a SharePoint app i have a custom action in a document library that navigates to an .aspx page. How do I get the full path of a selected document in that .aspx page? <CommandUIHandlers> ...
1
vote
0answers
219 views

Hide Approve/Reject button for the user who has created request

I want to Hide the Approve/Reject button from the top ribbon, specifically for the users who has created the request and placed for approval. Currently, If user ABC has created request and XYZ has to ...
1
vote
0answers
508 views

SharePoint 2013 display usage reports for custom events

I created custom usage event type and button described on this page: http://technet.microsoft.com/en-us/library/jj715889.aspx Everything is working fine - I can find logs files with this event ...
1
vote
0answers
273 views

SP2010 Custom action runs sandboxed but not as farm solution

Short version: Which changes need to be made to convert a custom workflow action, developed in VS2010, from a Sandbox to a Farm solution. Assume it is a placeholder with no logic added yet. Long ...
1
vote
0answers
117 views

Ribbon Custom action for creating new page

I would like to create a new Ribbon Custom action for creating new page, because I want to have more control on creating new page. I have created a SharePoint hosted app and added new ribbon custom ...
1
vote
0answers
12 views

Action / TASK assignment

I have created site with actions/tasks assigned to several team members . How can we set the permission levels such that people are able to see only task assigned to them in outlook as well from the ...
1
vote
0answers
78 views

Hiding Custom Action for Just one document library

I have a custom action deployed for a site collection, now if I want to hide it for a custom document library is it possible. Also this is what I am doing actually, can you think a better way of ...
1
vote
0answers
234 views

Trying to convert a SP2010 document version to a PDF generates SPException: List does not exist

I am trying to modify an existing SP2010 custom workflow action that converts an existing document to PDF using Word Automation. There is a new requirement to only convert the last published version ...