问题标签 [beatbox]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - python salesforce beatbox:beatbox._beatbox.SoapFaultError:'INVALID_FIELD'
我正在使用beatbox从 Python 连接到 Salesforce,它工作正常,直到我尝试添加日期约束。
当我添加 CreatedDate 约束时,它失败了
- 如何发送一个 datetype 对象来查询和解决这个问题?
python - 如何使用 Beatbox python API 从 Salesforce 中提取原始数据
我正在使用以下代码使用 beatbox python API 从 Salesforce 中提取数据。
但这就是我在输出中得到的。如何获取原始数据,只是我在工作台中看到的值。我不想解析每种数据类型并获取原始值。
实际输出:
[{'LastModifiedDate': datetime.datetime(2012, 11, 2, 9, 32, 4), 'CountryIsoCode_c ': 'AU', 'type': ' Country_c', 'Id': ''}, { 'LastModifiedDate': datetime.datetime(2012, 8, 18, 14, 0, 21), 'CountryIsoCode_c ': 'LX', 'type': 'Country _c', 'Id': ''}, {'LastModifiedDate ': datetime.datetime(2012, 11, 12, 15, 20, 11), 'CountryIsoCode_c ': 'AE', 'type': 'Country _c', 'Id': ''}, {'LastModifiedDate': datetime.datetime(2012, 11, 12, 15, 20, 29), 'CountryIsoCode_c ': 'AR', 'type': ' Country_c', 'Id': ''}, {'LastModifiedDate':datetime.datetime(2012, 11, 2, 9, 32, 4), 'CountryIsoCode_c ': 'AT', 'type': 'Country _c', 'Id': ''}, {'LastModifiedDate': datetime. datetime(2012, 11, 2, 9, 32, 4), 'CountryIsoCode_c': 'BE', 'type': ' Country_c', 'Id': ''}, {'LastModifiedDate': datetime.datetime(2012, 11, 12, 15, 21, 28), 'CountryIsoCode_c ' : 'BR', 'type': ' Country_c', 'Id': ''}, {'LastModifiedDate': datetime.datetime(2012, 11, 12, 15, 21, 42), 'CountryIsoCode_c ': ' CA', 'type': ' Country_c', 'Id': ''}, {'LastModifiedDate': datetime.datetime(2012, 11, 12, 15, 36, 18), 'CountryIsoCode_c ': 'CH' , 'type': ' Country_c', 'Id': ''}, {'LastModifiedDate': datetime.datetime(2012, 11, 12, 15, 35, 8), 'CountryIsoCode_c ': 'CL', '类型':'国家_c','Id':''}]
预期输出:
python-2.7 - Beatbox/Python - 在 Salesforce 中更新多条记录时遇到问题
我的beatbox 与SFDC 开发者帐户配合得很好。我正在推动 Salesforce 创建自定义对象,但它一次更新一个。有没有办法一次推送 200 次更改以限制我正在进行的 api 调用的数量?
我运行的脚本会下载一批潜在客户,然后通过 new_Alert() 处理它们,然后一个接一个地上传它们,这样我很快就达到了我的 api 限制。
下面是我正在运行的两个脚本,我已经删除了大部分“工作”以使其更易于阅读。
python - Get URL for Salesforce Lead (Python Beatbox SOAP API)
I'm using Beatbox to access Salesforce's SOAP API. I can query for a series of Leads—</p>
Does anyone know how I can create a URL to view each Lead on the website?
python - 通过 Beatbox、Python 将附件上传到 Salesforce API
我正在使用 beatbox 和 python 将文档上传到 Salesforce,并且文件正确附加,但文件中包含的数据完全损坏。
输出是:
所以事情进展顺利,但是当我去 salesforce 记录 00Pi0000005ek6gEAA 并查看文件时,文件的内容是:
我不知道是什么导致了这个问题,我找不到任何其他人发生过这种情况的情况
链接到 关于上传的 SFDC 文档
python - Python,Beatbox - 返回所有可用字段
我正在尝试在 Salesforce 中运行一个查询,该查询返回所有字段的名称和 API 名称以及使用 beatbox 的关联对象。
有没有人这样做过?是否可以?
谢谢
java - “背景”设置有助于使用 Java 制作 BeatBox
我正在尝试使用 Java 制作 BeatBox,但我的代码没有运行,并且在以下行中显示了问题:
请协助我找到解决问题的方法。
python - Python Salesforce Beatbox 无法导入 _tPartnerNS
我正在尝试使用 Python 和 beatbox 登录 Salesforce,但遇到了一些问题:
我的代码:
我收到错误消息ImportError: cannot import name _tPartnerNS
。如果我取出from beatbox import _tPartnerNS
线路,那么我会收到错误消息 AttributeError: 'module' object has no attribute '_tPartnerNS'
python - 连接到 SF 对象以使用 beatbox 获取 ForecastingItem 对象描述时出错 - python
从 ubuntu 机器上,我使用 beatbox python 包连接到 SF 并获取对象描述,但无法访问 ForecastingItems 对象。我检查了访问该对象的权限,并且我拥有管理员的完全访问权限
我正在使用的脚本如下所示,当我用它更改对象ForecastingItem
时,Account
它确实会拉出所有对象字段。
我听说我应该将 beatbox 升级到21
能够访问 ForecastingItem 对象的版本,所以我尝试了apt-get update upgrade beatbox
,但我仍然收到错误:
Traceback (most recent call last):
File "./fields_associated_with_an_object.py", line 14, in <module>
desc_obj = sf_service.describeSObjects('ForecastingItem')
File "/usr/local/lib/python2.7/dist-packages/beatbox-20.0-py2.7.egg/beatbox/python_client.py", line 131, in describeSObjects
res = BaseClient.describeSObjects(self, sObjectTypes)
File "/usr/local/lib/python2.7/dist-packages/beatbox-20.0-py2.7.egg/beatbox/_beatbox.py", line 108, in describeSObjects
return DescribeSObjectsRequest(self.__serverUrl, self.sessionId, sObjectTypes).post(self.__conn)
File "/usr/local/lib/python2.7/dist-packages/beatbox-20.0-py2.7.egg/beatbox/_beatbox.py", line 332, in post
raise SoapFaultError(faultCode, faultString)
beatbox._beatbox.SoapFaultError: 'INVALID_TYPE' "INVALID_TYPE: sObject type 'ForecastingItem' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names."
提前致谢!
python - 使用 Beatbox 将附件上传到 Salesforce - 出现空白
我正在尝试将一个充满电子邮件的文件夹上传到 Salesforce,每个案例一封电子邮件。该脚本一切正常,但它上传的电子邮件完全是空白的,并且是 0 字节。
我很确定它与上传附件所需的 base64 编码有关,但我已经尝试了一切以使其正常工作。
我通过 Beatbox, Python阅读了这个Uploading Attachments to Salesforce API ,这很有帮助,但我无法解决问题。
任何帮助将不胜感激。
这是我的代码: