Put images (.jpg, .png, ...) from Appian to a PDF (or Word) file

Hello,

I'm searching a way to put images (.png or .jpg for example) from Appian to a PDF or Word file.

These images could be uploaded thanks to a File Upload component on an user interface and then put in a PDF file with a process to create a new PDF file in Appian.

Thanks for your help,

Regards

  Discussion posts and replies are publicly visible

Parents
  • Use DOCX From Dynamic Template Smart Service. 

    Add a dummy image in your template and give a book mark name to it(say image1). There is an acp in the smart service called images. Pass the pv to that acp with the bookmark name as label. (Eg: {image1:pv!uploadedImage})

    You can connvert docx to pdf as well using PDF from Docx smart service. 

  • Hi sreedevij,

    Thanks for your answer,

    Can you please explain how to set the DOCX From Dynamic Template Smart Service, especially these two fields :

    • Docx Template 
    • Xml Data model

    Because I don't really understand the docmentation of this plugin and I don't have access to all the documentation.

    Thank you,

    Regards

  • +1
    A Score Level 2
    in reply to LyesS

    Hi, 

    DocX Template

       - Create a word document. The content of the word document should be just a dummy image and add a bookmark for that image.

       - Have a title of the document as { MERGEFIELD ${doc.documentTitle}\* MERGEFORMAT }

       - Upload this word document in appian. 

     Xml Data model 

      - This is the input for the documentTitle. It should be like below:

    "<documentTitle>

    Uploaded Images

    </documentTitle>"

Reply
  • +1
    A Score Level 2
    in reply to LyesS

    Hi, 

    DocX Template

       - Create a word document. The content of the word document should be just a dummy image and add a bookmark for that image.

       - Have a title of the document as { MERGEFIELD ${doc.documentTitle}\* MERGEFORMAT }

       - Upload this word document in appian. 

     Xml Data model 

      - This is the input for the documentTitle. It should be like below:

    "<documentTitle>

    Uploaded Images

    </documentTitle>"

Children