0
我正在使用salesforce Enterprise API在salesforce中添加銷售線索。如何檢索salesforce的所有領域?
$SFDCUSERNAME = "myusername";
$SFDCPASSWORD = "mypassword!";
$SFDCSECURITY_TOKEN = "mytoken";
$SFDCCLIENT = "soapclient/SforceEnterpriseClient.php";
$SFDCWSDL = "soapclient/enterprise.wsdl.xml";
require_once($SFDCCLIENT);
try {
$mySforceConnection = new SforceEnterpriseClient();
$myConnection = $mySforceConnection->createConnection($SFDCWSDL);
$myLogin = $mySforceConnection->login($SFDCUSERNAME, $SFDCPASSWORD.$SFDCSECURITY_TOKEN);
}
catch(Exception $e) {
print_r($e);
}
我可以使用API創建線索。 現在我想找回這可用於鉛在Salesforce(不僅是自定義字段,而且缺省的/ in_built場)的所有領域,並顯示在一個HTML下拉場。
是否可以檢索使用Salesforce的API鉛所有領域?