cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
juan_amoros
New Member

Trigger "For a selected file" on custom action

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!

0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,980)