Difference between revisions of "Upgrade Guide v1.5.1"

From ADF Docs
Jump to: navigation, search
(Custom Field Types)
(Custom Field Types)
Line 26: Line 26:
  
 
scripts.loadJQuery(noConflict=true);
 
scripts.loadJQuery(noConflict=true);
 +
 +
Repeat this same process for any ADF applications that are running within the site that have not been updated to the latest versions.
 +
 +
Run the following query to identify the ADF application custom field types that are registered within your CommonSpot site:
 +
 +
    SELECT    DISTINCT FormInputControlMap.FieldID,
 +
              FormInputControl.FieldName,
 +
              FormInputControl.Type,
 +
              FormControl.FormName,
 +
              CustomFieldTypes.PropertyModule
 +
    FROM      FormInputControl INNER JOIN FormInputControlMap
 +
                  ON FormInputControl.ID = FormInputControlMap.FieldID INNER JOIN FormControl
 +
                  ON FormInputControlMap.FormID = FormControl.ID INNER JOIN CustomFieldTypes
 +
                  ON FormInputControl.Type = CustomFieldTypes.Type
 +
    WHERE    (CustomFieldTypes.PropertyModule LIKE '/ADF/apps/%')
 +
    ORDER BY FormControl.FormName, FormInputControl.Type

Revision as of 16:27, 18 January 2012

Current Version

Follow the guide below if you are upgrading to ADF v1.5.1 from v1.5 only.

If you are upgrading from ADF v1.5.0, then please follow the 1.5 Upgrade Guide to upgrade the previous version.

Pre-Upgrade Steps

Custom Field Types

A major change with the ADF v1.5.1 is the JQuery No-Conflict Mode bug fix (see the Release Notes for more details). This will require that all the registered custom field types that are loading JQuery from the ADF Scripts need to have the "noconflict" argument.

To make this update locate all your site custom field type property files with the following query:

   SELECT     DISTINCT FormInputControlMap.FieldID, 
              FormInputControl.FieldName,
              FormInputControl.Type,
              FormControl.FormName,
              CustomFieldTypes.PropertyModule
   FROM       FormInputControl INNER JOIN FormInputControlMap 
                 ON FormInputControl.ID = FormInputControlMap.FieldID INNER JOIN FormControl
                 ON FormInputControlMap.FormID = FormControl.ID INNER JOIN CustomFieldTypes 
                 ON FormInputControl.Type = CustomFieldTypes.Type
   WHERE    (CustomFieldTypes.PropertyModule NOT LIKE '/ADF/%')
   ORDER BY FormControl.FormName, FormInputControl.Type

This query will return the registered custom field type and property file locations.

Go this the return query and identify the custom field types property files that are loading JQuery through the ADF Scripts function. Modify the function call to add the "noconflict" argument:

scripts.loadJQuery(noConflict=true);

Repeat this same process for any ADF applications that are running within the site that have not been updated to the latest versions.

Run the following query to identify the ADF application custom field types that are registered within your CommonSpot site:

   SELECT     DISTINCT FormInputControlMap.FieldID, 
              FormInputControl.FieldName,
              FormInputControl.Type,
              FormControl.FormName,
              CustomFieldTypes.PropertyModule
   FROM       FormInputControl INNER JOIN FormInputControlMap 
                 ON FormInputControl.ID = FormInputControlMap.FieldID INNER JOIN FormControl
                 ON FormInputControlMap.FormID = FormControl.ID INNER JOIN CustomFieldTypes 
                 ON FormInputControl.Type = CustomFieldTypes.Type
   WHERE    (CustomFieldTypes.PropertyModule LIKE '/ADF/apps/%')
   ORDER BY FormControl.FormName, FormInputControl.Type