cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nick9one1
Helper I
Helper I

update file properties with dynamic url

I have a flow that uses a switch statement to specify the URL of a document library. 

the flow then drops a file in the library, and updates a custom field. 

This works fine if I explicitly specify the URL in the 'Update file properties' action. But If I use the dynamic URL from the switch statement I get an error - "Cannot evaluate the parameter 'dataset' at design-time; it is empty or has a runtime expression.", and I cannot see the custom field I need to update. 

 

Are there any workarounds?

 

 

 

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @nick9one1,

 

Do you want to update file properties using Dynamic Site Address and Library Name within the "Update file properties" action?

 

If you want to update file properties using Dynamic Site Address and Library Name within the "Update file properties" action, I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

The Site Address field and Library Name field of the "Update file properties" action could not parse Dynamic contents in Microsoft Flow currently. We could only select the Site Address and Library Name (or type custom value within Site Address field and Library Name field) through the Drop down selections currently. 

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

Best regards,

Kris

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

Hi @nick9one1,

Thank you for posting to the Flow Forum! Our team is dedicated to creating a positive product experience and value your insight on how we can improve our product features.

 

We encourage users to post their ideas in the Flow Ideas Forum where they can be voted on by other users! Once you've posted your idea to the Flow Ideas Forum, we'd love to follow its voting progress!

Please respond to this thread with the link to your idea’s thread in the Flow Ideas Forum and click "Accept as Solution" so other community members may track its progress and help amplify its value with their votes in the Ideas Forum!

The more other community members view and vote on your idea, it will increase its visibility and prioritization to our Product Development team who moderates the Ideas Forum.

Should your idea become a reality as an improved Flow feature, we will link the solution back to this thread for reference.

 

Thank you for being an active member of the Flow Community!

 

-Gabriel

Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Snoop62
Frequent Visitor

hi @nick9one1 

 

i have a question,

did you find a solution for this topic ?

 

I also try to upload the attachment to the correct sharepoint page based on the subject of the email.
The URL is in the subject line.

 

Yours sincerely

 

Snoop62

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,274)