Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [custom-actions]

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

9
votes
0answers
303 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 ...
4
votes
0answers
431 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
0answers
154 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
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
130 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
851 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
23 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
23 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
0answers
151 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
344 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
375 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
238 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
360 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
0answers
418 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
21 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
28 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
23 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
28 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
0answers
75 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
18 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
35 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
61 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
188 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
45 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
0answers
244 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
204 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
113 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
65 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
295 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
193 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
0answers
609 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
0answers
424 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 ...
1
vote
0answers
913 views

How to add custom action into the Pages tab of publishing page?

I want to add a custom action in the Pages of tab which comes when I edit the page. The publishing page is stored in the Pages Library. To made thing for single list(i.e. Pages Library) I have ...
1
vote
0answers
604 views

Change Ribbon Button Enabled-Function

I want to change the EnabledScript function of a existing Ribbon Button (Upload Document) but keep everything else, like the original CommandAction it executes on click. More specifically I would like ...
1
vote
0answers
590 views

Hide Approve/Reject button for the user who has created request

I want to Hide the Approve/Reject button from the top ribbon, specifically for the users who has created the request and placed for approval. Currently, If user ABC has created request and XYZ has to ...
1
vote
0answers
863 views

SharePoint 2013 display usage reports for custom events

I created custom usage event type and button described on this page: http://technet.microsoft.com/en-us/library/jj715889.aspx Everything is working fine - I can find logs files with this event ...
1
vote
0answers
140 views

Ribbon Custom action for creating new page

I would like to create a new Ribbon Custom action for creating new page, because I want to have more control on creating new page. I have created a SharePoint hosted app and added new ribbon custom ...
1
vote
0answers
14 views

Action / TASK assignment

I have created site with actions/tasks assigned to several team members . How can we set the permission levels such that people are able to see only task assigned to them in outlook as well from the ...
1
vote
0answers
85 views

Hiding Custom Action for Just one document library

I have a custom action deployed for a site collection, now if I want to hide it for a custom document library is it possible. Also this is what I am doing actually, can you think a better way of ...
1
vote
0answers
368 views

Trying to convert a SP2010 document version to a PDF generates SPException: List does not exist

I am trying to modify an existing SP2010 custom workflow action that converts an existing document to PDF using Word Automation. There is a new requirement to only convert the last published version ...
1
vote
0answers
268 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={...
1
vote
0answers
111 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 ...
1
vote
0answers
159 views

Unable to hide “Add question” menu item in settings menu for survey in SP2010

I try to hide standard element "Add question" in settings menu for survey list: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <...
0
votes
0answers
10 views

Sharepoint 2013 - Custom action - > Navigate to previous url

On my SharePoint site there is a custom action button which opens new list with some item ID. "http://sp/kpl/helpdesk/Lists/IT%20Poraba%20asa/newform.aspx?ZahtevekID={ItemId}" And later it redirects ...
0
votes
0answers
20 views

How to Add custom Ribbon Control in post list in insert tab?

I have created post list in SharePoint 2013. I have to include custom ribbon control to ask title and URL and need to bind in editor field. Can anyone suggest me, how to create the same using ribbon ...
0
votes
0answers
7 views

Track Items/documents views/download in google anaytics

Is there any way we can track below events in Google Analytics code added in SharePoint site. List items views count - Document downloaded using different options from ribbon, context menu etc. ...
0
votes
0answers
181 views

Is this possible: Custom Action Button -> Workflow Form -> Submit Button -> Takes user back to List item instead of List

Right now, I have a list. At the top ribbon of the list, there are a couple of custom action buttons that take the user to a form that is part of a workflow. When they finish filling out the form and ...
0
votes
0answers
24 views

Creating a new WikiPageTab Button in SharePoint Framework

Is there a way to create a new button inside the "WikiPageTab"? Or is it better to use addins for this one? I am trying to create UI for a URL shortener in SP. So the user can see his saved SP URLs ...
0
votes
0answers
35 views

SP2013 on-prem, CustomAction EnabledScript, return value from async function and SP.SOD.executeFunc

I have custom action button and need to gray-out it, if user has no 'Manage Permission' rights for listitem. I created function that can say if user has permisiions or not. But now I cannot integrate ...