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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [custom-actions]

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

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
1answer
14 views

Suggestions for context menu link with querystring value to NewForm results in Page Not Found

Trying to set up a custom action for a library to send querystring parameters to a NewForm on another list using the Navigate to URL option. Without a querystring value the link works; displays ...
0
votes
1answer
25 views

After migration from SharePoint 2010 to 2013 Command UI Handler Command Action is not working for the Custom button

We have custom buttons in the ribbon. Button will be enabled based on the status. CommandUIHandleris are working well for All button except for Submit and Resubmit buttons after migrating from ...
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 ...
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, ...
0
votes
1answer
26 views

View Ribbon Doesn't work in Sharepoint Online

I have been trying to add one view ribbon in my sharepoint list. For that I opened the list in sharepoint designer > I go to custom actions > Choose view ribbon. Issue what I face is, that the ...
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. ...
1
vote
1answer
40 views

How to make column values editable/non-editable based on user login

I have a small requirement. So basically, i have a small list with the columns below User ID Description Priority Status Team Remarks Now, the above 3 fields will be filled in by any user but the ...
1
vote
0answers
19 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
3answers
146 views

Using ampersand's (&) in JSON column formatting

I am trying to use JSON to format a "Person" column in a Sharepoint list with an email action button. I would like the email to contain a link to the Sharepoint list item in question, but the link ...
1
vote
1answer
163 views

Run JavaScript from custom ribbon action in SharePoint Online hosted add-in

I have an SharePoint hosted Add-in project in Visual Studio 2017. The solution deploys and the custom ribbon button is visible. I want my button to run some JavaScript, but no matter how I try, I'm ...
2
votes
1answer
60 views

Custom Action XML, add Ribbon button to calendar

Can You help to add custom button to Calendar. I have code for Document Library, but have no clue how to do same for Calendar. I see ribbon names in DevTools and tried to change groups and xml ...
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 ...
0
votes
1answer
22 views

Scan to SharePoint libraries

I'd like to know if it is possible to setup a scanner to send the scanned documents to different libraries My client has a SharePoint 2013 on prem, and wants to scan a document and specify to which ...
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+ ...
1
vote
3answers
376 views

SPFx Deployment - Failing Gulp package-solution — ship

Update: I was aiming for extenal CDN and I uploaded the artifacts successfully after setting "includeClientSideAssets": false. Still even after adding my app in app Catalog with no error, adding the ...
2
votes
1answer
100 views

SharePoint Framework Extension : Custom Action not activated on site even after successful deployment in AppCatlog

[Screen Shot for the App Catlog ] Hello everyone, I deployed a SharePoint Framework Extension in the App Catalog for my office 365 CDN. Although in the App Catalog it shows successfully deployed, ...
0
votes
1answer
73 views

Run a User Custom Action with Powershell

Can you run a UserCustomAction with Powershell? I am planing to automate a process and this is the easiest way.
0
votes
2answers
570 views

SharePoint online add user custom action to run javascript on all the pages in a site collection

How to include javascript function as a user custom action on every page in a site collection? how can we achieve this using JSOM?
0
votes
1answer
34 views

User Custom Action executed twice, second time wipes the entire javascript scope?

I'm extremely puzzled by this one and I don't understand if it's a SharePoint issue or a javascript issue. I've used this flow many times and it's the first time that I observe this behaviour. Here ...
0
votes
1answer
144 views

Can I add an item in a predefined list via listview command set(Sharepoint Framework Extension)?

Using SharePoint Framework extension, I have a list command set for a document library in SharePoint online. On this button being clicked, I want to add an item in a predefined list in sharepoint ...
0
votes
1answer
45 views

How do I connect a html search bar to a sharepoint library?

My client asked me for creating a fancy html landing page with a fancy SearchBar, and its done This bar has to find files in a specific sharepoint library. How can I make the custom search bar to ...
0
votes
1answer
26 views

Ribbon CommandAction : Parameter value shows “undefined”

XML Code <CommandUIHandler Command="Invoke_NewRActionButtonRequest" CommandAction="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;SPListItemId={SelectedItemId}&...
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, ...
0
votes
1answer
53 views

Custom Action restricted to item author

Is it possible to restrict a Custom Action for a list so that only Admins (they will have the ApproveItems permission) and the item author can run it via the Rights Mask field? Background I have a ...
0
votes
1answer
383 views

Hide “New Item” Button in Ribbon of a specific SharePoint 2013 list

Like the title says, I am trying to hide the "New Item" Button that is located in the Ribbon of a custom SharePoint 2013 list. I have already achieved this using CSS, but I am looking for a way to do ...
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
0
votes
1answer
33 views

Is it possible to get the current list view name with SharePoint custom ribbon action?

I am adding a custom button to the ribbon's settings area for a list through SharePoint designer. My requirement is When user click on the button user has to navigate to another page with currently ...
0
votes
1answer
34 views

Custom Action: copy my template, not see Page

I was create "SharePoint 2013 - Empty project" in Visual Studio and add module "CustomRibbonActionModule", then add HTML-Page (Module Name="CustomRibbonActionModule", File Path="...
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 ...
2
votes
1answer
379 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 ...
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 ...
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 ...
1
vote
1answer
786 views

How to add a custom action to a Sharepoint Online document menu under more actions

I have a requirement to add a new menu item to the selected document '...' menu. The new item would be added to '... - more actions' or '... - open menu dialog for this selected item' menus in a ...
2
votes
2answers
701 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? ...
0
votes
1answer
75 views

Custom actions and cache the ScriptSrc path

I created custom actions from ribbon via this article - Deploying Custom Action to specific lists in SharePoint 2010 - which works fine. But when I created a new project I copied from my last ...
0
votes
1answer
283 views

Custom action in ribbon open in dialog on top of another dialog

Has anybody succesfully been able to open a dialog from a custom action on the ribbon on top of another dialog? The use case that I have a list, which already opens in dialog. On the dispform.aspx i ...
0
votes
1answer
278 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 ...
0
votes
2answers
134 views

Trying to add a ribbon to the edit form as the first button before save?

I'm trying to add a button here: <CustomAction Id="SaveAndCheckIn.EditForm" Location="CommandUI.Ribbon.EditForm" Rights="EditListItems"> <CommandUIExtension> ...
1
vote
1answer
421 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
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....
4
votes
1answer
354 views

How to change SharePoint default redirection after form submit action?

I have created SP survey list. After creating questions need to redirect to my custom page instead of going to overview page.I have included the java script file.Is possible to change the redirection ...
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 ...
4
votes
1answer
472 views

Add Users Custom Action on Web Application level on SharePoint 2013

I want to add Users Custom Action on web application level which will be found on all Site Collection including newly created Site Collection. I have tried to add Users Custom Action on Site ...
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 ...
0
votes
1answer
162 views

Specifying the Rights Mask for a custom permission level

I have a custom action that I want to be disabled if the user does not have the ability to edit the item. However, I am using a custom permission level, not Contribute. The permission level is ...
4
votes
1answer
383 views

How to add user custom action on top level root site collection in SharePoint Online?

I have a SharePoint Online environment as https:///domain.sharepoint.com. Now I am trying to add custom JS codes to the site page in the above specified site. Whenever I try to add the code on top ...
0
votes
0answers
352 views

Add multiple list user custom actions using PowerShell?

I would like to add 2 custom actions to a SharePoint 2010 custom list. I'm adding the first custom action to the ribbon and it works perfectly. Then, I'm trying to add the second one using the same ...