Quantcast
Channel: User Bijan - Stack Overflow
Viewing all articles
Browse latest Browse all 99

Answer by Bijan for Power Automate Get Filename if Contains Special Character

$
0
0

I ended up just creating an if statement to check if the filename contains filename=

if(    contains(outputs('HTTP')['headers']?['Content-Disposition'],'filename='), # Check     split(outputs('HTTP')['headers']?['Content-Disposition'],'"')[1], # No special character    decodeuricomponent(split(outputs('HTTP')['headers']?['Content-Disposition'],'''''')[1]) # Special character (UTF-8))

Viewing all articles
Browse latest Browse all 99

Trending Articles