Custom actions enables expanding or extending the standard behavior of SharePoint 2010 core components.
1
vote
1answer
869 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
385 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
4answers
3k 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 ...
3
votes
2answers
1k 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
2answers
833 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">
...
9
votes
2answers
6k 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 ...
2
votes
2answers
955 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
2k 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
299 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 . . .
...
0
votes
0answers
171 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
1answer
637 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
237 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 ...
6
votes
1answer
3k 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
1answer
699 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
664 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
131 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
728 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 ...
2
votes
3answers
964 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
358 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
426 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
206 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
69 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
630 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
1k 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 ...
5
votes
2answers
266 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
840 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
140 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"
...
5
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
5k 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
371 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"
...
1
vote
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
804 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 ...
