Table of Contents

Preventing users from selecting a data import purpose


Only available versions of this content are shown in the dropdown

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.

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?

Have a question? Get answers now.

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