Articles in this section
Category / Section

Creating Dynamic Image Reports in Bold Reports

Published:
Updated:

This guide walks you through creating visually engaging and flexible report layouts in Bold Reports by adding dynamic images using the Image report item. By using expressions, you can fetch image URLs dynamically from a dataset or external API and place them on a freeform canvas, free from table constraints. This approach allows you to design adaptable, professional reports with images that update based on your data.

Steps to Create Dynamic Image Reports

  1. Insert the Image Report Item
    • Drag and drop the Image report item onto your desired position on the report canvas.
      Add Image report item

  1. Configure the Image Report Item Properties
    • Select the inserted Image report item.
    • In the Properties panel under Basic Settings, set Source to External or Database depending on where your image URLs are stored.
      Set Image Source

Apply the properties above to each image report item by setting the source to external.


  1. Setting the Expression
    • Click the small square next to the Value field to open the Expression Editor.

      Open Expression Editor

    • Use the following expression to dynamically fetch an image URL from your dataset:

      Enter Image Expression

=Split(Join(LookupSet(1, 1, Fields!url.Value, "DataSet1"), "::"), "::")(1)
Expression Function
Expression Description
LookupSet(1, 1, Fields!url.Value, "DataSet1") Retrieves all image URLs from the url field.
Join(..., "::") Combines the URLs into a delimited string.
Split(..., "::") Breaks the string into an array of URLs.
(1) Selects the second URL (array index is zero-based)
  1. Preview the Report
    • Run the report to preview how the images are rendered dynamically based on your dataset.
      image.png

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied