Today we will learn on how to display dynamic images in Microstrategy web dossier based on a drop down list (filter)
Steps to perform:
- You need to store images at a central location (it can be any)
- You need to install and configure a web server at the same location where you are storing your images. so, every image has an HTTP path
- you will need to store that path and the image name in a table
- Fields:
- Image
- ImageHTML: this will be a HTTP path in the form of html pointing to your image
- e.g: <img src = "full path to the server and image.jpg" height=450px width=800px>
- Go to your web dossier and import the above dataset (table)
- while importing the dataset, right click the field "ImageHTML"
- Change the data type to "HTML"
- Click save dataset
- Now, create a filter and drag the "image name" object to the filter.
- Add a new visualization (Grid type).
- Drag the ImageName and ImageHtml fields to the Visualization rows.
- Right click the filter > Select target > select visualization name you created > Apply
- Right click ImageName > format > No fill
- Right click ImageHtml > format > No Fill
- Righ click a row in ImageName > format > No fill
- Shrink/drag the ImageName header to the extreme left (0 inches), so, it is no longer visible and does not take any visualization grid space. In this way, your image will be visible in the whole grid.
- Make column headers white color and vertical/horizontal lines to None.
- You are done.
- Click image names in the filter and you will see images changing dynamically.
No comments:
Post a Comment