繁体   English   中英

访问自定义字段Salesforce

[英]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.

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