Skip to main content
All CollectionsData ManagementData Sources
Changing Data Sources on a Pre-Existing Field
Changing Data Sources on a Pre-Existing Field

Use this guide to properly swap out a data source on a field that has been used across your instance.

Megan Butts avatar
Written by Megan Butts
Updated over a week ago

Overview

When you first implemented Element451, you learned all about creating and editing data sources and using them in either the system fields or custom fields you built. As time goes by, some changes may occur where the original data source used on the field is no longer applicable, and a new data source needs to be used.

This article will walk you through the steps to update the field for future use and clean up the old values on student profiles to align with your new data source.

This article assumes you are familiar with editing data sources and fields, and the Import + Export module. If you are not familiar, please visit those respective help articles before attempting to change data sources.


Updating the Field to Use the New Data Source

Field Management Level

At this point, you have your new data source built and you are ready to change the field to use the new data source.

  1. Navigate to Field Management and find the field you are updating. The first two tabs are system-delivered fields, and the last tab is the custom fields your institution has created.

  2. Click the pencil icon next to your field.

  3. Either navigate to the field options sections or toggle the "Use Default Data Source" to off to select the new data source.

Form, Application, and Event Level

Changing the data source at the Field Management level will impact any future forms, applications, and events built that use that field, but any current forms, applications, and events need to be updated as well.

Each form, application, and event that uses the field needs to be updated to the new data source by clicking the pencil icon on the field and selecting the new data source.



Updating from Old Data Source to New Data Source

Now it is time to clean up all the records that already have data (using the old data source) in that field. This step will involve the Import + Export modules.

  1. Create and save a segment for profiles that have data in the field you updated by using the "exists" operator.
    ​

  2. Create an export task using that segment, and on the mapping tab, at minimum, add the "Element ID" and the field that needs to be cleaned up.
    ​

  3. Once the export task has run, you can open the file in your preferred spreadsheet tool and swap out the old values from the old data source to the new values from your new data source. It does not matter if you insert the names or codes of the new data source as long as they are consistent throughout your spreadsheet.

  4. Save your file and head back to your Element451 instance to create an import task.

  5. For your import task, after dropping in your cleaned-up file:

    • We recommend setting the import to "Update Existing" profiles on the mapping tab to prevent records from getting created in the event they were deleted/merged during the time you were cleaning the file.

    • Map the Element ID and the field you are updating. For the field you are updating, click on the blue gear. Then, identify if you are bringing in the names or the codes and check the "Enabled" box.

    • On the matching tab, select to match on Element ID. From there, your import task is ready to be run!
      ​


Confirm the Updates Using Segments

To confirm that all possible records have been updated, create a segment that looks for data in that field that "exists" and is "not in" all the new values. The first part of this article can guide you in building it.

Did this answer your question?