I have this 2 liner that request a certain report that's for a given category, - best sellers in the last 30 days .:
<mvt:do file="g.Module_Feature_RPT_DB" name="l.success" value="Report_Load_ID(25, l.settings:reporttest)" />
report: &mvt:reporttest;<br/>
I get back a good response, but how do i make sense of the structure of the response? it's just a comma separated list of everything top level.
using:<mvt:assign name="g.report_elements" value="miva_array_elements( l.settings:reporttest )" />
and i get 10 elements which makes sense (report is set to return 10 results), but there's more meta data getting returned.
in googling, i see using miva_array_elements( ) with miva_struct_members( ) is the way to go. But any pointers on how i output this structure as a whole?
thanks for any help,
Paul
<mvt:do file="g.Module_Feature_RPT_DB" name="l.success" value="Report_Load_ID(25, l.settings:reporttest)" />
report: &mvt:reporttest;<br/>
I get back a good response, but how do i make sense of the structure of the response? it's just a comma separated list of everything top level.
using:<mvt:assign name="g.report_elements" value="miva_array_elements( l.settings:reporttest )" />
and i get 10 elements which makes sense (report is set to return 10 results), but there's more meta data getting returned.
in googling, i see using miva_array_elements( ) with miva_struct_members( ) is the way to go. But any pointers on how i output this structure as a whole?
thanks for any help,
Paul
Comment