Questions tagged [custom-actions]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k 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
0 answers
274 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 Url="/_layouts/Workflow.aspx?ID={ItemId}&amp;List={...
2 votes
2 answers
1k 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 ...
0 votes
1 answer
2k 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 ...
1 vote
2 answers
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
2 answers
5k 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
0 answers
426 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
1 answer
462 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
1 answer
127 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 ...
2 votes
2 answers
211 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
1 answer
3k 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 ...
0 votes
1 answer
3k 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 xmlns="http://schemas....
1 vote
0 answers
121 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
2 answers
2k 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 ?
2 votes
1 answer
179 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
1 answer
260 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 sharepoint ...
1 vote
1 answer
2k 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
2 answers
3k 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 ...
1 vote
1 answer
705 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
0 votes
2 answers
3k 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 ...
5 votes
4 answers
10k 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
2 answers
3k 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 control ...
2 votes
2 answers
5k 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
2 answers
4k 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 ...
2 votes
1 answer
4k 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
1 answer
609 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 . . . http://intranet/contracts/lists/otasks/createrenewal.aspx?CN={0}&Rep={1}&Man={2}&End={3}&CC={4}&AC={...
0 votes
0 answers
358 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 ...
1 vote
1 answer
2k 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
1 answer
395 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 ...
11 votes
1 answer
13k 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 ...
0 votes
1 answer
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
1 answer
2k 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
2 answers
164 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 ...
4 votes
2 answers
1k views

Creating custom Actions within an Retention Policy

Does anyone know, either via the object model or through xml, if you can create custom actions for a retention policy, which is defined as part of an Information Management Policy? I know that you ...
4 votes
3 answers
2k views

Central Admin Custom Action menu not appearing?

I am trying to add a custom Menu item under "Site Collections" in central admin. Following is my elements.xml file. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas....
0 votes
1 answer
1k 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 System....
1 vote
1 answer
1k 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" Location="...
1 vote
2 answers
345 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
1 answer
98 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 ...
2 votes
2 answers
1k views

How to add a custom link to Central Admin quick launch?

I'm attempting add a page for my collection of apps to the Central Admin quick launch in SharePoint 2010: alt text http://img411.imageshack.us/img411/2808/customappcentraladmin.png Following ...
1 vote
3 answers
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 ...
7 votes
2 answers
478 views

Is it possible to add custom actions to a version?

I need to add a custom action to versions of a file. Optimally, I want it on the Version History page: A second best would be the version display form (the result of clicking View on the previous ...
1 vote
1 answer
1k 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 xmlns="http://...
1 vote
2 answers
183 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" RegistrationType="...
6 votes
2 answers
2k views

Unable to hide LoginAsDifferentUser menu in SP2010

I need to hide the "Sign In as Different User" option on the "Welcome" menu for all users. This is for SharePoint 2010. I have tried adding a customaction feature using the xml below, which didn't ...
9 votes
2 answers
15k views

How do you create a Ribbon Button custom action that will appear on all kinds of lists

I want to create a ribbon button that will work with all kinds of lists. I mean, the same custom action should work against lists, document libraries, Announcement lists, etc.. Also. It should work ...
1 vote
1 answer
429 views

Unable to add button to a custom list

I'm trying to add button to a custom list. It seems impossible to me, below is my button definition from elements.xml <CustomAction Id="CopyTasksButton2" Location="CommandUI.Ribbon" ...
2 votes
1 answer
3k views

Hide "New Site" on Site Actions menu?

Using SharePoint 2010, how do I remove "New Site" from the Site Actions menu. I believe I can do this through permissions but would like to remove for all users (and replace with a custom action link)...
1 vote
4 answers
943 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 ...

1
3 4 5 6
7