cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

New trigger - 'For a selected file' ID - no dynamic content yet

Having stumbled across the recent addition of the 'For a selected file' trigger (because it broke all of the Flows I had using 'For a selected item' for document libraries), I'm now in the process of rectifying the broken Flows.

 

I noticed that the ID dynamic content for the new trigger doesn't appear to have been set up. In the meantime, I believe you can use the expression triggerBody()['entity']['FileId'] . (Note: I'm yet to test the expression, I copied it from another action, will update if it doesn't work).

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: New trigger - 'For a selected file' ID - no dynamic content yet

Hi @Anonymous ,

 

Indeed, as you have described, Dynamic content may not be available when configuring certain fields.

You could use the following two methods to solve the problem.

The first is the Expression you mentioned. In fact, all Dynamic content can be represented by Expression.

triggerBody()?['entity']?['FileId']

Image reference:

9.PNG

The other is to use Compose to get the specified Dynamic content, then configure Compose in the specified field.

Image reference:

10.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: New trigger - 'For a selected file' ID - no dynamic content yet

Hi @Anonymous ,

 

Indeed, as you have described, Dynamic content may not be available when configuring certain fields.

You could use the following two methods to solve the problem.

The first is the Expression you mentioned. In fact, all Dynamic content can be represented by Expression.

triggerBody()?['entity']?['FileId']

Image reference:

9.PNG

The other is to use Compose to get the specified Dynamic content, then configure Compose in the specified field.

Image reference:

10.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,424)