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

learn more… | top users | synonyms

0
votes
1answer
943 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
151 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 ...
3
votes
2answers
958 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
3answers
1k 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 ...
0
votes
1answer
563 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
649 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
2answers
267 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
75 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
2answers
760 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: Following SharePoint's out-of-the-box behaviour, a custom action group like this should be ...
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 ...
7
votes
2answers
336 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 ...
0
votes
1answer
937 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 ...
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" ...
6
votes
2answers
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 ...
4
votes
2answers
8k 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 ...
0
votes
1answer
407 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
1answer
2k 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 ...
0
votes
4answers
843 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 ...