Loading

Rendering an Image in a VisualForce Template Content in CPQ Document Generation

Дата публикации: May 4, 2026
Описание

When creating a custom content for CPQ Quote Template, html tags cannot be used since the final rendered content is in XML and hence the VF page needs to be in XML as well. Hence, tags like <img> will not work to render an image within the custom template content.

Решение

The following snippet of code can be used to render an image inside a VisualForce template content:

<block>
      <external-graphic src="url-to-source-image"></external-graphic>
</block>
Номер статьи базы знаний

005321504

 
Загрузка
Salesforce Help | Article