Removing a custom import purpose

Remove custom data import purposes that you no longer use.

  1. In Dev Studio, search for the pyLoadCustomImportPurposes data transform and open it.
  2. Click Save as.
  3. Click Create and open.
  4. Click Add a row.
  5. In the Action file, select For Each Page In.
  6. In the Target field, enter .pxResults.
  7. In the sub step row, in the Action field, select When.
  8. In the Target field, enter .pyName=="purpose to delete" where purpose to delete is the actual name of the purpose, for example, "Delete."
  9. In the next sub step row, in the Action field, select Remove.
  10. In the Target field, enter Primary.pxResults(<CURRENT>).

    Figure: Removing custom import purposes configuration

    The pyLoadCustomImportPurposes data transform
  11. Click Save.
Result: The removed purpose is no longer displayed in the Purpose list of the Upload file step of the import process.