+ Start a Discussion

Inserting Records using Rubymotion Apps


Could some one pleae let me know or please give a sample Ruby code to show how to insert records inro salesforce.I use Rubymotion to code IOS apps and I wish to have salesforce as my backend if some one has done that.

Thank for your support.

Tony TannousTony Tannous
Hello Christwin,

to insert a record into salesforce using any application you can use the Web Services call.
You need to do the below :

1- connect to salesforce application  setup-->Develop --> API.
2- Click on Generate Enterprise WSDL/Generate Partner WSDL so you can download them.
3- you need to include the wsdl into your application.
4- Simply call the method login to connect  to salesforce + you can call the insert method.

Good luck