appConfig = application.ptCalendar.getAppConfig(); // Set the UI theme from the Configuration Element uiTheme = application.ptCalendar.getUItheme(); // load jQuery headers application.ptCalendar.scripts.loadJQuery(noConflict=1); // load headers for jQuery light box application.ptCalendar.scripts.loadADFLightbox(); // load header for jQuery UI application.ptCalendar.scripts.loadJQueryUI(themeName=uiTheme); // load header for the Calendar Admin CSS application.ptCalendar.calService.loadCalendarAdminCSS(); ceName = application.ptCalendar.getCalPageMapCEName(); ManagePageTitleText = "Manage Calendar Page Mappings"; AddRecordLinkText = "Add New Page Mapping"; AjaxPath = application.ADF.lightboxProxy; AjaxBean = "forms_1_1"; renderForm = "renderAddEditForm"; formID = application.ptCalendar.cedata.getFormIDByCEName(ceName); dpid = 0; formResultHTML = ""; lightboxwidth = 600; lightboxheight = 500; // Only Add ONE config record to the Element // So remove the ADD LINK if a record exists showAddLink = true; showResetLink = false; ceArray = application.ptCalendar.ceData.getCEData(ceName); if ( ArrayLen(ceArray) GT 0 ) { showAddLink = true; showResetLink = true; } // Load the inline Styles after the libraries have loaded application.ptCalendar.scripts.addHeaderCSS(pageMappingCSS, "TERTIARY"); // PRIMARY, SECONDARY, TERTIARY // Load the inline JavaScript after the libraries have loaded application.ptCalendar.scripts.addFooterJS(pageMappingJS, "TERTIARY"); // PRIMARY, SECONDARY, TERTIARY
#ManagePageTitleText#
Important:
This Calendar Page Mapping Management page is only used when the PT Calendar App is in "Multiple View Page" mode.


Currently the PT Calendar App is set for "Single View Page" mode. Please update the PT Calendar App configuration if you are attempting to configure Calendar View Page mappings.

The PT Calendar App is set for "Multiple View Page" mode.
#application.ptCalendar.ui.buildAddEditLink( linkTitle=addRecordLinkText ,formName=ceName ,dataPageID=dpid ,refreshparent="true" ,urlParams="" ,lbTitle=addRecordLinkText ,linkClass="manageAddNewBtn ds-icons ui_button ui-state-default ui-corner-all" ,uiTheme=uiTheme )#