+ Start a Discussion
Saurabh Kukreja 13Saurabh Kukreja 13 

Salesforce- Jquery Mobile Integration

Hi
I have a requirment of creating a Hybrid app (HTML+CSS+Jquery) + SalesforceSDK( Outcome Should be .apk or .ipa file )  which should be able to communicate with Salesforce inbuilt Objects Like Leads, opportunity, Account and Contact.
Few Usecases :I should be able to create a lead from my app
I should be able to convert Lead to Opportunity from app and such other usecases..

I got the SOAP API documentation but that is for Native Application(Based on Java) .
How do I communicate from Jquery to Salesforce to fetch the necessary objetcs.
Thanks in advance
Rahul SharmaRahul Sharma
You can connect to Salesforce using Oauth and then perform all the data base related calls using rest api.
Saurabh Kukreja 13Saurabh Kukreja 13
@Rahul, Can you share any link or tutorial that will help me understand the process better..
Just a Note : I am not using any Visual force Page or Apex classes.

Is it possible, Or not?
Rahul SharmaRahul Sharma
Yes It is possible, There are many libraries available, one of them is - nforce (https://github.com/kevinohara80/nforce).
akhilesh_sfdcakhilesh_sfdc
You can also look at the sample app that gets generated via "forceios create" command. For iOS development on Mac OS X, download the tool from here: https://www.npmjs.org/package/forceios

Also read the developer documentation: Mobile SDK Developer Guide (https://bitly.com/1vwq1rL)
Saurabh Kukreja 13Saurabh Kukreja 13
Hi Evryone,
Thanks for the reply. I could create a sample app using forceTK library, Mobile_sdk.pdf helped me a lot to understand the communication