执行自定义对象工单查询时出错

发布于 2024-12-05 10:57:04 字数 304 浏览 4 评论 0原文

我正在对 SFDC 中创建的自定义对象执行查询。但我收到以下错误:

{'[{"message":"\nSELECT FS_Account_Name__c from FS_Work_Order__c\ERROR at Row:1:Column:34\nsObject type 'FS_Work_Order__c' 不受支持。如果您尝试使用自定义对象,请务必在实体名称后附加“__c”,请参考您的 WSDL 或相应的描述调用。名称。","errorCode":"INVALID_TYPE"}]'} 尽管在创建自定义对象时编写了给定的正确表名称。请帮忙。

I am executing the query for my custom object created in SFDC. but i am getting the following error:

{'[{"message":"\nSELECT FS_Account_Name__c from FS_Work_Order__c\ERROR at Row:1:Column:34\nsObject type 'FS_Work_Order__c' 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.","errorCode":"INVALID_TYPE"}]'} Thoough have written the correct table name as given while i created the Custom object. PLease help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橘虞初梦 2024-12-12 10:57:04

首先要尝试的是:以系统管理员配置文件运行时它是否可以正常工作?如果是这样,那么肯定是权限问题。要检查的事项

  • 对象已部署(设置 > 创建 > 对象 > 编辑 > 部署状态)
  • 配置文件有权查询该对象。

如果没有,相同的查询是否可以在开发人员控制台内部工作?如果是这样,我想不出它可能是什么,除了连接到生产而不是沙箱,反之亦然。

First thing to try: does it work properly when run as the system administrator profile? If so then it's certainly a permissions issue. Things to checl

  • The object is deployed (Setup > Create > Objects > Edit > Deployment Status)
  • The profile has permission to query the object.

If not, does that same query work from inside the developer console? If so I can't think of what it might be, except connecting to production instead of a sandbox or vice versa.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文