简体   繁体   English

用于网站的salesforce.com插件

[英]salesforce.com plugin for website

There is a company that uses salesforce software to keep track of all customers and the performance of the employees. 有一家公司使用salesforce软件来跟踪所有客户和员工绩效。 I am building a points website, which is about the manager rewarding points to employees for a job well done. 我正在建立一个积分网站,该网站是关于经理将奖励积分奖励给表现出色的员工的。 I want to integrate the info from salesforce software database about the employees and present it on my website so that the manager can see the number of deals closed by each employee and accordingly allocate points to that person. 我想集成来自Salesforce软件数据库的有关员工的信息,并将其显示在我的网站上,以便经理可以查看每个员工完成的交易数量,并相应地向该人分配积分。 is there any kind of a plug-in or something like that? 是否有某种插件或类似的东西? if not, how can i achieve this? 如果没有,我该如何实现? My website is a cms, built on php. 我的网站是一个基于php的cms。

Thanks. 谢谢。

The best way to handle this situation is to import the enterprise or partner WSDL into your PHP CMS. 解决这种情况的最佳方法是将企业或合作伙伴WSDL导入PHP CMS。 This will enable you to make webservice calls to Salesforce.com and access almost all of the data sitting on the Salesforce.com server. 这将使您能够对Salesforce.com进行Web服务调用,并访问位于Salesforce.com服务器上的几乎所有数据。

It'll also enable you to write back to Salesforce.com servers. 它还将使您能够写回Salesforce.com服务器。 There is very good documentation and code samples out there try this link first: 有很好的文档和代码示例,请首先尝试以下链接:

http://wiki.developerforce.com/index.php/Web_Services_API#PHP http://wiki.developerforce.com/index.php/Web_Services_API#PHP

Hope this helps! 希望这可以帮助!

查看PHP Toolkit ,它是salesforce API的PHP包装器。

Be aware, there are some quirks and it's some bulky functionality. 请注意,有一些古怪的地方,而且功能有些庞大。 Salesforce limits the amount of hits you can have on the webservice, so you may need to do a cron-based "grab" of info and store to your site at various intervals. Salesforce限制了您可以在Web服务上获得的点击量,因此您可能需要执行基于Cron的“抓取”信息,并以各种间隔存储到您的站点。 You'll get a rude awakening when you're testing and run out of connections for the day (not applicable to people who pay the premium level of Salesforce) It's also rather slow and has a propensity to timeout often....so be prepared to write code to handle the exceptions that will be caused. 当您进行测试并且一天中的连接用完时,您会得到无礼的唤醒(不适用于支付Salesforce高端服务的人员)。它也相当慢,并且倾向于经常超时。准备编写代码来处理将导致的异常。

Your server will need to have CURL installed and properly functioning. 您的服务器将需要安装CURL并正常运行。

Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM