Custom Attribute

Classic View: System Administration > Custom > Custom Attribute

Search Term: Custom Attribute

The Custom Attribute tool is used to view and create new, custom fields for the user interface.

Custom attributes are custom interface fields that can be created at the district/state level for storing localized information not otherwise tracked by an existing Campus field. Custom fields can be created for certain, customizable areas of Campus or for a district/state-created Custom Tab.

Custom Attribute Tool

The Custom Attribute tool creates user interface fields that are stored as database attributes within the campusAttribute table.

Information to be contained in a custom field should NOT already have a designated area in the Campus product. Campus recommends conducting a thorough review of existing Campus functionality and schema and/or contacting a Campus Support representative before creating custom fields.

Custom Attributes vs. Attribute/Dictionary

The Custom Attribute tool allows a district/state to view, create and manage its own localized, custom fields.

The purpose of the Attribute Dictionary tool is to view all core elements within the application based on the state and district. Locally created elements can be created, viewed and modified in the Custom Attribute tools. Locally created elements are only viewable within the Custom Attribute tool and do not display within the Attribute/Dictionary tool.

Create a Custom Field

Note the following:

  • Custom fields added to core tabs appear in a District Defined Elements editor on the tab (see Image 2).
  • If the custom field resides on a Custom Tab, the Custom Tab must be created before beginning the following steps.
  • Any custom attribute that contains the word "time" cannot be queried in Ad hoc tools if it is not an actual time field.

A custom field contains data not otherwise tracked in Campus. The field's details, format, size and associated codes/values are configured through this tool.

  1. Select the New icon from the action bar, or select an existing object from the list. The Campus Attribute Detail editor displays.
  2. Enter a Display Name for the custom field's name/label.

    Display names cannot contain special characters ($, ', *, etc.).

  3. Select the existing customizable core object or the Custom Tab that displays the custom field in the Screen Location field.
  4. Connect the custom field to the database by entering the Field Name of the associated database field/column.
  5. Select the format of the custom field from the Data Type field. Refer to the Data Types section of this document for examples of these options.
  6. If applicable to the field, enter a Max Size and Sequence value.
  7. If the attribute should not be visible on the interface, mark the Hide checkbox.
  8. If an end user should be required to enter a value in the custom field, mark the Required checkbox.
  9. If the custom field should be hidden from parents/students on the Portal, mark the Hide Portal checkbox. This field does not display for State Edition users.

  10. Enter a Default Value if desired. This value auto-populates in the field when a new record is created.
  11. Enter any Comments related to this attribute.

  12. Click the Save icon to create the new custom field on the assigned Custom Tab.

The field saves and displays in the Custom Attributes Editor list under its assigned custom object or Custom Tab (per the Screen Location field, Step 3).

The field also displays within the user interface in its designated area:

Viewing Custom Attribute/Field in the User Interface

Define Values of Custom Dropdown lists

This section only applies to custom dropdown list fields (fields that have a Data Type value of Dropdown list).

The codes/values of custom dropdown list fields can be defined by a user through the Campus Attributes/Dictionary editor.

  1. Click the plus sign (+ icon) next to the existing object or Custom Tab to which the custom dropdown list field and its codes/values are assigned. 
  2. Click the plus sign (+ icon) next to the custom dropdown list field to which the codes/values should be assigned.
  3. Click the Dictionary (0 Entries) link. The Dictionary Detail editor appears.
  4. Enter a Code used for abbreviated identification of the value and a Name for descriptive identification of the value. The custom dropdown list field values displayed to end users is the Code followed by the Name.
  5. Enter a value in the Seq(uence) field to indicate the order of the value in the list of dropdown list values.
  6. Enter a Value and/or Standard Code, if desired.
  7. Mark the Active checkbox to make the code/value available to end users within the custom dropdown list field. 
  8. Repeat Steps 1-7, as necessary.
  9. Use the Add Row button to add additional entries, as necessary.
  10. Click the Save icon to save the codes/values of the custom dropdown list field.

Custom dropdown list


Defining Values of Custom dropdown lists in Dictionary Detail Editor 

Manage Values of Custom dropdown lists

The codes/values associated with a custom dropdown list field can be accessed and modified through the Campus Attributes/Dictionary Editor list.

  1. Click the + icon next to the existing object or Custom Tab to which the custom dropdown list field and its codes/values are assigned. 
  2. Click the + icon next to the custom dropdown list field to which the codes/values are assigned.
  3. Click the Dictionary (X Entries) link. The Dictionary Detail editor appears.
  4. Review/modify codes/values as necessary.
  5. Click the Save icon to apply changes.

Field Definitions

The following interface and database field definitions are related to the creation of custom fields.

Custom Fields (Campus Attribute Detail Editor)

The following fields are displayed within the Campus Attribute Detail editor when creating/modifying a custom field. This data is stored in the campusAttribute table.

Field Option

Description

Database Location

Display Name

The text label of the custom field, as displayed within the user interface.

Display names cannot contain special characters ($, ', *, etc.).

CampusAttribute.
name

Screen Location

The location of custom field display and data storage. Dropdown list options include core data objects/areas of Campus available for customization as well as locally created Custom Tab.

For example, select the Enrollments object to add the customized field to the Enrollments tab.

CampusAttribute.
object

Field Name

The abbreviated name for the attribute stored by the database, as entered by the user.

For an interface field named Behavior Event Role, the shortened form entered in this field might be Role.

CampusAttribute.
element

Default Value

The value that can be auto-populates in the field when a new record is created.

Note that default values are NOT saved in the database tables.

CampusAttribute.
defaultValue

Data Type

The form the field/attribute should take on the tab/tool within the user interface. See the Data Type Logic section for more information.
 

CampusAttribute.
dataType

Max Size

The maximum number of characters allowed for entry with the custom field. 

CampusAttribute.
maxSize

Seq

The order of the custom field on the tab/tool on which it is displayed, as related to other custom fields on the tab. If no sequence is indicated, values display in numeric or alphabetic order.

CampusAttribute.
seq

Hide

If marked the attribute does not display in the interface.

Note that attributes that display in a dropdown list CANNOT be hidden.

CampusAttribute. hide

Required

If marked, checkbox indicates that the custom field requires a value before the page can be successfully saved. In addition, the custom field name displays as red text (instead of black) and is followed by an asterisk (*) to indicate that it is required.

CampusAttribute.
required

Copies Forward

When marked, the data associated with the attribute is copied forward into the calendar for the next school year. 


This option applies to things that are cloned or rolled forward from year to year. For example, calendars are copied from one year to the next, courses are copied forward, enrollments are copied forward.  


People are not tied to a calendar, therefore attributes associated with people are not copied forward, even when this checkbox is marked. 


This option is not available for data fields assigned to a custom tab.

CampusAttribute. copiesForward

Hide Portal

If marked, checkbox indicates that the custom field is not be displayed to parents/students on the Portal.

 

This field does not apply or appear to state-level users.

CampusAttribute.
hidePortal

Default Value

The default value that auto-populates in the field when a new record is created.

Note that default values are NOT saved in the database tables.

CampusAttribute.
defaultValue

Comments

This area is for user comments related to the custom field.

CampusAttribute.
comments

Data Type Logic

The following table describes the logic, max value and validations for each Data Type.

Data Type

Field Logic for Default Value

Max Value

textBox

Creates a text box.

Users are allowed to enter up to 255 alphanumeric and special characters.

255 alphanumeric characters

dropdown list

Creates a dropdown list.

15 alphanumeric characters

dateField

Creates a date field. 

Users must enter the date in MM/DD/YYYY, MM-DD-YY or MMDDYY format.

A valid value for the Month is 1-12 only.
 
A valid value for the Day is 1-31 only.
 
A valid value of the Year is 1901-2030.

numberField

Creates a number field.

Only numeric characters (no decimals) are allowed. 

Max default value is 10.

floatField

Creates a float field.

Only numeric characters are allowed with one decimal point. 

Max default value is 10. The value can be without a decimal point. If the default value has a decimal, only 2 numbers to the right of the decimal are allowed.

timeField

Creates a time field.  

Users must enter values in HH:MM AM/PM or HH:MM military time. Values should include a semicolon.

Valid values for the hour of time is between 0-23.
 
Valid values for the minute of time is between 0-59.

ssnField

Creates a field for Social Security Number input.   

Users must enter a number pattern of XXX-XX-XXXX where X = a numeric value between 0-9. Dashes should be included when entering Social Security Numbers.

11 characters (this includes dashes between numbers).

phoneField

Creates a field for entering phone numbers.

Users should enter phone values in (999)999-9999 or (999)999-9999x9999 format where:

  • 9 = a numeric value between 0-9
  • x = the delimiter for entering an extension number

18 numeric characters including characters '-' and 'x'.

emailField

Creates a field for entering an email address.
 
Users must enter email addresses in XXXXX@XXXX.XXX where:

  • X = any alphanumeric or special characters
  • Users may enter multiple periods
  • Number of total characters does not surpass 100
  • @ is required

100 alphanumeric characters including characters '@' and '.'

moneyField

Creates a field for entering a monetary value.
 
Users must enter a value between 0-9. One decimal point is allowed but only two numbers right of the decimal point is allowed. Values entered can contain the $ special character but is not required.

Max default value is 11. The value can be without a decimal point. If the default value has a decimal, only 2 numbers to the right of the decimal is allowed.

checkBox

Creates a checkbox.

N/A

Custom Fields (Database-Only)

The following fields of the campusAttribute table relate to creating/modifying custom fields. These fields are only available in the database; they do not appear in the user interface. This is not a complete list of database fields. Please refer to the Custom Fields (Campus Attribute Detail Editor) table for a list of database fields that also appear in the user interface.

Database Column

Description

attributeID

Internal database identifier used as a reference in other tables.

coreLock

This column no longer impacts the function of an attribute.

Controls whether a user may modify the settings of an attribute field through the user interface. 


 If set to a value of “1” (a true value), the attribute field settings is locked and system administrators are not be able to modify the settings on the Custom Attribute or Attribute/Dictionary tools.

custom

Indicates whether the attribute was created by a Campus user or is a core field.

If set to a value of “1” (value of “true”), the custom attribute field was created within Campus by a registered user.

dated

Retains historical information of custom fields by setting the date on each entry and creating a new entry for each change.

0 or Null = Any change results in the current row being updated, but with no date set.

lock

Controls whether a user may add/change/delete dictionary values (codes) for the custom attributes within the user interface.

If set to a value of “1” (a true value), the dictionary values (codes) of a custom attribute are locked and system administrators are not be able to modify the dictionary values on the Custom Attribute tool.

statusData

Controls whether the values of the custom field are stored in one of the custom tables named as “custom” followed by the object (e.g., customStudent).

If set to a value of “1” (a true value), custom field values are stored in a custom table. Otherwise, values are stored in the table and column specified by object and element, respectively.


This flag and the stateTable flag are mutually exclusive. Only one should be set at a time.

stateTable

Controls whether or not values of the custom field are stored in a state-specific table named as the custom object followed by the state abbreviation appended (e.g., EnrollmentME).


This flag and the statusData flag are mutually exclusive. Only one should be set at a time.

Custom dropdown list Fields (Dictionary Detail Editor)

The following fields are displayed within the Dictionary Detail editor when creating the codes/values associated with a custom dropdown list field within the user interface. This data is stored in the campusDictionary table.

Field

Description

Database Location

Code

An abbreviated version of the value that displays directly before the value entered in the Name field when displayed for selection within the custom field.

For example, if the value in the Code field is 1P and the value in the Name field is First Priority, the dropdown item available for selection from the custom field displays as 1P: First Priority.

CampusDictionary.
code

Name

Text descriptor of the code value as it should display in the custom field dropdown list. This directly follows the value entered in the Code field when displayed for selection within the custom field.

For example, if the value in the Code field is 1P and the value in the Name field is First Priority, the dropdown item available for selection from the custom field displays as 1P: First Priority.

CampusDictionary.
name

Seq

The order of the custom field on the tab, as related to the other fields on the tab.

CampusDictionary.
seq

Value

Used to store additional, localized data related to the value (mapping a local value to state values) and/or for state-reporting purposes. This text is not displayed to end users as part of the visible dropdown list value.

CampusDictionary.
value

StandardCode

Used for SIF naming purposes. This text is not displayed to end users as part of the visible dropdown list value.

CampusDictionary.
standardCode

Active

If marked, checkbox indicates the value should be actively available for selection from the dropdown custom field to which it is assigned. If this checkbox is not marked, the dictionary item does not display in the dropdown field.

CampusDictionary.
active

Dictionary Detail Fields (Database-Only)

The following fields of the campusDictionary table relate to creating codes/values for custom dropdown list fields. These fields are only available in the database; they do not appear in the user interface.

This is not a complete list of database fields. Please refer to the Custom dropdown list Fields (Dictionary Detail Editor) table for a list of database fields that also appear in the user interface.

Database Field

Description

dictionaryID

Internal database identifier that can be referenced by other tables.

attributeID

Internal database identifier – foreign key from the campusAttribute table.

Dictionary Lists

For attributes that have a data type of dropdown list, a list of Dictionary items needs to be added for areas that are not locked and can be modified by users. Active dictionary items are available for selection when modifying that tool. 

When the total number of dictionary items is greater than or equal to 50, the dropdown list on the tool becomes an auto-search field, allowing the user to type the first few letters of the item and the available choices filter to those matching the entered text.

Searchable Custom Field

Sorting Logic

Depending on the type of Data Type selected for a Custom Attribute, the attributes assigned to that data type sort differently.

Data TypeSorting Hierarchy
Single Screen Editor
  1. Sequence
  2. Display Name
Table Editor
  1. Sequence
  2. Display Name
Dropdown Lists
  1. Sequence
  2. Code
List Editor
  1. Sequence
  2. Display Name

When these custom tabs/attributes are available on the Campus Portal, the following hierarchy applies.

Data TypeSorting Hierarchy
Single Screen Editor
  1. Sequence
  2. Display Name
List Editor
  1. Sequence
  2. Display Name
Table Editor
  1. Date and Time Descending
  2. Sequence
  3. Display Name