web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger "For a selecte...
Power Automate
Unanswered

Trigger "For a selected file" on custom action

(0) ShareShare
ReportReport
Posted on by

Hello,

I'm trying to connect a customaction on the ribbon to power app flow, y provisioning custom action like this:

<pnp:ProvisioningTemplate ID="CommandUIRibbonSamples" Version="1" xmlns:pnp="http://schemas.dev.office.com/PnP/2019/09/ProvisioningSchema">
<pnp:CustomActions>
<pnp:SiteCustomActions>
<pnp:CustomAction Name="CA_ShareDelete" Description="Share and delete" Location="CommandUI.Ribbon" RegistrationType="List" RegistrationId="101" Title="Share and delete" Sequence="6000" Enabled="true" ClientSideComponentId="4a4d7b39-c925-4cfd-8676-0ac5381b14b9" >
<pnp:CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.Documents.Copies.Controls._children">
<Button
Id="Ribbon.ShareAndDelete"
Command="ShareAndDelete"
Image16by16="/_layouts/15/images/sharepointfoundation16.png"
LabelText="Share & delete"
Description="Share the document on email and delete it"
ToolTipTitle="Share & delete"
ToolTipDescription="Share the document on email and delete it"
TemplateAlias="o1"
Sequence="15"/>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
Command="ShareAndDelete"
CommandAction="https://contoso.azurewebsites.net/pages/index.aspx" />
</CommandUIHandlers>
</pnp:CommandUIExtension>
</pnp:CustomAction>
</pnp:SiteCustomActions>
</pnp:CustomActions>
</pnp:ProvisioningTemplate>

 

can i call in CommandAction a flow "For a selected file" type?

 

Thank you!

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard