Difference between revisions of "Register All Scripts"

From ADF Docs
Jump to: navigation, search
Line 26: Line 26:
 
      
 
      
 
  '''Note:''' For compatibility with the ADF's Custom Fields, Custom Scripts, Datasheet Modules and any additional ADF Apps that maybe installed on your site, it is recommended to register '''All''' resources.  
 
  '''Note:''' For compatibility with the ADF's Custom Fields, Custom Scripts, Datasheet Modules and any additional ADF Apps that maybe installed on your site, it is recommended to register '''All''' resources.  
 +
 +
 +
==== Additional Resource Registration URL Parameters ====
 +
 +
In addition to the 'configADF', 'reconfigADF' and the 'scriptsPackage' url parameters, as of ADF 2.6 and above you can also utilize the following additional url parameters for controlling the ADF Script registration process.
 +
 +
*
 +
*
 +
*
 +
*
 +
*
  
 
==== ADF Scripts Developer Info ====
 
==== ADF Scripts Developer Info ====

Revision as of 22:50, 20 October 2020

Register ADF Scripts as CommonSpot Resources

Once the ADF has been installed or upgraded and the ADF Reset, register the ADF 2.0 ThirdParty Scripts as Resources in CommonSpot 10 by using the following URL parameters:

(Any existing ADF scripts/resources will be skipped.)

(Any missing ADF scripts/resources will also be added.)

Remember: You must be logged in to the CommonSpot site for these parameters to run.

The minimal set of ThirdParty Scripts includes:

  • jQuery
  • jQueryMigrate
  • jQueryUI
  • jQueryMobile
  • Bootstrap
  • ADFLightbox
Note: For compatibility with the ADF's Custom Fields, Custom Scripts, Datasheet Modules and any additional ADF Apps that maybe installed on your site, it is recommended to register All resources. 


Additional Resource Registration URL Parameters

In addition to the 'configADF', 'reconfigADF' and the 'scriptsPackage' url parameters, as of ADF 2.6 and above you can also utilize the following additional url parameters for controlling the ADF Script registration process.

ADF Scripts Developer Info

For more information regarding the registration of ADF 2.0 ThirdParty Scripts as Resources in CommonSpot 10, please review the ADF Scripts 2.0 Developer Info

IMPORTANT: The ADF thirdParty scripts libraries will not function when using ADF.scripts_2_0 loadScripts calls unless
they are registered as Resources in CommonSpot 10.x.