Skip to Content
0
Former Member
Jun 01, 2007 at 08:03 AM

Determining if comments are available on a template

16 Views

Hi there

As part of our web template, users are able to add their own comments.

I am using the following command to implement that functionality:

<bi:OPEN_DIALOG_DLGDOCBROWSER >
  <bi:TARGET_ITEM_REF value="ANALYSIS" />
  <bi:DATA_PROVIDER_REF value="DP_1" />
  <bi:DOCUMENT_CLASS_SPECIFIC type="CHOICE" value="DATA_CONTEXT" />
</bi:OPEN_DIALOG_DLGDOCBROWSER>

Now I have been asked to provide something on the template that shows that their are comments already stored on this template / query.

So, my question is, is it possible in Javascript or somehow else to check if their comments available for that query. If I can at least determine that, then I can work on a display indicator for the users.

Any input would be greatly appreciated.

Cheers,

Andrew