var itemExists = false; var pubishedSectionList = getActiveImageUUIDList(globalStoryID=arguments.globalStoryID); // Was this key (section UUID) part of the last published Story Sections list? if ( ListFindNoCase(pubishedSectionList, arguments.sectionID) ) itemExists = true; return itemExists; var retList = ""; var dataStruct = application.npsStory.storyService.getActiveStoryData(globalStoryID=arguments.globalStoryID); // if a data is returned ... get the IMAGE UUID list if ( StructKeyExists(dataStruct,"values") AND StructKeyExists(dataStruct.values, application.npsStory.appConfig.story.fieldNames.image) ) retList = dataStruct.values[application.npsStory.appConfig.story.fieldNames.image]; return retList;