// Get the Data from CS
items = attributes.elementinfo.elementdata.PropertyValues;
subForm = ArrayNew(1);
// Loop over the items and get the sub form data
for ( i=1; i LTE ArrayLen(items); i++ ) {
subForm[i] = StructNew();
subForm[i].sectionItems = ArrayNew(1);
subForm[i].pullQuoteItems = ArrayNew(1);
// Get the Story Section Data
if ( StructKeyExists(items[i].values, application.npsStory.appConfig.story.fieldNames.section) AND ListLen(items[i].values[application.npsStory.appConfig.story.fieldNames.section]) )
subForm[i].sectionItems = application.npsStory.storySectionDAO.getStorySection(uniqueID=items[i].values[application.npsStory.appConfig.story.fieldNames.section]);
// Get the Story Pull Quote Data
if ( StructKeyExists(items[i].values, application.npsStory.appConfig.story.fieldNames.pullQuote) AND ListLen(items[i].values[application.npsStory.appConfig.story.fieldNames.pullQuote]) )
subForm[i].pullQuoteItems = application.npsStory.storyPullQuoteDAO.getStoryPullQuote(uniqueID=items[i].values[application.npsStory.appConfig.story.fieldNames.pullQuote]);
}
#items[j].values.title#