Questions tagged [custom-actions]

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

110 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
320 views

Custom Actions in OneDrive for Business

I am trying to add menu options to the Command Bar and the List Item context (ECB) menu in OneDrive for Business. To do this I'm following the same patterns I use when adding menu options to the ...
8
votes
2answers
2k views

Custom ribbon button action always disabled when command is defined

I want to add new button to the ribbon in Pages library. To do so, I have following code: <CustomAction Id="Ribbon.PublishTab.Publishing.Actions.UploadDocumentButton" Location="CommandUI.Ribbon"&...
7
votes
1answer
2k views

Is it possible to add a CustomAction in a SharePoint 2013 Survey Settings menu?

We have an application deployed on SharePoint 2013. Part of the application adds custom items to the ribbons of lists and libraries and the edit control block of list and library items. This is the ...
4
votes
0answers
456 views

SharePoint Online Ribbon Custom Action : Pass multiple itemId in CommandAction's Url

I am developing custom ribbon action using SharePoint hosted app. and this is working fine.When i select any list item and click on custom action then i can get selected list item id. <...
3
votes
1answer
511 views

What is the correct way to create a custom action using REST API in SharePoint Online?

I'm trying to use Microsoft Flow and the Send an HTTP request to SharePoint action to deploy an SPFx application customizer to a modern team site. I'm able to use the /_api/Site/UserCustomActions ...
3
votes
0answers
178 views

Add UserCustomAction (ECB) for a group of checked items

I've found many code examples online showing how to add a User Custom Action to ECB from JavaScript. Take this one, for example. I've adapted and used the code, and it successfully adds a menu item ...
3
votes
1answer
43 views

full control site setting

In site setting I want to hide a link in the Site Actions group from the Full Control users. Anyone can point me to the right direction?
3
votes
0answers
34 views

Controlling visibility of custom actions depending on views

I am building a Sharepoint Online site which is heavily dependent on workflows. I am using custom actions for workflows which are to be manually started by the user on demand. In some cases, custom ...
3
votes
0answers
134 views

How to create custom action using SharePoint hosted app

Is it possible to create "custom action" under the "Site Action" menu in "HOST WEB" using SharePoint Hosted App.? We do not want to follow the native method of packaging all the necessary files ...
3
votes
0answers
886 views

{StandardTokens} token in CommandAction Url does not get replaced

I have a provider hosted add-in running on a SharePoint Online development site that has several lists as part of the solution. My goal is on when somebody clicks a Ribbon CustomAction associated ...
2
votes
0answers
39 views

Recent Modern Document Library Webpart Break Query String Placeholders in Custom Actions

I am a targeted release user. Recently, an update to Sharepoint Online modern webparts occured. Some of the features of this release included the ability to count and sum list columns. Apparently, ...
2
votes
0answers
24 views

SP13: Add+ AppearsBut Form Does not Open

So, I ran across this issue in the past but the Add+ did not appear for any of the calendar dates. This is a different issue. The Add+ does appear for all dates but on a certain date range the Add+ ...
2
votes
2answers
937 views

SharePoint Designer Workflow - Wait for Field Change help

i'm fairly new to SharePoint and i'm having some trouble trying to create a fully functional workflow for a certain job in SP Designer and was hoping somebody may be able to come up with a solution? ...
2
votes
1answer
112 views

Its possible to hide custom actions based on that feature activation?

I've created a Sharepoint context menu custom action and I want to display the it when the feature is activated. how can i do this ? Code: <CustomAction RegistrationType="rt1" RegistrationId="...
2
votes
1answer
401 views

Add a quick Step for an item

In Sharepoint 2013, I have created a quick step for a list, and it shows up just fine, but what I really want is a quickstep when the user is editing one item. I have tried creating a "Custom Action" ...
2
votes
3answers
2k views

How to get workflow instance's Title/Name property using WorkflowServicesManager in SharePoint 2013

I am trying to iterate, all the workflow instances belonging to the particular listItem in a custom activity for SharePoint 2013 visual studio custom workflow. WorkflowServicesManager ...
2
votes
1answer
841 views

SPD Workflow Custom Action - Cannot create unknown type

I have written a custom workflow activity in Visual Studio 2012. I have deployed the dll and allowedtypes.xml etc etc and it is showing up when I look in Sharepoint Designer to add an action. I can ...
2
votes
0answers
155 views

Download Multiple Documents from share point 2013 Document Library

I need to download multiple documents from SharePoint document library from a custom ribbon button. Do we have any free source code such as Devianpoint to achieve this. I tried deploying the WSP, as ...
2
votes
0answers
349 views

Can't create Custom Action in Display Form Ribbon when using InfoPath form?

I have a SharePoint list which uses InfoPath forms. I've created a Custom Action on SharePoint Designer for that list, located on the Display Form Ribbon, but when I go to view an item there is no ...
2
votes
0answers
386 views

Add a reference to a JavaScript file in a custom action for a provider hosted app

I have a custom ribbon button in my app where I am trying to add logic to enable/disable the button based on whether or not the selected items are records. I am able to get the EnabledScript attribute ...
2
votes
0answers
239 views

How to implement a custom action to run code with access to the current item columns

I am using sp2013. I have a custom list which is using a custom content type. I would like to implement some link or button which is running some code. First you will need to select a listitem. In ...
2
votes
0answers
361 views

How to create a Custom Expiration Action with input parameters

I'm currently creating custom expiration formulas and actions, using the IExpirationFormula and IExpirationAction interfaces, in Sharepoint 2010. I add the custom action to the ...
2
votes
0answers
438 views

SP2010 Custom action runs sandboxed but not as farm solution

Short version: Which changes need to be made to convert a custom workflow action, developed in VS2010, from a Sandbox to a Farm solution. Assume it is a placeholder with no logic added yet. Long ...
2
votes
1answer
194 views

Load List Item Ribbon tab on page load when using Page in Pages Library

My question is a little bit different than the other missing / loading ribbon questions and I'll explain why. In order to properly style my application, I've created a page in the Pages Library and ...
2
votes
0answers
421 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
0answers
26 views

Custom Action in Sharepoint Online Homepage (Modern Experience)

I want to add a Custom Action on the Homepage of my Modern Sharepoint Online Site, the site that I'm talking about is a subsite. I know how to deploy the button on a List or Document type by ...
1
vote
0answers
38 views

Request Failed. Specified Argument was out of Range, Parameter Name: Index undefined

I have this custom action in sharepoint where the page will be redirected to another url but the components of the URL are dependent on a fielvalue in its parent folder, Request Failed. Specified ...
1
vote
0answers
48 views

SharePoint Online, Ribbon Custom Action - pass multiple id's instead of standard 'SPListItemId={SelectedItemId}'

How do You pass custom values from Custom Actions? I can create custom Custom Action and it works well with one listitem, but how to include my custom parameter in Custom Action? As I understand, ...
1
vote
0answers
29 views

Sharepoint User Custom ribbon Action to send email for selected items

how can i implement ribbon custom action functionality to send email for selected items in sharepoint online ? any sample code will be helpful
1
vote
1answer
347 views

CustomAction ScriptSrc not loading script

I have a script called Translate.js on my SharePoint online site. https://xxxx.sharepoint.com/sites/demo/Style%20Library/docs/Scripts/Translate.js When I use the code below and try to include the ...
1
vote
1answer
511 views

Custom Actions Display Form Ribbon not showing in my Site

HELP! I created a custom action ribbon , and set the location to Display Form Ribbon. But when i go to display form of my list i cant find any Ribbon there, can anyone please help me? thanks! I think ...
1
vote
0answers
85 views

How run custom actions for list on subsite

I made new solution for custom actions run by on custom ribon. Code from eventreciver: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPWeb web = properties....
1
vote
0answers
23 views

Trouble with SOD on Oslo masterpage

We are using John Liu's configure custom actions page to add some custom javascript to our site. We are using the Oslo master page which comes with the following five scriptlinks. <!--SPM:<...
1
vote
0answers
36 views

Hide a custom tab by javaScript only if webpart does not exist

I'm tying to hide a custom tab from a page only if a specific webpart does not exist on the page. I have the following code to get the list of the webparts on the page. How can I hide the tab only if ...
1
vote
0answers
66 views

How do you localize ECB custom actions?

I have created two custom action buttons using javascript but they need to be localized (fr/en). I have server side Resource files and client side ones as well. This is how I'm creating the actions: ...
1
vote
0answers
200 views

Custom Action CommandUIDefinition Location for Calendar All Events and Current Events Views

I am trying to create a custom Action for Ribbon Menu for calendar list for SharePoint using CSOM. I am able to create custom action for the calendar view Successfully with the below code, I am ...
1
vote
0answers
53 views

Skip confirmation page when starting workflow by custom action

Is there a simple way to skip the confirmation page/dialog when starting a manual workflow by custom action on the item?
1
vote
1answer
386 views

How to open any page on Custom Action(ribbon) with a items metadata in document library?in sharepoint online

here am trying to open new page by clicking on custom action(Ribbon) in document library using sharepoint designer here am able to open page but without passing any meta data of library item. am bit ...
1
vote
0answers
247 views

Assign single task to multiple reviewers in sharepoint 2013 visual studio workflow

Problem: I need to assign single task to multiple approvers. i have approver's email id in a string separated by semicolon. Challenge: since we can assign single task to either a single user or ...
1
vote
0answers
234 views

Feature that activates Custom List Action

I need to create a feature with Visual Studio that creates a custom List Action that does something. Per example, sends an e-mail, change the site name, etc. To be more specific, I want to know how I ...
1
vote
0answers
114 views

Sharepoint SandBox Solution is not Working in SharePoint online (Custom action)

I have created a sandbox solution in sharepoint 2013.I have added Custom action and Visual web part in to the solution. Custom Action Code as following : <?xml version="1.0" encoding="utf-8"?> ...
1
vote
0answers
67 views

sharepoint custom action Dynamic image icon

I must build a custom Action for sp2010 but its image must be according to some sharepoint values. For example: Alerts are ON or OFF for a SpList, then icon is RED or GREEN. This check should be ...
1
vote
0answers
298 views

Custom Action not showing on Site Settings pages

I have a little (crude) javascript function that should add a javascript file to every page on my site using custom actions (including the subsites via a recursive function). It seems to work well on ...
1
vote
0answers
197 views

Hide “Share With” Menu from particular sub site

I want to hide following things from particular sub site. I want to hide "Share With" menu from site actions I want to hide "Share With" menu from Ribbon for list view "Item" or "Document" tab. I ...
1
vote
1answer
817 views

How to get Page Library Id and Page Id in ribbon custom action for Publishing Pages?

I have the following custom action declaration: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="17f8cf1d-c8bf-4721-...
1
vote
1answer
403 views

Add Print Item Custom Action To ECB Dropdown Menu

I am trying to make a print item on the ECB dropdown for a list item that allows printing of the item by clicking the menu item. I can add the print item as below but how do I trigger a print when it ...
1
vote
1answer
18 views

Features on a list

How can I see the features attached to a list? (ex: which feature create an item custom action)
1
vote
0answers
623 views

Unable to add custom action in Ribbon.PublishTab.Workflow group

I have a Pages library in which I want to place the custom action to start workflow on the page. The action simply redirects to the initiation form of workflow. My XML code for custom action is as ...
1
vote
1answer
92 views

Document set ribbon allows creation of documents

I have a library with document sets. Normally in the ribbon under "New document" I can only create new document sets when I'm in the top most level. Only when I am inside a document set this ribbon ...
1
vote
0answers
432 views

How to get the document id in custom Action - SharePoint 2010?

I am trying to implement a simple solution to support short URLs on SharePoint 2010. The idea is to make use of the document id(I guess, it should not cause any performance impact) and allow the users ...