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

learn more… | top users | synonyms

0
votes
2answers
303 views

Create a Ribbon for one list only and change it depending on a value

So, I created a custom list named "Events" and one named "attendees" for an event-management-solution (lets call it attendee training) in a site-collection at my SP2010 Server. My Problem: I want to ...
1
vote
3answers
118 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
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
1answer
191 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 ...
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 ...
0
votes
1answer
326 views

Custom Actions all document libraries

I want to develop a "Custom Action" for all of document libraries in a site collection, I tried looking on Google but couldn't find any relevent tutorial. Custom action has to be in "Actions" and ...
1
vote
2answers
927 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 ...
0
votes
1answer
142 views

Access Denied on Custom Page deployed to Central Administration

I deployed a custom application page to central admin. http://msdn.microsoft.com/en-us/library/ff798467.aspx If I am a farm administrator and the central admin site collection administrator I can ...
1
vote
0answers
222 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 ...
0
votes
1answer
1k views

custom wcf binding set dynamically from code

I am developing a workflow custom action that uses a wcf webservice. The thing is, I have no proper way to attach the app.config file so I'd have to generate the bindings and the client endpoints ...
0
votes
2answers
517 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 = ...
1
vote
1answer
395 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 ...
0
votes
0answers
649 views

custom action rights

I have a sharepoint 2010 site with a library. this library has three subfolders. the system admin has full control over the whole library. All users have read only rights to the whole library. ...
0
votes
1answer
1k views

CustomAction on document library not visible

the scenario is the following 1. We have a site called meetings with 2 subsites for special meetings, Executive COmmitee, and Board of DIrectors 2. In each of those sites, a different meeting site is ...
1
vote
0answers
166 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 ...
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 ...
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 ...
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
1answer
310 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 ...
0
votes
1answer
1k views

Setting the default ribbon tab to a custom tab in SharePoint 2010?

Ok - So I have a shared documents library - and like many posts before me I would like to make the default tab on the ribbon a custom tab that I have made. Can someone tell me how to edit the URL ...
0
votes
2answers
916 views

Change javascript onclick for “add new item” link under list

I made some custom list definitions in Visual Studio 2010 and deploy them to SharePoint 2010. I also made a Visual Web Part with a form. With this form I'm able to feed multiple of my lists with just ...
0
votes
1answer
108 views

How to quickly get the EditForm look and feel and functionality and customize it?

I have developed a custom ASPX page (a SharePoint application page) which is used as a replacement for the default EditForm. I need to have some fields available for editing (so, not all as 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 ...
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
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 ...
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 ...
0
votes
1answer
2k views

Custom Action for a custom Content Type's display form

I have a custom action that I'd want to add to my custom display form of my custom content type My custom action is: <?xml version="1.0" encoding="utf-8"?> <Elements ...
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 ...
0
votes
1answer
321 views

open new item form through custom action

I have created a custom action which visible to user on "Issue" Display Form. I have another list called "Note" which has a look field (Type of Issue) called Issue. Basically there is one to many ...
1
vote
3answers
5k 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 ...
0
votes
1answer
811 views

How can I modify a list property from a custom action using the client object model?

My task is to process selected items of some list. Can I change some field value from the client object model ? I found some solution like this: <?xml version="1.0" encoding="utf-8" ?> ...
0
votes
1answer
188 views

Custom Activities and Update to web.config with authorized types

I have a vs solution with: One class library with custom activities. One sharepoint project with a mapped folder to the workflow folder in the 14 hive and the custom actions entries. One ...
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
57 views

Microsoft Sharepoint 2007 - Having limit of max absence (MC,Leave) function?

I've just joined a company, and they threw me their sharepoint website which had functions up and running, including the Absence and Leave Calendar. Currently the absence and leave calendar functions ...
1
vote
1answer
895 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 ...
0
votes
2answers
2k views

write to the workflow history list programatically

I have a sharepoint designer workflow with many Log to history activities to know where the workflow is. I also have 2 custom activities with some complex logic and try catch code. I would like to ...
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) ...
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 ...
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 ...
0
votes
2answers
856 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 ...
1
vote
1answer
537 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
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 ...
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 ...
1
vote
1answer
411 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 ...
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
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 ...
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
464 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
688 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 ...
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 ...