Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Preventing users from selecting a data import purpose

Updated on April 6, 2022

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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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