[英]Access Custom Field Salesforce
我在Salesforce的Contacts對象中創建了一個自定義字段,其API名稱為“Resume_Text__c”,我正在進行SOAP調用,通過編寫以下SOQL來獲取使用Java實現提交的值。
SELECT Resume_Text__c FROM Contact
但執行查詢拋出異常。
No such column 'Resume_Text__c' on entity 'Contact'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.'
那么如何通過Soap API Java實現訪問自定義字段?
無論何時在實現中使用Enterprise.wsdl文件,都需要確保每次在Salesforce.com環境中創建一些新字段和對象時,都需要刷新Enterprise.wsdl以導入所有依賴關系映射,否則請使用Partner。 wsdl 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.