Friday, January 6, 2012

Developing iOS application for salesforce [How to]


Here are the collection of snippets to do CRUD operation with ZKSforce (Force.com toolkit for iOS).

Remember this is a SOAP based API, there is a new alternative library available from salesforce called MobileSDK for iOS.

Create new record/ add new obj in Salesforce




To update SF object



Delete or Undelete object




Fetching objects/records from Salesforce




Attachment (adding binary objects to SF attachment)





References


2 comments:

  1. great work..

    is it possible to get the required contacts,opportunities,accounts from the authenticated user who login from this sales force using iphone app.
    Please help me how to get those data in my iphone app.from the sales force authenticated server

    ReplyDelete
    Replies
    1. Refer ForcePad app for more info - https://github.com/ForceDotComLabs/ForcePad

      Delete