If save in a variable and display it in the report, the data looses formatting
![]() Hello!
I'm trying to build a report using next schema:
https://<SERVER_URI>/rm/publish/views?metadata=schema
When I iterate fields in some view, it displays correctly formatted data with <div> element of schema in "Text" element of RPE. But if I will save <div> in JavaScript variable first (for example, trying to save artifact names in an array), and next if I display it in "Text" element, then it will show the artifact's data without any formatting.
I can not understand why the formatting is lost if I use a JavaScript variable to save it.
On the next screenshot, there's part 1 that directly displays <div> elements, and section 2 that displays the same data but preliminary saved in an array:
![]()
Could please somebody explain why the formatting is lost in this way?
Thank you very much for help!
|