Custom Attribute/Dictionary

Tool Search: Custom Attribute/Dictionary

The Custom Attribute/Dictionary 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 attributes can be added to certain core tools or to any custom tools created via Custom Tool Setup.

Screenshot of 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 tool, the custom tool 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. Click the New icon. The Campus Attribute Detail editor will appear below.
    Screenshot of a new campus attribute detail
  2. Enter the Display Name of the field you would like to add. This is the name that appears in the UI for the field.
  3. Select the Screen Location. This is where you would select the custom tool you just created. For example, the Additional District Info tool is selected since it was created in previous steps. 
  4. Enter the Field Name. This is the name used to identify the field in the database. 
  5. Select the Data Type. This determines the type of field presented to users. See the table below for more information.
    Data TypeDetails
    textBox

    Creates a text box. 


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

    drop-down listCreates a dropdown list.

    Limited to 15 alphanumeric characters. 
    dataField

    Creates a date field. 


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

    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.


    The 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.

    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 total (this includes the 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
    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
    moneyFieldCreates 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 are allowed. Values entered can contain the $ special character but is not required.
    checkBoxCreates a checkbox.
  6. Enter any additional information, see the table below for more information about these fields.
    FieldsDescription
    Default Value

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


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

    Max SizeThe maximum number of characters allowed for entry in the field.
    SeqThe order of the field within the tool.
    For example, Field A has a seq of 1 and Field B has a Seq of 2. Field 1 will be listed first followed by Field 2.  

    If no sequence is indicated, fields display in numeric or alphabetic order.
    RequiredIf marked, this checkbox indicates the field must be filled out (or checked) for the user to be able to save a record for the custom tool. The field name displays as red text (instead of black) and is followed by an asterisk (*) to indicate that it is 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.

    Hide Portal

    If marked, this checkbox indicates the custom field will not be displayed in the Student or Parent Portal.

     

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

    CommentsAny comments related to the custom field. These comments do not display for users interacting with the field. 
  7. Click Save. The field has now been added to your custom tool.
  8. If the field you added to your custom tool requires values for selection, such as a dropdown field, locate and select the field in the list at the top of the screen.

    For example, in the image below, a dropdown list called Participating in Program was added to the Additional District Info custom tool. The tool was located in the list and the Dictionary link was selected, opening an editor at the bottom of the screen where field values can be entered.

    For more information about custom dropdown lists, see the Custom Dropdown List Fields section below.
    Screenshot of custom tool with a dropdown field
  9. Enter all field values needed and once finished, click Save. Your custom field is now available in the designated tool and values are available within this field.
  10. If adding fields to a new custom tool, repeat steps 1-9 until all fields have been added to the tool. Once all fields and field values have been entered, your field(s) are ready to start collecting data.

Custom Tools and Custom Attributes

Custom Tool Setup allows you to create custom tools for tracking local or state-level information. You can also use this tool to embed hyperlinks to appear as a tool within the Infinite Campus navigation and have these links open in a new tab or within the workspace. When a custom tool is made it still needs custom attributes to be created as these are the custom fields and field values which will populate the custom tool. The easiest way to think of this is:

  1. The custom tool is created via Custom Tool Setup.
  2. Once created, you need to use the Custom Attribute/Dictionary to create the fields and field values that will appear in this tool.
  3. Once the custom tool has been created and fields have been added, district users can now begin to enter data and create new records in this tool. 

For a step-by-step walkthrough of this process, please see the Custom Tool Setup article. 

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.

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

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

Database-Only Fields

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.

dictionaryID

Internal database identifier that can be referenced by other tables.

attributeID

Internal database identifier – foreign key from the campusAttribute table.

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.

Screenshot of When the total number of dictionary items is greater than or equal to 50.

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