Difference between revisions of "Upgrade Guide v1.5.1"

From ADF Docs
Jump to: navigation, search
(Custom Field Types)
Line 20: Line 20:
 
     WHERE    (CustomFieldTypes.PropertyModule NOT LIKE '/ADF/%')
 
     WHERE    (CustomFieldTypes.PropertyModule NOT LIKE '/ADF/%')
 
     ORDER BY FormControl.FormName, FormInputControl.Type
 
     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);

Revision as of 16:25, 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);