Skip to main content
Participating Frequently
December 29, 2023
Question

Fill PDF Smart Service Add Image to Image Field

  • December 29, 2023
  • 4 replies
  • 9 views

I am using the Fill PDF Smart Service from the PDF Tools plugin. I have a fillable PDF with an image field that I am trying to insert an image into. The image is stored in the knowledge center. I have the PDF Field value in the data tab set as such. 

{
    {"name": "image", "value": todocument(pv!documentId)
    }
}

However, it is not filling the field and there are no errors when running the process for debugging. Please advise.

4 replies

mikes0011
Brainy
December 29, 2023

I don't believe Fill PDF supports anything other than plaintext.  Do you have any particular reason to expect it will be able to consume an image attachment?

The Expression Guru
Participating Frequently
December 29, 2023

[mention:b45a4f6a20b14a008e4e0ec732a8bf98:e9ed411860ed4f2ba0265705b8793d05] I saw here that Fill PDF may be a solution in lieu of the PDF Doc From Template Smart Service.

 [mention:9219fbd09288440e86ef2d6c9e0c46fe:f586769b0822468ab7f3a94d480ed9b0] 

Inspiring
December 29, 2023

Hi Carey, I would suggest that you try Appian's OOTB smart service 'Html Doc From Template' and the smart service plug-in 'Html To PDF' to generate the desired PDF document.