REQUEST A DEMO

DeleteById in Dovetail SDK

deleteIn the Dovetail SDK, there is a DeleteById method on the ClarifyGeneric object. This is useful when you know the objid of the record you want to delete. Perhaps the objid is posted to a web page, or you’ve pulled it out of a relation column from a different record.

DeleteById is available via the .NET interface. It is not available on an fcGeneric object via the COM interface.

How can we DeleteById in COM?

Simply use the AddForUpdate method, then do the Delete.

Example:

var objid = 268435459;

var modem = FCSession.CreateGeneric(‘modem’);
modem.AddForUpdate(objid);
modem.Delete();
modem.UpdateAll();