salesforce

ObjChildItem.Click() not working properly in a loop

岁酱吖の 提交于 2020-05-16 22:01:36
问题 I am using UFT One to test a Salesforce Contacts table with two rows that have clickable links, "Jim Bean" and "Marsha Smith". (see attached image). I want to loop through the rows and click on the links and have "ValidateContactProperties" Action get called for each Contact Details page that comes up. The following code works but ObjChildItem.Click() gets executed only the first time. Only Jim Bean's contact profile page is displayed, not Marsha Smith's. For i = 2 to rowCount Set

Showing a loading indicator while calling Apex in Salesforce LWC

折月煮酒 提交于 2020-05-16 06:28:50
问题 What is the best way to show a loading indicator while retrieving data from Apex in a Lightning Web Component? I have this approach: import { LightningElement, api } from "lwc"; import shouldShowCard from "@salesforce/apex/ApexClass.shouldShowCard"; /** * Card component that is conditionally shown based on Apex. */ export default class ConditionalCard extends LightningElement { @api recordId; @api isDone = false; @api shouldShow = false; connectedCallback() { shouldShowCard({ id: this

Implementing Azure Put Blob in Salesforce APEX

匆匆过客 提交于 2020-04-18 06:09:07
问题 I am trying to implement Azure Put Blob in Salesforce APEX but getting following error. I have read almost all Microsoft documentation and tried many way but in the end stuck in same point. I would like someone to have a look please. Error <?xml version="1.0" encoding="utf-8"?> <Error> <Code>AuthenticationFailed</Code> <Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:e41a64e6-301e-0047-5cbd

Salesforce Oauth redirect CORS issue node express app

戏子无情 提交于 2020-04-07 06:11:28
问题 I've tried everything to get around the CORS error I am receiving. For oauth flow, to redirect your app to the Salesforce login screen (but this url auto redirects behind the scenes from salesforce to salesforce) XMLHttpRequest cannot load salesforce url 2 Redirect from salesforce url 1 to salesforce oauth url 2 has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. I've

Direct login and federated login in salesforce

故事扮演 提交于 2020-03-26 12:50:01
问题 I configured salesforce for federated authentication. Great! I did? It is working fine for "identity provider initiated login" (see Federated authentication and Delegated authentication in salesforce). I am using a federated id. But my issue that that user can login directly to salesforce using his username and password? How can I disable it? The "service provider initiated login" says it will come to identity provider. It is not going to identity provider when I try to login using salesforce

详解Salesforce报表和仪表板

元气小坏坏 提交于 2020-03-26 11:16:14
3 月,跳不动了?>>> 一、报表和仪表板介绍 你的业务有问题。 Salesforce 数据能提供答案。当您被要求构建一个报告时,请求通常以问题的形式出现。问题可能是这样的: 哪些产品是我最畅销的? 谁是我最有价值的潜在客户? 哪些营销活动是最成功的? 我的顾客有多满意? …… 在构建报表之前,诀窍是接受这个问题--询问后续问题--编写需求--将这些需求映射到报告标准。例如: 现在,您可能正在查看标准列并思考,所有这些意味着什么?关键是,你公司的大多数人都会问你类似的问题。下面是一些典型的例子: 负责计划当天电话的客户经理,他想确定先联系哪位潜在客户 自去年夏天推出自助服务社区以来,支持经理每月都在分析偏离率 CEO忙于制定公司的年度计划,并决定公司下一步的发展方向 CRM系统中的报表或仪表板可以提供每个团队成员需要采取行动并实现大目标的洞察力,无论是哪一天、哪一个月或哪一年。你可以把他们的问题翻译成他们需要的报告或仪表盘。接下来,我们将详细介绍这些主题。 二、什么是报表? 报告的最简单形式是满足您定义的标准的记录列表(如机会或帐户)。但是报表不仅仅是简单的列表。要获得所需的数据,可以对记录进行筛选、分组和计算。您甚至可以在图表中以图形方式显示它们! 例如:当小李向小王询问哪些产品是畅销产品时,小王创建了一份报表告,其中列出了所有产品的机会列表。然后他: • 过滤仅显示本财政年度

Salesforce: Download Reports via URL in R

泄露秘密 提交于 2020-03-26 05:45:07
问题 I try to download the reports available in Salesforce via the URL, e.g. http://YOURInstance.my.salesforce.com/012389u13541?export=1&enc=UTF-8&xf=csv in R. I already did some investigation to access the report via HTTR-GET, however, up until today without any meaningful outcomes. Unfortunately, R is downloading HTML-code instead of the desired csv file. I also tried to realize the approach suggested here: https://salesforce.stackexchange.com/questions/47414/download-a-report-using-python The

Using Salesforce Named Credentials Against Google IAP

徘徊边缘 提交于 2020-03-21 05:48:17
问题 Goal I have built a REST API that is running on Google App Engine, protected by Google Cloud IAP (Identity Aware Proxy). My goal is to use a Service Account to make requests to this API from Salesforce (using the External Services feature). Context Thanks to a previous question, I understand that I will need to use JWT Token Exchange for this flow to request an OIDC token. So the next step is understanding how to fill out Salesforce's Named Credentials definition: The properties of a Named

Querying Salesforce Object Column Names w/SOQL

拈花ヽ惹草 提交于 2020-03-12 04:41:55
问题 I am using the Salesforce SOQL snap in a SnapLogic integration between our Salesforce instance and an S3 bucket. I am trying to use a SOQL query in the Salesforce SOQL snap field "SOQL query*" to return the column names of an object. For example, I want to run a SOQL query to return the column names of the "Account" object. I am doing this because SOQL does not allow "Select *". I have seen code solutions in Apex for this, but I am looking for a way to do it using only a SOQL query. 回答1: You

Querying Salesforce Object Column Names w/SOQL

久未见 提交于 2020-03-12 04:40:08
问题 I am using the Salesforce SOQL snap in a SnapLogic integration between our Salesforce instance and an S3 bucket. I am trying to use a SOQL query in the Salesforce SOQL snap field "SOQL query*" to return the column names of an object. For example, I want to run a SOQL query to return the column names of the "Account" object. I am doing this because SOQL does not allow "Select *". I have seen code solutions in Apex for this, but I am looking for a way to do it using only a SOQL query. 回答1: You