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

learn more… | top users | synonyms

1
vote
1answer
185 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
863 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
372 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
153 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
66 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
853 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
408 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
182 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
59 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
226 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
879 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
255 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
140 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
677 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
3k 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
309 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
870 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
524 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
382 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
453 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
659 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
278 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
76 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
102 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
109 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
253 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
189 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
1k 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
168 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
400 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
226 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
108 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
77 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
215 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 ...
1
vote
0answers
160 views

Start a workflow from the ECB

I want to add a custom action to the ECB to start a workflow automatically. To get to the workflow page I can do something like: <UrlAction ...
1
vote
0answers
101 views

SharePoint 2010: How to add custom element to Create menu?

I want to add custom element to SharePoint 2010 Create menu. (Site Actions -> View all site content -> Create). I want to to add this element to Page directory like a "Web Part Page" element. How can ...
1
vote
3answers
4k views

Update multiple items, Sharepoint workflow activity

I am new to share point, and I am trying to get my workflow to update every item in a list that match a particular expression. for instance lastname = 'smith'. From my understanding the update item ...
1
vote
1answer
1k views

Custom Workflow and Task Time Limits

I have created a custom workflow for an approval process. The workflow is designed to accomplish this task by using the “Collect data from user (Output to variable: collect)” action. I wish to assign ...
1
vote
2answers
166 views

Custom actions migration from SP 2007 to 2010

I have custom action defined in my SharePoint 2007 feature. It adds new item to document library menu. <CustomAction Id="UserInterfaceLightUp.MobiusDiscretionaryArchivingLibMenu" ...
0
votes
2answers
803 views

Get web config setting value in javascript

Best way to get from a custom action js command an webconfig appsetting key value, or another similar approach. ideas? thanks. Reference a .js file on a custom action elements.xml on my ...
0
votes
2answers
1k views

How to get custom action to a SharePoint list actions menu for a specific list or content type?

I add custom action to a sharepoint list actios menu for all list . I want get custom actions that define for a special list in VS. How to get custom action ?
0
votes
1answer
78 views

How to deploy a custom ribbon tab across Root Sub-Levels?

I have a custom ribbon tab that works perfectly on the root Site, e.g. www.site.com/Lists/MainContentType/AllItems.aspx But it does not work on subsites e.g. ...
0
votes
4answers
845 views

Add Menu Item To Actions Menu UrlAction

I am attempting to call an .aspx page from a custom "Actions" menu item that I have added using xml. However, I cannot get the UrlAction path setup correctly. Everything I try fails with the ...
0
votes
2answers
499 views

get a list of items inside a folder in document library

I built the following code so far: SPWeb web = __Context.Web; Guid listGuid = new Guid(__Context.ListId); SPList myList = web.Lists[listGuid]; SPListItem myItem = ...
0
votes
1answer
941 views

Custom Action and Group

I'm creating a link and put it in the site action container. The link should only be visible to members in the HR groups. Here is the declaration in my Elements.xml file <Elements ...