// Variable for the version of the field - Display in Props UI. fieldVersion = "2.0.4"; // initialize some of the attributes variables typeid = attributes.typeid; prefix = attributes.prefix; formname = attributes.formname; currentValues = attributes.currentValues; // Setup the default values defaultValues = StructNew(); defaultValues.allowSubsiteAdd = "no"; defaultValues.uiTheme = "ui-lightness"; defaultValues.filterList = ""; //-- App Override Variables --// defaultValues.appBeanName = ""; defaultValues.appPropsVarName = ""; // This will override the current values with the default values. // In normal use this should not need to be modified. defaultValueArray = StructKeyArray(defaultValues); for(i=1;i<=ArrayLen(defaultValueArray);i++){ // If there is a default value to exists in the current values // AND the current value is an empty string // OR the default value does not exist in the current values if( ( StructKeyExists(currentValues, defaultValueArray[i]) AND (NOT LEN(currentValues[defaultValueArray[i]])) ) OR (NOT StructKeyExists(currentValues, defaultValueArray[i])) ) { currentValues[defaultValueArray[i]] = defaultValues[defaultValueArray[i]]; } }
UI Theme:
Subsite Name Filter List:
(Comma-Delimited list of Subsite Names OR SubsiteIDs to exclude. Using Subsite Names excludes the any child subsites.)

Optional ADF App PROPS Override Settings:
(IMPORTANT: If configured correctly these settings will override the entries above!)
App Bean Name:
Please enter the ADF Applications's AppName to override these configuration settings.
App Props Variable Name:
Please enter the App Props Variable name that contains PROPS keys and values to override.

ADF Custom Field v#fieldVersion#