salesforce

Salesforce(0):创建 Sandbox!

岁酱吖の 提交于 2020-03-05 01:38:44
📖摘要 今天分享下 —— Salesforce(0):创建 Sandbox! 的一些基本知识,欢迎关注! 当您创建 Sandbox 时, Salesforce 将元数据从生产组织复制到 Sandbox 组织。 所需的 EDITION 和用户权限 适用于: Salesforce Classic (并非在所有组织中可用)和 Lightning Experience 适用于: Professional、Enterprise、Performance、Unlimited 和 Database.com Edition 所需用户权限 查看 Sandbox: 查看设置和配置 创建、刷新、启用和删除 Sandbox: 管理 Sandbox 🌂分享 从“设置”中,在快速查找方框中输入 Sandboxes ,然后选择 Sandboxes 。 单击 新建 Sandbox 。 输入 Sandbox 的名称(10 个字符或更少字符)和描述。 我们建议您选择一个名称以: 反映 Sandbox 的用途,例如 QA。 Sandbox 名称仅包含几个字符,因为在 sandbox 环境中,Salesforce 自动将 Sandbox 名称附加到用户记录中的用户名上。名称包含的字符越少越便于Sandbox 登录时输入名称。 选择所需的 Sandbox 类型。 如果您看不到 Sandbox 选项或需要许可证以获得更多

Salesforce Spring '20新功能集锦系列(二)

梦想与她 提交于 2020-02-27 14:22:45
Spring '20更新了数百个新功能,一时之间想要都了解还真不是一件易事。但Salesforce的每次更新,都会有一些呼声较高、更受欢迎的宝藏功能。上周自由侠部落已经为大家整理了《Spring '20新功能集锦系列(一)》,这篇文章开始更新第二弹啦~ 1、 保存前更新 Before-Save Updates 通过在Flow中使用“ 保存前更新 Before-Save Updates ”,更新新记录和已更改记录的速度提高了10倍。 创建或更新记录现在可以触发自动启动流,在记录保存到数据库之前对其进行其他更新。Flow中的“ 保存前更新 Before-Save Updates ”比其他可用的记录触发的更新要快得多,比Process Builder中内置的记录更改流程中的更新快了10倍。用Flow替换记录更改过程,以最大程度减少用户保存记录时微调器出现的频率。 想要进Salesforce学习群的小伙伴,可以关注公众号【自由侠部落】,回复“6”,拉群一起学习! 01. 适用范围 此更新适用于Essentials,Professional,Enterprise,Performance,Unlimited和Developer版本,Lightning Experience和Salesforce Classic都可用。 02. 更新原因 Process Builder可以通过记录更改过程

Salesforce OAuth with REST API using Javascript

不羁岁月 提交于 2020-02-23 10:11:12
问题 I have an app in my salesforce developer account that I want to allow my users to access from a remote app that I am building. I see that I must use OAuth2.0 to first authorize my users before they are allowed to access the salesforce data. At the moment I am trying to use the username-password OAuth flow described on salesforce. Step 1) I request access token using username and password via the below code snippet var password = 'userPassword' + 'securityToken' $.ajax({ type: 'GET', url:

C# REST API Call - Working in Postman, NOT in Code

会有一股神秘感。 提交于 2020-02-03 08:33:57
问题 I have some existing code that was working and all-of-a-sudden quit. I can't figure out why... Here is my code: public static string RequestToken(string u, string pw) { string result = string.Empty; string strUrl = "https://xxx.cloudforce.com/services/oauth2/token?grant_type=password&client_id=XXXX&client_secret=XXXX&username=" + u + "&password=" + pw; HttpWebRequest tokenRequest = WebRequest.Create(strUrl) as HttpWebRequest; Debug.Print(strUrl); tokenRequest.Method = "POST"; try { using

(400) Bad Request : Get AccessToken of Salesforce error:“invalid_grant”

亡梦爱人 提交于 2020-02-02 12:57:46
问题 I'm using azure function with below code - everything is working fine when i run azure fucntion locally but after deployment i'm getting below error {"error":"invalid_grant","error_description":"authentication failure"} Function code - ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.SystemDefault | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "tokenURL"); var keyValues = new

Salesforce formula: Calculate business hours between two dates

一曲冷凌霜 提交于 2020-01-31 19:20:15
问题 I can easily calculate the age of a lead in minutes with a formula like this: ROUND((NOW()-CreatedDate)*1440,0) But, I only want to count the business hours (well, minutes actually) portion of that time span. I want to do this in a Salesforce formula (not apex trigger). I have found some inspiration here and here. My priorities for this solution: Salesforce formula under the 5,000 character limit Compare any two datetime fields (not just NOW() vs CreatedDate) Reasonable margin of error (+/- 3

Salesforce formula: Calculate business hours between two dates

纵饮孤独 提交于 2020-01-31 19:19:24
问题 I can easily calculate the age of a lead in minutes with a formula like this: ROUND((NOW()-CreatedDate)*1440,0) But, I only want to count the business hours (well, minutes actually) portion of that time span. I want to do this in a Salesforce formula (not apex trigger). I have found some inspiration here and here. My priorities for this solution: Salesforce formula under the 5,000 character limit Compare any two datetime fields (not just NOW() vs CreatedDate) Reasonable margin of error (+/- 3

Salesforce formula: Calculate business hours between two dates

一世执手 提交于 2020-01-31 19:18:19
问题 I can easily calculate the age of a lead in minutes with a formula like this: ROUND((NOW()-CreatedDate)*1440,0) But, I only want to count the business hours (well, minutes actually) portion of that time span. I want to do this in a Salesforce formula (not apex trigger). I have found some inspiration here and here. My priorities for this solution: Salesforce formula under the 5,000 character limit Compare any two datetime fields (not just NOW() vs CreatedDate) Reasonable margin of error (+/- 3

SyntaxError: Cannot use import statement outside a module in JEST LWC

99封情书 提交于 2020-01-30 09:16:25
问题 I am trying to test my first lightning web component using visual studio code as my IDE. As instructed I installed Node.js, npm and jest dependency. But I am getting this error Error Image when trying to run the below code driver_Registration.html <template> <div class="slds-m-around_medium"> <p>Hello, {person}!</p> </div> </template> driver_Registration.js import { LightningElement, api } from 'lwc'; export default class Driver_Registration extends LightningElement { @api person = 'World'; }

Run-time error '-2147467261 (80004003) Object reference not set to an instance of an object

拈花ヽ惹草 提交于 2020-01-25 10:37:09
问题 I'm getting the following error on the line 'ua' below. I'm trying to automate an Upsert to Salesforce through VBA using the enabler4excel object [automationObject]. Run-time error '-2147467261 (80004003) Object reference not set to an instance of an object Here is my code: Dim addin As Office.COMAddIn Dim automationObject As Object For Each addin In Application.COMAddIns If addin.Description = "Enabler for Excel" Then Set automationObject = addin.Object End If Next addin Dim error result =