Difference between revisions of "Customizing an Application at the Site Level"
From ADF Docs
(Created page with '== Application Site Customization == See Custom Application Site Level Customization wiki page for more detailed information on si…') |
|||
Line 1: | Line 1: | ||
== Application Site Customization == | == Application Site Customization == | ||
− | See [[Custom_Application_Site_Level_Customization|Custom Application Site Level Customization]] wiki page for more detailed information on site customization. | + | See the [[Custom_Application_Site_Level_Customization|Custom Application Site Level Customization]] wiki page for more detailed information on site customization. |
# Locate the ''_cs_apps'' directory on the site. | # Locate the ''_cs_apps'' directory on the site. | ||
− | # Verify that the ADF application directory exists in ''_cs_apps'' | + | # Verify that the ADF application directory exists in ''_cs_apps''; if not, create. For example, the Profile Application will have the directory ''_cs_apps/pt_profile''. |
# Place an [[Site_Application_Bean_Config|Site Application Bean Config]] file in the ADF application directory in the site "_cs_apps" directory. | # Place an [[Site_Application_Bean_Config|Site Application Bean Config]] file in the ADF application directory in the site "_cs_apps" directory. | ||
# Update the [[Site_Application_Bean_Config|Site Application Bean Config]] variables for site name and application name. | # Update the [[Site_Application_Bean_Config|Site Application Bean Config]] variables for site name and application name. | ||
Line 11: | Line 11: | ||
# For example, if we created a site customization for the Profile Application for ''SITE01'', then the ''loadApp'' function will reference the application as: | # For example, if we created a site customization for the Profile Application for ''SITE01'', then the ''loadApp'' function will reference the application as: | ||
loadApp("ptProfile", "pt_profile_SITE01"); | loadApp("ptProfile", "pt_profile_SITE01"); | ||
+ | |||
+ | [[Category: How-to Guide]][[Category: Customization]] |
Revision as of 00:57, 20 December 2009
Application Site Customization
See the Custom Application Site Level Customization wiki page for more detailed information on site customization.
- Locate the _cs_apps directory on the site.
- Verify that the ADF application directory exists in _cs_apps; if not, create. For example, the Profile Application will have the directory _cs_apps/pt_profile.
- Place an Site Application Bean Config file in the ADF application directory in the site "_cs_apps" directory.
- Update the Site Application Bean Config variables for site name and application name.
- Ensure that the appComPath variable is correct.
- Update the App Bean Config of the site app to use any components at the site level, or server app level.
- Update the sites ADF.cfc to load the new application name into application scope via the loadApp function. See the Site Configuration - ADF Applications wiki page for more details.
- For example, if we created a site customization for the Profile Application for SITE01, then the loadApp function will reference the application as:
loadApp("ptProfile", "pt_profile_SITE01");