Manage Data Validation Definitions

Tool Search: Data Validation Definitions

Data Validation Tools are available as part of the Campus Data Suite, Campus State Edition, and districts connected to a State Edition.

The Definition Bank tool is used to create and manage definitions used within Definition Groups and report data within Definition Group Extracts. Definitions are specific parameters used for filtering and reporting specific data. These definitions are grouped together in Definition Groups which are used to report data for each definition in the group within the same extract.

For example, five separate English Learners (EL)-specific definitions could be created, all reporting a different specific set of data. These definitions could then be grouped together in an EL Definition Group and then reported using the Definition Group Extract. Each definition would report data within its own subsection while all reporting within the same extract. 

Screenshot of the definition bank tool

Tool Rights  

Screenshot of Definition Bank Tool Rights

The following table describes how tool rights work with the Definition Bank tool. 

Direct SQL DV Definition tool rights are described with the assumption that matching rights are given to the Definition Bank tool.

ToolRWAD
Definition BankUsers can view existing definitions and definition preview results.Users can view and modify existing definitions as well as preview definition results.Users can view, modify, and create definitions as well as preview definition results.Users can view, modify, and create definitions as well as preview definition results.
Direct SQL DV DefinitionUser cannot create a new definition or enter SQL within a definition.Users can view and modify existing definitions as well as preview definition results.Users can view, modify, and create definitions as well as preview definition results. They can also create a Direct SQL definition.Users can view, modify, and create definitions as well as preview definition results. They can also create a Direct SQL definition.

Creating a New Data Validation Definition

Users can create definitions that filter and report data based on Ad hoc filters or direct SQL. These definitions are then put into Definition Groups which are used to report subsets of data within a single Definition Group Extract.

District Edition Users: Definitions created at the district level are maintained and reported only within the district that created the definition. 

State Edition Users: Definitions created at the state level are maintained by the state. These definitions are not published down to districts however, definitions created at the state that are included within published definition groups are published down within the definition group and are read-only in the district-level Definition Bank tool.

If a definition is created that contains fields or data not available at the district level, any definition groups that include this definition will not be allowed to be published down to districts.

When publishing a Definition Bank from State Edition to District Edition, logic looks to see if the Definition Group and Definition Bank exist. If these do not exist, they are inserted. If they already exist and there are changes, they are updated as long as the district-owned definition bank and group do not have the same name as a state-owned definition bank and group.

If there is a conflict with the name (names are same in both editions) between district edition and state edition, an update is not performed.

Creating an Ad Hoc Data Definition

Definitions can be created using an Ad hoc filteras the source of identifying which data to report within the definition.

Screenshot of Creating a New Ad Hoc Definition

To create a new definition:

  1. Select a Source of Ad Hoc.
  2. Enter the Name of the definition.
  3. Enter a Description of the definition. This appears when viewing the definition within the Definition Bank and Definition Group tools.
  4. Select an Ad Hoc Filter. This filter will determine which data is pulled within the definition and reported within the definition group. Ad hoc filters are created within the Filter Designer tool.
  5. Enter any Tags (optional). Tags are used to search for and identify related definitions when creating definition groups.
  6. Do not mark the Archived checkbox. This checkbox is used to archive (retire) existing definitions no longer to be used within definition groups.
  7. Select the Save icon. The definition is now saved within Campus and can now be used within definition groups.

Once the definition has been created it can be used within definition groups. The image below is an example of a definition group using the EL Students definition created in Image 3. A preview of the definition can be viewed by selecting the blue Preview link. The Preview will report based on the selections in the Campus Toolbar.

Screenshot of definition within user-created definition groups

Once the definition has been added to a definition group, data for the definition group can be reported via the Definition Group Extract. In the image below, the EL Student Group which contains the definition created in the image above is being reported.

Screenshot of Definition Group Extract

 Creating a Direct SQL Data Definition

Definitions can also be created using direct SQL as the source of identifying which data to report within the definition. 

  • Users can only do SELECT statements (update, insert, delete, drop, stored procedures, SQL injections, cursors, etc are not supported).
  • SELECT * is not supported at this time. Users must select specific fields they wish to report.
  • Column aliases are supported (e.g., SELECT scaleScore as Score).
  • This functionality is intended for users who are familiar with Campus schema and proficient in SQL.

Users must have Direct SQL DV Definition tool rights in order to create a Direct SQL definition. See the Tool Rights section for more information.

Screenshot of Creating a New SQL Definition

To create a new definition:

  1. Select a Source of Direct SQL.
  2. Enter the Name of the definition.
  3. Enter a Description of the definition. This appears when viewing the definition within the Definition Bank and Definition Group tools.
  4. Enter SQL if the SQL contains unsupported parameters you will be prevented from saving the definition. 
  5. Select the Add District button to add the reporting district within the definition (optional).
  6. Select the Add Year button to add the reporting year within the definition (optional).
  7. Enter any Tags (optional). Tags are used to easily search for and identify related definitions when creating definition groups.
  8. Do not mark the Archived checkbox. This checkbox is used to archive (retire) existing definitions no longer to be used within definition groups.
  9. Select the Save icon. The definition is now saved within Campus and can now be used within definition groups. 

A timeout function is included which automatically checks to see if the SQL will cause poor system performance (e.g., due to a huge amount of results or the time it takes to generate results). If the SQL does not meet performance requirements, users will be notified and asked modify the query.

This check is done upon creation at the state or district level or when a state-published query is first received by a district via DIS.

Searching for Existing Data Validation Definitions

Existing definitions can be searched for and found by name, source, tag and status.

Screenshot of Example of a Definition Search

FieldDescription
Search:Allows you to search for existing definitions based on the the name of the definition (while also taking into account the Creation Source and Definition Status selected).
Creation Source

Campus-Maintained - If selected, definitions created by and maintained by Campus appear in search results.

User-Maintained - If selected, definitions created by and maintained by Campus users appear in search results.

 

Users can search Campus-Maintained and User-Maintained definitions at the same time. The Definition Type column within search results will delineate whether the definition is Campus or User-maintained.

Data Validation Tags

Allows you to search for definitions based on tags entered on definitions.

For example, if you have tagged all EL-related definitions as EL, searching for a tag of EL will display search results for all definitions with that tag (while also taking into account the Creation Source and Definition Status).

Definition Status

Active - Allows you to narrow definition search results to those marked active.

Archived - Allows you to narrow definition search results to those marked archived.

Archiving Data Validation Definitions

Definitions can be archived, meaning they can no longer be added to new definition groups. 

Screenshot of Archiving a Definition

To archive a definition:

  1. Select the definition name within search results.
  2. Mark the Archived checkbox.
  3. Select the Save icon.

Once the definition is archived, an X will appear in the Archived column when searching for the definition within the Definition Bank tool (see Image 7).

Screenshot of Indicating of an Archived Definition

Activating Archived Data Validation Definitions

Archived definitions can be made active by unmarking the Archived checkbox and selecting the Save button (see Image 8). The definition can now be used within new definition groups.

Screenshot of Activating a Definition

Next Steps

Once definitions have been created, users should: