我与一家公司进行了交谈,他们说他们在API
中可视化图表并将.svg
个文件返回浏览器,在浏览器中添加React.js
图表互动。
但是,他们并不想透露细节,当我搜索大多数文章时,我发现<svg>
正在React
生成d3
,这不是我想要的。
使用类似DOM
的内容来选择 $access_token = isset($_GET['access_token']);
$instance_url = isset($_GET['instance_url']);
If(!$access_token) {
header('Location: ********************');
}
try {
define("SOAP_CLIENT_BASEDIR", "../soapclient");
require_once (SOAP_CLIENT_BASEDIR.'/SforcePartnerClient.php');
require_once (SOAP_CLIENT_BASEDIR.'/SforceHeaderOptions.php');
$mySforceConnection = new SforcePartnerClient();
$mySoapClient = $mySforceConnection->createConnection(SOAP_CLIENT_BASEDIR.'/partner.wsdl.xml');
$mySforceConnection->setSessionHeader('sessionId',$access_token);
$mySforceConnection->setSessionHeader('serverUrl','https://<<instance>>/services/Soap/u/27.0/<<orgID>>');
$query = "select id from user where name='chris miller'";
$response = $mySforceConnection->query($query);
} catch (Exception $e) {
print_r($mySforceConnection->getLastRequest());
echo '<p style="margin-left:50px;color:red;font-weight:bold;">' . $e->faultstring . '</p>';
}
元素或任何插件吗?有人有线索吗?