【发布时间】:2015-06-11 20:11:42
【问题描述】:
我正在使用SimpleSalesforce 并想使用describe() 功能。一个例子是sf.Contact.describe() 来描述联系人记录。我想遍历列表中的多条记录,但我不确定如何传入一个变量来代替联系人。
Objects = ['Contact','Opportunity']
for object in Objects:
print sf.object.describe()
这会产生以下错误:
simple_salesforce.api.SalesforceResourceNotFound: Resource object Not Found. Response content: [{u'errorCode': u'NOT_FOUND', u'message': u'The requested resource does not exist'}]
【问题讨论】:
-
请提出问题。比较好理解。你想问什么不清楚。以对其他人也有帮助的方式发布详细信息:)
标签: python python-2.7 soap salesforce