cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Show query result in HTML descriptor

Solved
Highlighted
Occasional Contributor

Show query result in HTML descriptor

Dear All,

 

I want to count the records of a specifc query and display the result in HTML descriptor. 

 

For example i want to display the number of "Organizational processes"  of each department and show the number on a specific web page.  I am trying to do this in a HTML descriptor file. 

 

Thanks in advance. 

Tags (2)
2 Replies
Highlighted
MEGA Partner

Re: Show query result in HTML descriptor

Use a Collection to get the Query, and then use the Cardianl leg to display the count of objects in the query result.

 

Take a look at how the Diagram tab of a HTML descriptor, eg. EA_Application is constructed.

Occasional Contributor

Re: Show query result in HTML descriptor

Thank you Boss.

 

I did the following. 

 

[Collection=MyProcessQuery]

 

<script> var count = ([CollectionProperty=Cardinal/]); </script>

 

[/Collection]