위치:
Quip 연결 문서 구성 요소에 대한 사용자 정의 컨트롤러 만들기
사용자 정의 컨트롤러를 만들 때 더 많은 Salesforce 레코드에 Lightning 구성 요소를 추가합니다.

더 일반적인 검색 용어를 사용하십시오.
필터 수를 줄여 검색 범위를 확장하십시오.
사용자 정의 컨트롤러를 만들 때 더 많은 Salesforce 레코드에 Lightning 구성 요소를 추가합니다.
| 지원 제품: Salesforce Classic(일부 조직에서 사용할 수 없음) |
| 필요한 사용자 권한 | |
|---|---|
| 컨트롤러 사용자 정의: | 응용 프로그램 사용자 정의 |
public class myCustomOppController {
public String recordId {get; set;}
public myCustomOppController(ApexPages.StandardController stdController) {
setRecordIdForQuip(stdController.getRecord().id);
}
private void setRecordIdForQuip(Id recordId) {
this.recordId = recordId;
}
}
<apex:page sidebar="false" standardController="Opportunity" extensions="myCustomOppController" >
<apex:includeLightning />
<div id="quipCardContainer"/>
<script>
$Lightning.use("c:QuipCard", function() {
$Lightning.createComponent("lightning:quipCard",
{ "parentRecordId": "{!recordId}" },
"quipCardContainer",
function(cmp) {}
);
});
</script>
</apex:page>

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.