Questions tagged [custom-actions]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
49 views

What is the definition of “Custom Action” in PnP?

I am an Admin for SP2010, SP2013 and SP2016 on-premise farm and I never use SP online before. Recently I am checking the ability of SharePoint PnP PowerShell and found it also support SP2016 on-...
0
votes
2answers
21 views

Sharepoint: Pulling String information from a list item to populate external URL

I am working with Sharepoint 2013, and I have a list of items that have a client id. These client ids are references to a database referenced by another group. I am wanting to pull the string ...
0
votes
1answer
20 views

Create a new folder with custom content type id using custom action

I am adding a custom ribbon button which needs to create a folder with specific content type id in a document library. CommandAction="javascript:{ var options = { ...
0
votes
1answer
19 views

SharePoint 2013 custom ribbon action to appear on a page in list view context

I'm scratching my head at this problem. I can't work out how I need to register my custom action so that in the context of a page content type it will appear in the ribbon under the "File" tab (Ribbon....
0
votes
0answers
25 views

SharePoint Designer Print Button Multiple Selection

I am using SharePoint Designer 2013 connected to my Communication Site, i have tried to add a print button to the command bar but i got 2 problems: *The first problem is when i add an image to the ...
0
votes
0answers
41 views

Custom action for content type settings with sharepoint online

I'm migrating solution from onpremise to online. In the solution I have a custom action that add a link in the content type settings to a custom page: <CustomAction Location="Microsoft....
0
votes
1answer
16 views

Steps in updating single field for multiple (selected) lists items

I am very new in SharePoint and wanted to seek some help. I have created a simple SP list that has a simple approval process. It is working fine. However, I was task to enhance it by allowing the ...
1
vote
1answer
302 views

Is there a way in SPFx to create custom action in “PersonalAction” group

XML element method is working for classic pages, for modern pages it is not working. Using SPFx list view command set I can create ECB menu for list item level I am unable to find anything for ...
0
votes
1answer
33 views

Open Sharepoint Document with Custom Action

I have a List (called Enquiry) with a workflow that creates a new Document in a Document Library (called Records) with the same Title and ID as the List Item’s Title and ID. To illustrate: Item in ...
1
vote
1answer
81 views

Custom Ribbon Button on Wiki Page's Editing Tools Ribbon in SharePoint Online

Using the Core.RibbonCommands sample add-in from SharePoint add-in recipes for custom ribbons, I was able to add custom tab into pages in SharePoint Online except while viewing/editing SitePages or ...
1
vote
1answer
88 views

Register Custom Action with Javascript

I am having difficulty registering a custom user action through JavaScript. I am using the following code example. The code executes without any error however the button fails to appear on the Ribbon. ...
1
vote
1answer
13 views

Custom EditItem Page

Is there a way to create a custom edit item page for SharePoint list items using HTML/CSS/JS? I want to be able to modify EditItem.aspx so that I could add divide the fields into different sections ...
0
votes
1answer
49 views

Hide/Show field on Sharepoint 2019 edit form

If there is any posibility to add javascript to Sharepoint list edit form? I would like to hide/show field on form if other field has or hasn’t value. I tried use Power Apps but it isn’t working in ...
0
votes
0answers
22 views

User Custom Action in Context Menu of Modern List

I am developing a user custom action to be used in modern list/library views. The issue is, as we cannot use JavaScript in context menu custom action, how should I form a valid URL. Now I have a URL ...
0
votes
0answers
54 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
15 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
30 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
54 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
46 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
32 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
17 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
392 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
37 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
4answers
1k 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
714 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
225 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
43 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
41 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
26 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
801 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
142 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
234 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
3answers
2k 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
58 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
257 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
213 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
45 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
68 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
100 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
711 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
30 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
56 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
43 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="...
3
votes
1answer
597 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
192 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
2k 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
1k 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
101 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
456 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 ...
1
vote
1answer
395 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 ...