how to generate comments of artifatcs in RPE
Hi,
I'm trying to generate all the comments of artifacts of a module inside DNG.
I have added comment datasource.
These are the below queries that I have used to generate the same.
Container 1- DNG Text "datasource/artifact/modulecontent/contextbinding"
Container 2- DNG Text "datasource/artifact/collarboration/comments"
Added data source configuration inside container 2 - gave "href.replace("/resources/", "/publish/comments?resourceURI=")" for uri in dynamic configuration
Paragraph - DNG Comments "datasource/artifact/content/comment/text"
Text - selected value as "div"
I'm not able to print the comments of the artifacts.
Please provide me the solution.
Regards,
Lochana
3 answers
You can use dataSource/artifact/collaboration/comments/href as the URI for "DNG Comments" data source (dynamically configured). For "DNG Comments" data source, use the query dataSource/artifact/content/comments to print comment details (author, date, priority, etc.) and dataSource/artifact/content/comments/text to print the comment (div).
Comments
Hi Subramanya,
Followed your suggestion,
Container 2- DNG Comments "datasource/artifact/collarboration/comments"
Added data source configuration inside container 2 - gave "href.replace("/resources/", "/publish/comments?resourceURI=")" for uri in dynamic configuration
I'm not able to generate.If I'm wrong please correct me.