开发者

Is there a way to access an external database using the force.com platform?

开发者 https://www.devze.com 2023-03-18 19:57 出处:网络
My organization wants to be able to regularly read in data from an external web service which provides an ODBC interface, and update our salesforce data with that information. I\'ve been hunting aroun

My organization wants to be able to regularly read in data from an external web service which provides an ODBC interface, and update our salesforce data with that information. I've been hunting around Salesforce's documentation, and it seems like there's no way to do this except by using the Apex Data Loader's batch functionality. Unfortunately, this means that my organization would have to maintain a local computer to run the data loader nightly, which we're trying to avoid doing.

What we'd like to do is create an Apex开发者_运维百科 Schedulable class or something similar and run code that can access the ODBC interface from our external data source on the salesforce platform itself. Is it possible to do this?


There's no support for making outbound ODBC connections from salesforce. If the external service has an HTTP based API, then you use the http client in apex to make the api calls and get the data.


Outbound as mentioned you'd have to make wrap your database in a webservice. You could load the data in using data loader/Talend/Informatica/etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号