Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
3answers
31 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
34 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
27 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
23 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
20 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
22 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
151 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
45 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
40 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
118 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
21 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
81 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
28 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
18 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
13 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
31 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
252 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 ...
0
votes
0answers
16 views

Sharepoint add-in add ribbon action for selected task

Is it possible to add a ribbon custom action in a provider-hosted add-in which is for the PWA task ribbon area? I need a button which is in the "Task" ribbon tab when you open the Schedule webpart in ...
1
vote
0answers
25 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
21 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
29 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
158 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
296 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
22 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
28 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
125 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
521 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
515 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
66 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
225 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
238 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
106 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
341 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
68 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
316 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
33 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
431 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 ...
8
votes
0answers
280 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
139 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
334 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
332 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 ...
1
vote
1answer
251 views

Custom Action id of element - how to get to C# code [closed]

I have got A custom action in Open Menu. But i must get ID of element. How could I get ID when I clicked three dots on C# code:
3
votes
1answer
39 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?
2
votes
1answer
33 views

Hide comments from certain people

Scenario: I created a custom list and one of the fields is comment field. Some of the comments have names of individuals (BTW, they're not negative comments). Those individuals have access to the ...
0
votes
1answer
410 views

Make Custom Actions open in current tab

I have a few Custom Actions for a list in SharePoint 2013. Every time one is clicked, it opens in a new tab, which means that very quickly a lot of tabs can get spawned. Is there a way to force the ...
1
vote
1answer
216 views

Custom Action script in SharePoint Designer 2013

I am using SharePoint Designer 2013 to edit a list page. I am hoping to add a button to the List Item Menu which will run a script, editing the item. The only options displayed are "Navigate to form",...
1
vote
1answer
1k views

Add user custom action in list ribbon using powershell?

I would like to add multiple User Custom Actions on several sites using PowerShell. The custom actions must be added in the top ribbon that is visible when selecting a list item. Is that even possible?...
1
vote
2answers
408 views

Delete User Custom Action

I wanted to add an action button in the Site Actions menu and I found a code easy to incorporate : $(document).ready(function() { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
3
votes
1answer
620 views

Remove a rogue Custom Action Script Link

I have been testing out a JavaScript Custom Action add-in injected a test script into my SharePoint Online master page. During one of the change and deploy cycles this seems to have gone awry as a ...