var configStruct = StructNew(); var configXML = ""; var configPath = arguments.filePath; var isConfigCFM = false; // Check if the config is CFM if ( ListLast(arguments.filePath,".") EQ "cfm" ) { // Set the expanded path for the config to run the file exists configPath = ExpandPath(arguments.filePath); isConfigCFM = true; } // Build the Error Struct buildError.ADFmethodName = "Core Config"; buildError.details = "Core Config deserialize XML Error. [#request.site.name# - #request.site.id#]."; // Add the errorStruct to the server.ADF.buildErrors Array ArrayAppend(server.ADF.buildErrors,buildError); var configStruct = structNew(); var configElementQry = getConfigurationCE(arguments.appName); var ceData = server.ADF.objectFactory.getBean("ceData_1_0"); var configData = ceData.getCEData(configElementQry.formName); if ( arrayLen(configData) ) { configStruct = configData[1].values; configStruct.dataPageID = configData[1].pageID; configStruct.formID = configElementQry.id; } var getCE = ""; var ceConfigNameSpace = LCase(arguments.appName) & " configuration"; var ceConfigNameUnderscore = LCase(arguments.appName) & "_configuration"; SELECT ID, FormName FROM FormControl WHERE ((LOWER(FormName) = ) OR (LOWER(FormName) = )) AND (FormControl.action = '' OR FormControl.action is null)