How do I see all comments made in Collibra by read-only users
Hi all,
I would like to create a report in Collibra to see all comments made by regular (non-stewards) users of Collibra. Because comments isn’t an attribute that can be added to report in Global view I can’t see them all together. As a head of Data Governance I would like to monitor user’s feedback on daily basis to quickly react to their needs.
Thank you,
Serguie
sergueiantonov
Posted 3 years ago · Edited 1 year ago·Last reply 3 years ago
7 comments
arthurburkhardt
·3 years ago · EditedThere is no workflow to do that automatically, you have to build one with the
commentApi.Or you can use the rest API.
Here, I’ll give you two step-by-step instructions:
For example in Excel, you can go to Data > From Web

Load this url: https://yourinstance.collibra.com/rest/2.0/comments?limit=10000
Select “Basic” (Collibra does not support SSO authentication for APIs) and enter your username and password, then press “Connect”
It will open PowerQuery and enable you to extract the information



Right click on the header (List), then To Table
Using the outputModule API
Step 1. Go to the API docs of your instance > Rest Core API

Step2. Find the outputModule excel-file endpoint and click “Try it out”
Step 3. Paste the following query in the request body form and press “Execute”
OutputModule QueryStep 4. Copy the id, navigate to the /files/{fileId} endpoint, press “Try it out”, paste the ID then press execute
Step 5. Click “Download the file”, rename it to a correct name file (e.g. “collibra-comments.xlsx”) and you’re done!

Anyway… Not super easy to extract comments for reporting… Best of luck!
arthurburkhardt
·3 years ago · EditedThere is no workflow to do that automatically, you have to build one with the
commentApi.Or you can use the rest API.
Here, I’ll give you two step-by-step instructions:
For example in Excel, you can go to Data > From Web

Load this url: https://yourinstance.collibra.com/rest/2.0/comments?limit=10000
Select “Basic” (Collibra does not support SSO authentication for APIs) and enter your username and password, then press “Connect”
It will open PowerQuery and enable you to extract the information



Right click on the header (List), then To Table
Using the outputModule API
Step 1. Go to the API docs of your instance > Rest Core API

Step2. Find the outputModule excel-file endpoint and click “Try it out”
Step 3. Paste the following query in the request body form and press “Execute”
OutputModule QueryStep 4. Copy the id, navigate to the /files/{fileId} endpoint, press “Try it out”, paste the ID then press execute
Step 5. Click “Download the file”, rename it to a correct name file (e.g. “collibra-comments.xlsx”) and you’re done!

Anyway… Not super easy to extract comments for reporting… Best of luck!
cagriozbakay
·3 years ago · Edited@arthur.burkhardt Super helpful!!! Thanks!
arthurburkhardt
·3 years ago · EditedThis is not possible out of the box.
All possible solutions require development:
arthurburkhardt
·3 years ago · EditedThis is not possible out of the box.
All possible solutions require development:
sergueiantonov
OP3 years ago · EditedThank you for recommendation! Which workflow can pull comments out of Collibra?
daniel
·3 years ago · EditedHi Serguei,
You would need to build this workflow, there isn’t one out of the box.
You would likely use com.collibra.dgc.core.api.dto.instance.comment FindCommentsRequest.Builder to look for comments and then filter the results based on date to remove ones you have already seen (e.g. since last run date of some sort).
Personally I find the REST APIs easier to deal with over workflows to get data into python directly, but both can do the trick