问题标签 [salesforce-service-cloud]

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.

0 投票
2 回答
309 浏览

salesforce - 审核给定用户可以在 SalesForce.com 中看到的记录

我正在尝试确定一种方法来审核给定用户可以查看哪些记录;

对象类型

记录类型

记录数

理想情况下,还可以查看用户可以查看的每个对象/记录类型的哪些字段。

我们需要经常为不同的用户和不同的组织重复这一点,因此希望避免手动确定这一点。

我的第一个想法是使用合作伙伴 WSDL 创建一个应用程序,但想问是否有任何更简单的方法或现有的解决方案。

谢谢大家

0 投票
1 回答
427 浏览

salesforce - 销售人员喋喋不休触发器

我正在将我的消息与我的关注者分享到他们的手机上。我的问题是我的所有关注者都在收到短信。但它应该将短信发送给我在聊天中指定的特定关注者 @followername .Will @ woek in如果不是触发器,我如何在触发器中绘制该功能

任何建议都值得赞赏。

谢谢&问候 A.Anil kumar

0 投票
1 回答
2620 浏览

salesforce - Salesforce:在对象上创建计时器 - 可能吗?

公司需要知道每个工人在每个项目部分的每个部分上花费了多少时间。

以下类似于为此应用定义的一些自定义对象:

  • 定制项目
  • 自定义项目部分
  • 自定义时间输入

现在我们需要自定义我们的 salesforce 应用程序,以便工作人员可以打开项目部分并单击“开始...”,然后单击“停止...”。

这些按钮将分别创建具有开始日期的时间条目并更新具有停止日期的时间条目。

这可以在自定义对象本身中做到吗?(理想的)

我们应该创建新页面吗?

0 投票
1 回答
1162 浏览

salesforce - 修改机会的触发器,使其不会更新经理,如果它已被关闭/赢得

我想知道是否有人可以帮助我修改此触发器。我遇到问题 机会在关闭/赢得后正在更新,这会用代表的当前经理覆盖旧的(正确的经理)。这是一个问题,因为我有一个创建 Actuals 的触发器,它正在编辑 Actuals 并将它们写入当前 Manager 而不是旧 Manager。我真的很困惑最好的编辑位置在哪里,如果在触发器旧地图中 StageName 是 Closed/Won 并且 StageName 目前等于 Closed/Won,则在 if 语句放置和 ifelse 语句开始之后的底部,然后不要'不更新当前实际值。这是触发器:

0 投票
0 回答
396 浏览

salesforce - 在 Java 中创建 Web 服务以在 Salesforce 中接收出站消息

如何在 java 或 .net 中创建 web 服务以接收来自 salesforce 的出站消息并仅打印记录的 ID?你的帮助请。

0 投票
2 回答
4066 浏览

web-services - Generate multiple PDF automatically from salesforce. Avoid getContent()

I need to generate automatically multiple PDF files and save them as attachments in its correspondent objects records. I have tried to resolve this topic making use of a batch file and a rendered visualForce page as 'PDF' but Salesforce have here a limit not allowing to use a getContent() method in a batch class.

Searching in the internet I have found this possible solution:

Why are HTML emails being sent by a APEX Schedulable class being delivered with blank bodies?

It propose to:

  1. Create a class which implements the Schedulable interface.
  2. Have an execute() method call and a @future method.
  3. Create a @future method that call a web service enabled method in the class that sends the email.

The problem I found is when I try to authenticate in my Web Services (REST) inside Salesforce (http://help.salesforce.com/help/doc/en/remoteaccess_oauth_web_server_flow.htm)

In the first step I am making a request and I get a code through the callback URL, but It is impossible to know how to read this parameter from Salesforce. In the answer I don't have a method called 'getParameter()' and the body is empty.

As an example:

Request: https://login.salesforce.com/services/oauth2/authorize?response_type=code&client_id= 3MVG9lKcPoNINVBIPJjdw1J9LLM82HnFVVX19KY1uA5mu0QqEWhqKpoW3svG3XHrXDiCQjK1mdgAvhCscA 9GE&redirect_uri=https%3A%2F%2Fwww.mysite.com%2Fcode_callback.jsp&state=mystate

Response: https://www.mysite.com/code_callback.jsp?code=aPrxsmIEeqM9&state=mystate

It exists any way to connect with my Webservices making the call inside Salesforce in order to implement this solution??

It would be easier if a make a call from an external application but inside salesforce???

Can you suggest any possible solution???

0 投票
2 回答
7315 浏览

salesforce - Salesforce 中的应用是什么

嗨,我正在创建 visualforce 页面和 apex 类触发器等一段时间。我想知道 salesforce 中的应用程序是什么以及如何在 AppExchange 上发布它?在应用程序交换上发布应用程序的任何要求我都通过了这个教程链接

他们教如何在开发人员组织中创建应用程序,默认情况下有 6 个选项卡主页、聊天、文件、您的选项卡、报告、仪表板。我基本上想知道应用程序包含什么?apex 类,visualforce 页面这些组件或仅标准选项卡和一些自定义选项卡我们在开发人员组织中选择应用程序时看到的内容

0 投票
2 回答
787 浏览

salesforce - 无法将资源 src 同步到服务器:ClassCastException

当我与您的 Force.com Developer Edition 组织同步并且我将其与我的开发人员组织同步时,我正在按照本教程为 salesforce 组织设置google 工具包,突然出现信息对话框错误:

Unable to synchronize resource src to server:ClassCastException:com.salesforce.ide.api.metadata.types.MetaData$JaxbAccessorF_full_Name can't be cast to com.sun.xml.Internal.bind.v2.runtime.reflect.Accessor

原因:com.salesforce.ide.api.metadata.types.Metadata$JaxbAccessorF_full_Name 无法转换为 com.sun.xml.internal.bind.v2.runtime.reflect.Accessor

如何通过此错误解决此错误任何一个g0t然后请帮助解决它

0 投票
1 回答
77 浏览

salesforce - 对什么是销售人员的核心理解

首先,如果这是一个非常简单的问题,我很抱歉,但它已经困扰了我一段时间。

我试图了解销售人员实际上是什么,我的意思是技术术语。我已经阅读了网站文档和维基百科页面,但我试图了解所有这些蓬松术语背后的含义。

我的理解是,salesforce 是一个基于云的数据库,它存储大量信息,所有 salesforce 应用程序都包含查询该数据库并根据预期应用程序以不同方式对其进行建模的脚本,这是正确的吗?

谢谢 !

0 投票
1 回答
104 浏览

salesforce - 通过代码安装 Salesforce 应用程序

我有兴趣在客户运行我们产品的安装程序时将我们的“已连接”Salesforce 应用程序安装到客户的 Salesforce 设置中。

此功能是否通过 API 或任何其他机制公开?或者这是 Salesforce 管理员必须自己做的事情?

非常感谢您对此进行调查:)