Created
December 22, 2011 12:14
-
-
Save palaniraja/1510105 to your computer and use it in GitHub Desktop.
delete / undelete obj from sf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *id2Del = @"a0BM0000001uUrY"; | |
[[FDCServerSwitchboard switchboard] delete:[NSArray arrayWithObject:id2Del] target:self selector:@selector(deleteObjectResult:error:context:) context:nil]; | |
//To undelete the deleted obj. only if available as per Salesforce norms | |
[[FDCServerSwitchboard switchboard] unDelete:[NSArray arrayWithObject:id2Del] target:self selector:@selector(deleteObjectResult:error:context:) context:nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment