Skip to main content
Nintex Community Menu Bar
Solved

template image v2


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.

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+17
  • Nintex Employee
  • 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

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings