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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard