Preventing users from selecting a data import purpose
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.
- In Dev Studio, in the search field, search for the pyPreProcessDataImport activity and open it.
- Click Save as.
- Click Create and open.
- Click Expand to see method parameters.
- In the row containing the pyDisableImportPurpose property, in the PropertiesValue field, enter true.
- Click Save.
Previous topic Setting the default purpose for data imports Next topic Skipping key validation