cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
owenpt
Level: Powered On

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
Community Support Team
Community Support Team

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

Hi @owenpt ,

 

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.
1 REPLY 1
Community Support Team
Community Support Team

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

Hi @owenpt ,

 

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.

Helpful resources

Announcements
firstImage

Microsoft Flow Online Conference

Join us for a FULL day of FREE Microsoft Flow Sessions from some of the best minds in the industry!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 84 members 3,887 guests
Please welcome our newest community members: