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

learn more… | top users | synonyms

1
vote
1answer
2k 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
6k 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
2k 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
809 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
322 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
918 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
141 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
229 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
1answer
502 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
162 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
57 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
95 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
900 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
354 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
206 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
117 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
225 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
1answer
271 views

Custom ribbon checkbox works in Firefox, not in Internet Explorer

I'm trying to add a new checkbox in the Edit link tab of a rich editor field (in a publishing site). Specifically, in the behavior group. I set up a new site feature, activated, that contains this ...
1
vote
2answers
270 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
431 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
305 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
197 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
1k 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
332 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
627 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
649 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
509 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
939 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
313 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
83 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
0answers
7 views

CompilerError occurs in Custom Activity - after publish and running manually workflow

Background I have a custom activity that I developed a year ago for a site in SharePoint 2010. The custom activity calls a string method which contains three strings parameters. Here is the relevant ...
1
vote
0answers
26 views

Custom Action not showing on Site Settings pages

I have a little (crude) javascript function that should add a javascript file to every page on my site using custom actions (including the subsites via a recursive function). It seems to work well on ...
1
vote
1answer
156 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
49 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
146 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
110 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
186 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
123 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
552 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)