I'm using Design Studio 9 and in my Design Studio User Guide 9 I see this but i can not get the Count to display on a portal page or find this option in the dme builder. From guide: Count (MAXOUT attribute or RECORDS node) If selected, provides a count of records that resulted from the query.
I'm using Design Studio 9 and in my Design Studio User Guide 9 I see this but i can not get the Count to display on a portal page or find this option in the dme builder.
From guide:
Count (MAXOUT attribute or
RECORDS node)
If selected, provides a count of
records that resulted from the query.
Does anyone know how to capture the record count and display it?
Ex: /servlet/Router/Data/Erp?PROD=TEST&FILE=EMPLOYEE&FIELD=EMPLOYEE;EMP-STATUS;PROCESS-LEVEL;&MAX=55&INDEX=EMPSET2&KEY=155=ABC123==&XCOLS=TRUE&XKEYS=TRUE&XRELS=TRUE&XCOUNT=TRUE&XIDA=TRUE&OUT=XML
In order to access that record count, you will need to examine the returned XML DOM using Javascript, something like this (assuming objDme is your Data/DME object): var count = objDme.getElementsByTagName("RECORDS")[0].getAttribute("count")
I will try this and report back what I get to work. Thanks!