
Announcements
We have an application that pulls pdf's from an internal system which then uploads to a document library. Unfortunately it wasn't discovered in early testing that in some instances where there is a string at the end of the file is enclosed in parenthesis that it doesn't add the file extension, eg., myfilename(1234)pdf. I have thousands of these that I need to add the file extension to.
How can I identify those files with no extension? When using get-files I can't figure out how to identify them to set a variable for the actions to add the .pdf..
any assistance would be great.
@kbullit61 see if this helps
You really don't need a variable, you can hard code .pdf to file name once you have the file.
Note : This is like a demo/poc for your to build your logic, I am just copying files from one library to another and changing the file extension to .pdf, also in get files I am not filtering files based on extension you will have to do it in your flow.
Hope this helps.
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.