Hi everyone,
is there a way for me to create a new Folder with just a part of the Filename.
I have a document library where you can upload files for approval. The Filename template looks like this:
Date_Process_Name.pdf
After the file got approved i want to create a Folder und move the file in this Folder.
The Folder Name should only consist of the "name" part.
Thanks in advance.
Solved! Go to Solution.
Hi @crevan ,
You could arrive your purpose though add a Compose Action to split the file name:
split("Filenamewithextension",'.')[0]
you can have a reference on the split function:
Then Add Create file action, in the Folder path append on the output of file name without extension. Then you can create a Delete action to delete the original file.
Best regards,
Mabel
Hi @crevan ,
You could arrive your purpose though add a Compose Action to split the file name:
split("Filenamewithextension",'.')[0]
you can have a reference on the split function:
Then Add Create file action, in the Folder path append on the output of file name without extension. Then you can create a Delete action to delete the original file.
Best regards,
Mabel
Thank you @v-yamao-msft
it worked
split(split(triggerOutputs()['headers']['x-ms-file-id'],'_')[2],'.')[0]
was the solution for me
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
86 | |
60 | |
51 | |
44 | |
39 |
User | Count |
---|---|
89 | |
81 | |
74 | |
62 | |
44 |