Page 1 of 1
salesforce connectivity to LiveCode
Posted: Thu Jun 30, 2011 5:59 am
by cloudhugger
RunRev newbie here.
LiveCode environment looks great, however I have hit a brick wall understanding how to connect from an app I've built in LC to Salesforce ideally via REST API.
If anybody has the time to reply and point me in the right direction or provide some sample code, I'd certainly appreciate it.
Cheers.
Re: salesforce connectivity to LiveCode
Posted: Sun Jul 03, 2011 12:26 am
by Mark
Hi,
Even if you have no experience with LiveCode, are you an experienced programmer?
You have study the REST API documentation of Salesforce (whatever that may be).
Then you have to study the XML-related documentation in the LiveCode docs.
Then you have to learn the get URL, put URL and post commands.
You probably need to know the peculiarities of https in LiveCode (e.g. libUrlSetSSLVerification false/true, which is undocumented) and hope that you don't need to work with actual certificates (which may or may not be possible in this particular case).
Keep in mind that the REST server probably returns UTF8 data, which needs to be converted to UTF16 or plain text before you can use it in LiveCode, which means that you need to familiarise yourself with the uniEncode and uniDecode functions.
When you're done, pray
Kind regards,
Mark
Re: salesforce connectivity to LiveCode
Posted: Sat Oct 29, 2011 1:32 pm
by cloudhugger
Mark I neglected to say thanks for your input.... Thanks!
