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

learn more… | top users | synonyms

2
votes
0answers
313 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
321 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
1k 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
110 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
184 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
102 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
341 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
862 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
197 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
60 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
960 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
1k 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
580 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
509 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
535 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
487 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
809 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
3answers
14k 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 ...
0
votes
0answers
262 views

Custom Action for BDC Entity adds Plus Symbols in Query String Parameters

Using the web interface in SharePoint 2010, I add a custom action to one of my Business Data entities (External Content Type) to navigate to a URL with some parameters in the query string. The link ...
6
votes
1answer
610 views

How to make custom workflow activity parameter optional

I'm developing a custom Sharepoint 2010 workflow activity and I need some of it's parameters to be optional. For example, I need a user, using Sharepoint Designer, to be able to specify document path, ...
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 ...
2
votes
1answer
358 views

Information needed to get specific list / user group

I am working on a Custom Action that I want to add to all list instances as well as all user groups. The purpose is to export the list / group as a document to allow the user to export it when Client ...
0
votes
1answer
1k views

How to execute code for custom menu action?

I have a custom menu action, declared like this: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="ConvertListLevel" ...
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 ...
0
votes
2answers
155 views

Custom SharePoint Designer 2007 Workflow Activity Works on Test Server, but not production [closed]

Right now I have a Custom Workflow Activity, I've developed on a test server and it's working fine. However when bundled into a .wsp on the test server and deployed to production, SharePoint Designer ...
10
votes
1answer
8k 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
2answers
2k views

Ribbon Button Not Working In Home Page (Home.aspx) And Any Site Pages

I've created a "Hello World" ribbon button as per MSDN code sample: http://msdn.microsoft.com/en-us/library/ff630938.aspx The "Hello World" ribbon button is working only in AllItems.aspx (i.e. In the ...
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.
0
votes
1answer
655 views

Workflow Custom Action Error

I wrote a quick custom action for SharePoint Designer workflow. SPD recognizes the action and lets me add it, and specify my variables. When I go to publish it I receive errors (0, 0) Type ...
1
vote
1answer
747 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" ...
3
votes
2answers
2k views

Hide start workflow menu

I want to hide "start workflow" menu with hidecustomaction This example is from a sharepoint book. <HideCustomAction Id="RemoveRibbonButton" ...
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" ...
4
votes
3answers
6k 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?
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 ...
4
votes
4answers
4k 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 ...