Displaying Tags in a Report
  • 12 May 2022
  • 1 Minute to read
  • Dark
    Light

Displaying Tags in a Report

  • Dark
    Light

Article summary

Welcome to Example Lab
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version8.1.0.69234
Root FolderExampleLab[DisplayingTagsInReport]
Modules N/A
DependenciesUserData [ExampleLabsDisplayingTagsInReport][DecisionsFramework.Design.DataStructure.SimpleDataStructure]

The following Example Lab demonstrates how to display String values on a Report that are contained within tags (<>). 


Explanation

By default, Reports are configured to not display tag contained values to prevent potential security risks and sensitive information leaks. 

The attached example contains a Flow that is designed to demonstrate how to format a "tag contained" String to allow display on a Report. This Flow utilizes a ForEach Step to iterate through and process each String value via two Regex Replace steps that replace the < and > values in the text with the same character, as well as an extra space following and preceding the tags respectively.

These steps are fed into a Create UserData step that creates individual entries within the "UserData" Database Structure. This Database Structure is in turn used to populate the included Report. The Create UserData step that follows the ForEach loop is used to create an additional value that has not been processed to demonstrate that the value will appear empty on the Report.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 8.1 or later using our Importing/Exporting article.

This is where a downloadable version of the project will be located. It will appear as a clickable link in the box shown below.

For further information on Reports, visit the Decisions Forum.

Was this article helpful?