DIET error: Objid can not be a unique field unless -objid is used (Article # 280)
View products that this article applies to.
Problem:
DIET can throw an error such as:
ERROR - Objid can not be a unique field unless -objid is used
Resolution:
Exporting, archiving, and purging with objids is not a great idea. It means that the object has to have the same objid in the reimportation. Its best to export with a unique field (like id_number on case) which is unique - or on objects which are completely exported from the database and are linked to the case record (like act_entry or notes_log) no unique fields at all.
Since we want to discourage exporting with objid, we make it only possible to import and export when adding the -objid field to the DIET command line.
The -objid parameter outputs objid data into the export file, and allows the objid to be used as a unique key.
Warning: We do not recommend using the -objid parameter, but Clarify supplied .arc files rely on it.
Applies To:
-
ArchiveManager – Dovetail ArchiveManager (formerly Data Import Export Tool)