Skip to main content

Preventing users from selecting a data import purpose

Suggest edit
Updated on January 29, 2021

Ensure that users use the default import purpose by preventing them from selecting a data import purpose.

The default import purpose is either Add or update or the value set in the pyDefaultImportPurpose property. For example, to allow only location updates for your data type, you can set the value for the pyDefaultImportPurpose property to "UpdateLocations" and the value for the pyDisableImportPurpose property to true.

  1. In Dev Studio, in the search field, search for the pyPreProcessDataImport activity and open it.

  2. Click Save as.

  3. Click Create and open.

  4. Click Expand to see method parameters.

  5. In the row containing the pyDisableImportPurpose property, in the PropertiesValue field, enter true.

    Configuration for preventing users from selecting an import purpose
    The pyPreProcessDataImport activity
  6. Click Save.

Result: Users cannot select an import purpose from the Purpose list in the Upload file step of the data import process.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us