Downloading all Comments From Current Decisions Instance
- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Downloading all Comments From Current Decisions Instance
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Example Lab Article
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 | |
Version | 6.12.1 |
Root Folder | Example Lab - Download All Decisions Comments |
Modules | None |
Dependencies | None |
This Example Lab generates a .doc file with all the comments on your Decisions instance
Explanation
First, it fetches all comments in descending order of creation. Next, each comment is looped through and merged to an HTML formatted list. Once finished, that HTML list is formatted to Ascii, and then formatted from Ascii to bytes. This formatting allows the HTML to be changed into a .doc file. Finally, a download file is created with that generated list of bytes as its' contents and a form is displayed to the user to allow them to download it.
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 6.12.1 or later using our Importing/Exporting article.
Was this article helpful?