Extracting pages of pdf and store into a folder

Hiii everyone,
Help me for this…
how to extract pages of pdf files and store them into folder [ .pdf format only]…
suppose i having 10 pages and i want to split them into 5 pages and store this 5 pages into one folder…and again store another 5 pages in different folder…

Thanks,
Parvati :slight_smile:

Have you checked this custom package? https://gallery.uipath.com/packages/VaidotasKumza.PdfSharp.Activities/1.0.0.13

With that you could use the Get Page Count -activity and then loop through the pages and use Extract Pages -activity. You can then manipulate with another loop or if-statements how you want to split your folders etc.

br,
Topi

1 Like

i want to extract the pages using split pdf activity…
can u explain me how can i do that?

Thanks,
Paro…:slight_smile:

The activity has: input(PdfFilePath) -> put the file path you want to split there and output(OutputPath) -> folder path where the split pdfs will be created.

AFAIK the PDF split -activity doesn’t allow you to change the names or locations for separate output files so you’ll need to do that after the split. For example choose half of the output files and move them to another location.

br,
Topi

i didn’t understand?

Thanks,
paro…

can u explain me the steps properly…

Thanks,
paro…:slight_smile:

after installing these pacakges what we have to do?
steps can u explain?

Thanks,
paro…

The solution which you have given is using pdf split, i don’t want that solution…
i want to split the pages by using split pdf activity.

Thanks,
Paro

Here’s an example that will move the first 5 pages to another folder:
Main.xaml (9.4 KB)

br,
Topi

i wan to extract using split pdf activity…

That example is using split pdf activity or are you referring to some other split activity?

Hey @Topi,

Could you plz help me how to proceed with this! Thanks

Need to launch an URL > There will be years like 2019,2018,2017 etc as tabs in the Website> We need to click on 2019 initially > around 10 names will be opened and need to click on the pdf link(Agenda in the screenshot) of all respectively> then collect data from pdf and store it in an Excel sheet.

Likewise we need to collect for 2018,2017 and so on…

Can someone plz help me on the above…Thanks!