Having trouble adding images to pdf attachment

Helloโ€ฆ I am trying to add images to pdf attachment but unable to display as images. Something similar to sample โ€œOrder Captureโ€ report as below:
3X_7_1_71d96e61b23d53d0f792f464e33eac5a79c6c42c.png

I tried the below steps:

  1. Create Image Url using the below expression:
    SUBSTITUTE(CONCATENATE(โ€œhttps://www.appsheet.com/template/gettablefileurl?appName=",โ€œAID-ESMS-1036671โ€,"&tableName=โ€, โ€œImagesโ€,"&fileName=",[ImageName]), " ", โ€œ%20โ€)

  2. In the google doc template, I use START expression to list our all the images:
    <<Start:[Related Images]>><<[Image URL]>><>

  3. I have unchecked the option โ€œRequire Image and File URL Signingโ€

RESULT:

I get an clickable image url but not the image. When I click on the url, the image opens in a new tab. How do I get the image displayed inside pdf instead of URL. Am I missing anything?

Thank you!

Solved Solved
1 2 718
1 ACCEPTED SOLUTION

It sounds that you have an image column named [ImageName], then I believe you may not need to further construct a URL to display images in the PDF report.

In the template you could have an expression,something like

<<Start:[Related Images]>>
[ImageName]
<< End >>

The above expression assumes that [Raleted Images] is a Rev_Ref column of records references from a child table called 'Images" wherein the column [ImageName] having images resides. And that the workflow is based on a parent table record of which โ€œImagesโ€ table is a child table.

View solution in original post

2 REPLIES 2

It sounds that you have an image column named [ImageName], then I believe you may not need to further construct a URL to display images in the PDF report.

In the template you could have an expression,something like

<<Start:[Related Images]>>
[ImageName]
<< End >>

The above expression assumes that [Raleted Images] is a Rev_Ref column of records references from a child table called 'Images" wherein the column [ImageName] having images resides. And that the workflow is based on a parent table record of which โ€œImagesโ€ table is a child table.

@Suvrutt_Gurjar It workedโ€ฆ Thanks a lotโ€ฆ

Top Labels in this Space