01-28-2014 02:28 PM
var items;
var dailyReports=new Object();
var dailyReportsArray=new Array();
if (goodDoc)
{
var j=0;
items=reportList.getChildren();
for each (child in items)
{
if (child.properties["reportdl:frequency"]=="Daily")
{
dailyReports.uniqueIdentifier=child.properties["reportdl:uniqueIdentifier"];
dailyReports.suffix=child.properties["reportdl:suffix"];
dailyReports.department=child.properties["reportdl:department"];
dailyReports.found=false;
dailyReportsArray.push(dailyReports);
blurb+=j+" "+dailyReportsArray[j].uniqueIdentifier+" "+dailyReportsArray[j].suffix+" "+dailyReportsArray[j].department+" "+dailyReportsArray[j].found+"\n"; //comparison 1
j++;
}
//blurb+=dailyReports.uniqueIdentifier+" "+dailyReports.suffix+" "+dailyReports.department+" "+dailyReports.found+"\n";
}
for (var i=0;i<dailyReportsArray.length;i++)
{
blurb+=i+" "+dailyReportsArray.uniqueIdentifier+" "+dailyReportsArray.suffix+" "+dailyReportsArray.department+" "+dailyReportsArray.found+"\n"; //comparison 2
}
01-29-2014 01:53 AM
var items;
var dailyReports=new Object();
var dailyReportsArray=new Array();
if (goodDoc)
{
var j=0;
items=reportList.getChildren();
for each (child in items)
{
if (child.properties["reportdl:frequency"]=="Daily")
{
dailyReports = {
"uniqueIdentifier":child.properties["reportdl:uniqueIdentifier"],
"suffix":child.properties["reportdl:suffix"],
"department":child.properties["reportdl:department"],
"found":false,
};
dailyReportsArray.push(dailyReports);
blurb+=j+" "+dailyReportsArray[j].uniqueIdentifier+" "+dailyReportsArray[j].suffix+" "+dailyReportsArray[j].department+" "+dailyReportsArray[j].found+"\n"; //comparison 1
j++;
}
//blurb+=dailyReports.uniqueIdentifier+" "+dailyReports.suffix+" "+dailyReports.department+" "+dailyReports.found+"\n";
}
for (var i=0;i<dailyReportsArray.length;i++)
{
blurb+=i+" "+dailyReportsArray.uniqueIdentifier+" "+dailyReportsArray.suffix+" "+dailyReportsArray.department+" "+dailyReportsArray.found+"\n"; //comparison 2
}
01-29-2014 08:30 AM
01-29-2014 08:52 AM
dailyReports = {};
01-29-2014 09:06 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.