You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/restore-deleted-records.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -295,16 +295,18 @@ The following errors might occur when restoring records.
295
295
296
296
#### RefCannotBeRestoredRecycleBinNotFound
297
297
298
-
**TODO: Explain how to avoid this error and change the section heading**
298
+
If some related records whose reference were removed as part of Cascade relationship, no longer exist, the restore operation will fail. To avoid this, always restore the related records not deleted as part of current record, before trying to restore the primary record.
299
299
300
+
After enabling this setting, you might receive the following error:
> Message: `Entity with id '<Guid Value>' and logical name '<Entity.LogicalName>' does not exist. We cannot restore the reference '<Referred Primary Key Name>' that must be restored as part of this Restore call. ValueToBeRestored: <Guid Value>, ReferencedEntityName: <Referenced Entity Name>, AttributeName: <Referred Attribute Name>`
304
305
306
+
305
307
#### DuplicateExceptionRestoreRecycleBin
306
308
307
-
**TODO: Explain how to avoid this error and change the section heading**
309
+
Donot create records with specific primary keys, otherwise, if the previous record was in deleted state, the new record will prevent the deleted record to be restored.
@@ -313,7 +315,7 @@ The following errors might occur when restoring records.
313
315
314
316
#### DuplicateExceptionEntityKeyRestoreRecycleBin
315
317
316
-
**TODO: Explain how to avoid this error and change the section heading**
318
+
Donot create records with similar Alternate Keys that were already deleted, this will prevent previous record was in deleted state to be restored. The new record will need to be deleted before previous record is restored.
@@ -322,7 +324,7 @@ The following errors might occur when restoring records.
322
324
323
325
#### PicklistValueOutOfRangeRecycleBin
324
326
325
-
**TODO: Explain how to avoid this error and change the section heading**
327
+
Do not delete Picklist or Option Set values directly, instead rename them with (deprecated) tag, because it will prevent the records deleted at the time to be restored. (with in configured duration, default is 30 days).
0 commit comments