BlurredVision
Technical User
Does anyone know how to pull the SI_FILES information within CI_INFOOBJECTS? My goal is to have the info displayed on a single line.. Example:
SI_PATH, SI_NUM_FILES, SI_FILE1, SI_FILE2
I am using the code below, which works fine for items, but not for others.
var Query = "SELECT * From CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Report' and SI_INSTANCE=0";
var Reports = IStore.Query(Query);
if (Reports.count > 0)
{
for (var k = 1; k < Reports.count; k++)
{
Response.Write(Reports.item(k).Properties.Item('SI_NAME') + '<br>');
Response.Write(Reports.item(k).Properties.Item('SI_ID') + '<br>');
Any examples that you could provide would be most helpful.
Brian
SI_PATH, SI_NUM_FILES, SI_FILE1, SI_FILE2
I am using the code below, which works fine for items, but not for others.
var Query = "SELECT * From CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Report' and SI_INSTANCE=0";
var Reports = IStore.Query(Query);
if (Reports.count > 0)
{
for (var k = 1; k < Reports.count; k++)
{
Response.Write(Reports.item(k).Properties.Item('SI_NAME') + '<br>');
Response.Write(Reports.item(k).Properties.Item('SI_ID') + '<br>');
Any examples that you could provide would be most helpful.
Brian