variables.version = "1.0"; variables.svnBuild = "222"; application.npsStory.version = variables.version; application.npsStory.svnBuild = variables.svnBuild; // Load the app config application.npsStory.appConfig = getAppConfig(getAppName()); var retList = ""; retList = ListAppend(retList,getStoryCEName()); retList = ListAppend(retList,getStorySectionCEName()); retList = ListAppend(retList,getStoryPullQuoteCEName()); return retList; var retList = ""; retList = ListAppend(retList,getStoryFormID()); retList = ListAppend(retList,getStorySectionFormID()); retList = ListAppend(retList,getStoryPullQuoteFormID()); return retList; var retValue = false; var appConfig = getAppConfig(); var appName = "npsTags"; var useTagsApp = false; if ( StructKeyExists(appConfig,arguments.configType) AND StructKeyExists(appConfig[arguments.configType],"useTagsField") AND IsBoolean(appConfig[arguments.configType]['useTagsField']) ) useTagsApp = appConfig[arguments.configType]['useTagsField']; if ( ListFindNoCase(application.ADF.SITEAPPLIST,appName) AND useTagsApp ) retValue = true; return retValue; var retValue = 0; var appConfig = getAppConfig(); // Set the useTagsField status if ( StructKeyExists(appConfig,arguments.configType) AND StructKeyExists(appConfig[arguments.configType],"useComments") AND IsBoolean(appConfig[arguments.configType]['useComments']) ) retValue = appConfig[arguments.configType]['useComments']; return retValue; var retStruct = StructNew(); var appConfig = getAppConfig(); // Defualt Label Values retStruct['archive'] = "Archive"; retStruct['archiving'] = "Archive"; retStruct['archived'] = "Archived"; retStruct['unarchive'] = "Un-archive"; retStruct['unarchiving'] = "Un-archiving"; retStruct['unarchived'] = "Un-archived"; // Set the archiveLabels from the config if ( StructKeyExists(appConfig,arguments.configType) AND StructKeyExists(appConfig[arguments.configType],"archiveLabels") AND !StructIsEmpty(appConfig[arguments.configType]['archiveLabels']) ) StructAppend(retStruct,appConfig[arguments.configType]['archiveLabels'],true); return retStruct; var retValue = "m/d/yyy"; var appConfig = getAppConfig(); // Set the CFdateMask display if ( StructKeyExists(appConfig,arguments.configType) AND StructKeyExists(appConfig[arguments.configType],"versions") AND StructKeyExists(appConfig[arguments.configType].versions,"CFDateMask") AND LEN(TRIM(appConfig[arguments.configType].versions['CFDateMask'])) ) retValue = appConfig[arguments.configType].versions['CFDateMask']; return retValue; var retValue = "h:mm tt"; var appConfig = getAppConfig(); // Set the CFtimeMask display if ( StructKeyExists(appConfig,arguments.configType) AND StructKeyExists(appConfig[arguments.configType],"versions") AND StructKeyExists(appConfig[arguments.configType].versions,"CFTimeMask") AND LEN(TRIM(appConfig[arguments.configType].versions['CFTimeMask'])) ) retValue = appConfig[arguments.configType].versions['CFTimeMask']; return retValue; var retValue = "m/d/yyy"; var appConfig = getAppConfig(); // Set the CFdateMask display if ( StructKeyExists(appConfig,arguments.configType) AND StructKeyExists(appConfig[arguments.configType],"comments") AND StructKeyExists(appConfig[arguments.configType].comments,"CFDateMask") AND LEN(TRIM(appConfig[arguments.configType].comments['CFDateMask'])) ) retValue = appConfig[arguments.configType].comments['CFDateMask']; return retValue; var retValue = "h:mm tt"; var appConfig = getAppConfig(); // Set the CFtimeMask display if ( StructKeyExists(appConfig,arguments.configType) AND StructKeyExists(appConfig[arguments.configType],"comments") AND StructKeyExists(appConfig[arguments.configType].comments,"CFTimeMask") AND LEN(TRIM(appConfig[arguments.configType].comments['CFTimeMask'])) ) retValue = appConfig[arguments.configType].comments['CFTimeMask']; return retValue; var errorDump = ""; var logFileName = errorLogFileName(arguments.processName); var errorStruct = StructNew(); // Add the errorDetails to the errorStruct errorStruct.Details = arguments.errorDetails; // Add the processName to the errorStruct if ( LEN(TRIM(arguments.processName)) ) errorStruct.processName = arguments.processName; // Add the methodName to the errorStruct data if ( LEN(TRIM(arguments.methodName)) ) errorStruct.methodName = arguments.methodName; Error Message: #arguments.errorMsg#
var appName = getAppName(); var logFileName = dateFormat(now(), "yyyymmdd") & "." & request.site.name & "." & appName & "_" & arguments.processName & "_Errors.htm"; return logFileName;