13-09-2015 03:36 PM
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.
Solved! Go to Solution.
14-09-2015 10:00 AM
Thank you Boss.
I did the following.
[Collection=MyProcessQuery]
<script> var count = ([CollectionProperty=Cardinal/]); </script>
[/Collection]
14-09-2015 09:16 AM
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.