appName = Application.ptCourseCatalog.getAppBeanName(); // Get the relative app path appPath = Application.ptCourseCatalog.getAppPath(); // Get the UI theme from the Configuration Element uiTheme = Application.ptCourseCatalog.getUItheme(); // Get the Social Media Dashboard URL from the Configuration Element ccSyncDashboardURL = Application.ptCourseCatalog.getSyncDashboardPageURL(); // Get the Configuration Page URL from the configuration Element ccSyncConfigManagerURL = ""; // Application.ptCourseCatalog.getConfigManagerURL(); // Get the Run Sync Scheduled Task Name from from the App.cfc ccSyncTaskName = Application.ptCourseCatalog.getExternalSyncScheduledTaskName(); // TODO: REMOVE -- VARIABLE NOT USED AT THIS TIME // Get the Scheduled Task Prefix from the App.cfc ccSyncTaskPrefix = Application.ptCourseCatalog.getExternalSyncScheduledTaskPrefix(); // "Course-Catalog-"; // Get the Scheduled Task Suffix from the App.cfc ccSyncTaskSuffix = Application.ptCourseCatalog.getExternalSyncScheduledTaskSuffix(); // TODO: REMOVE -- VARIABLE NOT USED AT THIS TIME // Get the Rebuild Sync Interval from the configuration element ccSyncBatchInterval = Application.ptCourseCatalog.getExternalSyncBatchInterval(); // Get the Sync State ccSyncState = Application.ptCourseCatalog.getExternalSyncState(); // Get the Date/Time Stamp of the Last Run of the External Sync lastSyncRunDate = ""; // DateFormat(Application.ptCourseCatalog.courseCatalogSyncDAO.getLastSyncRebuildDateTime(),"M/DD/YYYY"); // Get the Date/Time Stamp of the Last Rebuild of the Feed Sync lastSyncRunTime = ""; // TimeFormat(Application.ptCourseCatalog.courseCatalogSyncDAO.getLastSyncRebuildDateTime(),"h:MM TT"); // Set the ADF Ajax Proxy Path ccSyncAjaxPath = Application.ADF.ajaxProxy; // load jQuery headers Application.ptCourseCatalog.scripts.loadJQuery(); Application.ptCourseCatalog.scripts.loadJQueryUI(themeName=uiTheme); Application.ptCourseCatalog.scripts.loadJQueryDataTables(); // load headers for jQuery lightbox Application.ptCourseCatalog.scripts.loadADFLightbox(); Application.ptCourseCatalog.scripts.loadCFJS(); // Load the Course Catalog App Admin CSS File application.ptCourseCatalog.catalogRenderService.renderCourseCatalogAdminCSS(); // Get Array of Scheduled Tasks schedArray = Application.ptCourseCatalog.scheduler.getScheduledTasks(); //Application.ptCourseCatalog.utils.doDump(schedArray,"schedArray",0); // Get Import Job Struct importJobData = StructNew(); if ( StructKeyExists(application,"ptCourseCatalogImport") ) importJobData = Application.ptCourseCatalogImport; //Application.ptCourseCatalog.utils.doDump(importJobData,"importJobData",0); //Application.ptCourseCatalog.utils.doDump(application.ADFScheduler,"application.ADFScheduler",0); //Application.ptCourseCatalog.utils.doDump(application.ptCourseCatalogSyncMonitor,"application.ptCourseCatalogSyncMonitor",0); forceRebuildBean = "courseCatalogSyncController"; forceRebuildMethod = "forceFeedSyncRebuildHTML"; forceRebuildAppName = appName; schedBean = "courseCatalogSyncController"; schedMethod = "setSyncRunTaskHTML"; schedAppName = appName; schedDeleteBean = "catalogSyncScheduleTasksDAO"; schedDeleteMethod = "deleteScheduledTaskItem"; schedDeleteAppName=appName; SyncDumpBean = "courseCatalogSyncController"; SyncDumpMethod = "displaySyncDataDumpHTML"; SyncDumpAppName = appName; runSyncTaskExists = false; for ( x=1; x LTE ArrayLen(schedArray); x=x+1 ){ if ( schedArray[x].task EQ ccSyncTaskName & ccSyncTaskSuffix ) { runSyncTaskExists = true; break; } } loadingImgHTML = "";
#LinkText#
#LinkTextDisabled#
#LinkHeadingText#
#Application.ptCourseCatalog.ui.buildLightboxProxyLink( linkTitle=LinkText ,bean=forceRebuildBean ,method=forceRebuildMethod ,appName=forceRebuildAppName ,urlParams=LinkURLParams ,linkClass="syncDasboardToolsBtn ds-icons ui_button ui-state-default ui-corner-all" ,uiTheme=UItheme )#
#LinkText#
#LinkTextDisabled#
--->

External Sync Scheduled Tasks

  Scheduled Task Start Date Start Time
#LinkText# #DateFormat(schedArray[itm].start_date,"mm-dd-yyyy")# #TimeFormat(schedArray[itm].start_time,"hh:mm tt")#
--->