function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
viv1viv1 

delele contact ??

i want to exexute merge method on contact ...
which is created by other customer portal use..
and my profile do not have delele permission...
ho can i execute this merge method 

can i rum sone code in admin context 

i am getting this error ....

System.DmlException: Merge failed. First exception on row 0 with id 003c000000N0i18AAB first error: INSUFFICIENT_ACCESS_OR_READONLY, cannot merge with entity that is not accessible

Tim BarsottiTim Barsotti

You need delete permission on Contact to merge. You need additional permissions to merge portal contacts. 

 

https://login.salesforce.com/help/doc/en/contacts_merge.htm

 

 

viv1viv1

i cant give delete access as delete checkbox is not available...
is there any other way ??

Tim BarsottiTim Barsotti

Delete access is dependent upon profile settings or permission sets. There is not another way.