Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Adding a Custom Action to List View in Modern Experience

$
0
0

I am following below article and was able to add custom action to a library. But unable to do so for List as I do not know the location. I want to get the same location of Location="Ribbon.Documents.Copies.Controls._children" for a list. Is there a guide with locations applicable to modern list view?

https://msdn.microsoft.com/en-us/pnp_articles/modern-experience-customizations-customize-lists-and-libraries

<pnp:CommandUIExtension><CommandUIDefinitions><CommandUIDefinition Location="Ribbon.Documents.Copies.Controls._children"><Button
            Id="Ribbon.Documents.Copies.OfficeDevPnPDownloadAll"
            Command="OfficeDevPnP.Cmd.DownloadAll"
            Image16by16="/_layouts/15/images/sharepointfoundation16.png"
            LabelText="Download All"
            Description="Download all files separately"
            ToolTipTitle="Download All"
            ToolTipDescription="Download all files separately"
            TemplateAlias="o1"
            Sequence="15"/></CommandUIDefinition></CommandUIDefinitions><CommandUIHandlers><CommandUIHandler
          Command="OfficeDevPnP.Cmd.DownloadAll"
          CommandAction="https://contoso.azurewebsites.net/pages/index.aspx" /></CommandUIHandlers></pnp:CommandUIExtension>
Please note that this is for SharePoint Online.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>