Splitting PDF to Sharepoiint

Hi guys

This could me more of a Flow question then Plumsails per se however I'm hopeful someone has encountered this problem before.

I'm trying to split a pdf that's written in a library. The split works however I've no idea how to create the files from the output of the action so that the files are not overwritten by itself. If I set the filename the action writes to the set name so the outcome is I only see the last file processed. Any ideas ?

Hi, @Bart

You can simply use a variable, incrementing it on each iteration. Thus, you'll have seperate files with names like 'file_1', 'file_2', etc.

Here are more example of using variables:
https://plumsail.com/docs/actions/v1.x/flow/how-tos/sharepoint/copy-document-set-to-another-library.html?highlight=variable
https://plumsail.com/docs/actions/v1.x/flow/how-tos/documents/merge-pdf-files.html?highlight=variable

Best regards, Kirill Shaklein

1 Like