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?
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:
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!
Flow Community Manager
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.