Skip to main content
Nintex Community Menu Bar
Solved

template image v2

  • July 11, 2024
  • 2 replies
  • 15 views

Forum|alt.badge.img+7

The following template field is rendering an image in my deck component with a template field:

<img src="/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId={{{ContentDocument.LatestPublishedVersionId}}}" width="100%" style="margin:1px;"></img>

It pulls the images from the chatter feed. I cannot get it to work in V2. Is there something simple I am missing or does the structure need to be different in V2?

The goal is to have one image per card. This is my V1 deck below:

Best answer by Rob_Hatch

In v2 we don’t have a “Template” component. It is replaced with the Text component. In that component - you can’t simply put HTML in the body of the component. You need to go to the Advanced Tab and select the “Allow HTML” boolean, and then put the code you have in your template above into the “HTML” field.

If this isn’t working, we may need to explore something deeper.

2 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Answer
  • July 12, 2024

In v2 we don’t have a “Template” component. It is replaced with the Text component. In that component - you can’t simply put HTML in the body of the component. You need to go to the Advanced Tab and select the “Allow HTML” boolean, and then put the code you have in your template above into the “HTML” field.

If this isn’t working, we may need to explore something deeper.


Forum|alt.badge.img+7
  • Author
  • July 12, 2024

that did it. A side note, when i selected the merge field it only put 2 {{x}} around it. I added a third set and it worked perfectly.

this makes great gallery of all images loaded thru chatter. We added a date filter to it and it works really well