// Variable for the version of the field - Display in Props UI. fieldVersion = "2.0.8"; // initialize some of the attributes variables typeid = attributes.typeid; prefix = attributes.prefix; formname = attributes.formname; currentValues = attributes.currentValues; // Setup the default values defaultValues.filterList = ""; defaultValues.editOnce = 0; //-- 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]]; } } application.ADF.scripts.addFooterJS(cftFooterJS,"TERTIARY");
Template Filter List:
(Comma-Delimited list of Templates Names OR Template Page IDs to exclude. Using a part of a Template Name excludes all templates that contain that part in the name.)
Action Properties:
Edit Once: checked>False checked>True
Select the True to allow the field to only be edited once on creation of the record. This will lock the value in and make the field disabled.

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#