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

Show query result in HTML descriptor

Sajam
Super Contributor

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. 

2 Replies

Sajam
Super Contributor

Thank you Boss.

 

I did the following. 

 

[Collection=MyProcessQuery]

 

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

 

[/Collection]

 

 

hsoegaard
MEGA Partner
MEGA Partner

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.