Skip to main content
December 1, 2022
Question

Splitting Large Documents into Small Documents of desired Size

  • December 1, 2022
  • 5 replies
  • 0 views

Hi,

We are looking for a way to split a large document into small documents of size we want.

Is there a way we can achieve this in Appian, please share if any

Thank You

    5 replies

    mikes0011
    Brainy
    December 1, 2022

    "a large document" is not a lot of detail for this use case.  large what?  PDF? image? word file? video?

    The only thing I know of which Appian can easily handle for this is a PDF, which the PDF tools has utilities to split (by page) into separate files, and separately, has a utility to compress (which can dramatically reduce filesize on PDFs containing inefficiently-large images, etc).  But please be forewarned that even with the PDF Tools plug-in, you aren't getting a "magic wand" that can insta-solve your use cases; you'll need to figure out how to work within its framework and come up with a workable solution for the tools it provides.

    The Expression Guru
    December 1, 2022

    Hi Mike, Thank you

    by "a large document", I meant a large Text Document

    mikes0011
    Brainy
    December 1, 2022

    "text document" like plaintext, ".txt"?  How large is it?  What parameters would you be splitting it by? 

    The "text file utilities" plug-in has a rule that can read text from a text file.  The appian base product has a utility called "text doc from template" which can create new text files with arbitrary input text.  Combining these two things, and providing your own logic for where/how to split your input text file, you should be able to accomplish what you're after, assuming the above assumptions are correct.

    The Expression Guru