Hello,
I am using 8.5 - csp pages. I'm developing a page and need to read out scheduling and param information for an instance. The following code works if I query for a report, but if I query for an instance record instead I get an error saying that "Object doesn't support this property or method: 'ReportParameters'". By Object it means the rptPlugin below.
Please, anyone know how to do this?
Thanks so much.
Set iStore = es.Service("","InfoStore"
Set objects = iStore.query("SELECT top 1 * FROM CI_INFOOBJECTS WHERE SI_NAME = 'Companies Merged' and si_instance = 1"
Set rptPlugin = infoObject.PluginInterface(""
Set rptParams = rptPlugin.ReportParameters
For each rptParam in rptParams
response.write rptParam.ParameterName
Set Values = rptParam.CurrentValues
For Each Value in Values
RESPONSE.WRITE Value.value
Next
Next
I am using 8.5 - csp pages. I'm developing a page and need to read out scheduling and param information for an instance. The following code works if I query for a report, but if I query for an instance record instead I get an error saying that "Object doesn't support this property or method: 'ReportParameters'". By Object it means the rptPlugin below.
Please, anyone know how to do this?
Thanks so much.
Set iStore = es.Service("","InfoStore"
Set objects = iStore.query("SELECT top 1 * FROM CI_INFOOBJECTS WHERE SI_NAME = 'Companies Merged' and si_instance = 1"
Set rptPlugin = infoObject.PluginInterface(""
Set rptParams = rptPlugin.ReportParameters
For each rptParam in rptParams
response.write rptParam.ParameterName
Set Values = rptParam.CurrentValues
For Each Value in Values
RESPONSE.WRITE Value.value
Next
Next