위치:
기본 설정 관리자에 대한 Apex 클래스 만들기
Pref_center Apex 네임스페이스와 함께 기본 설정 빌더를 사용하여 고급 사용자 정의로 양식을 만듭니다. Pref_center Apex 네임스페이스는 기본 설정 관리자 기능의 이전 이름을 나타냅니다.
Pref_center Apex 네임스페이스와 함께 기본 설정 빌더를 사용하여 고급 사용자 정의로 양식을 만듭니다. Pref_center Apex 네임스페이스는 기본 설정 관리자 기능의 이전 이름을 나타냅니다.
| 지원 제품: Developer, Enterprise, Performance, Unlimited Edition의 Lightning Experience와 Salesforce Classic |
| 필요한 사용자 권한 | |
|---|---|
| 기본 설정 관리자 사용: | ManagePreferenceManager |
기본 설정 빌더에서 양식을 만드는 경우 포함한 섹션의 이름 및 구성과 같은 세부 사항이 메타데이터로 저장됩니다. 사용자가 기본 설정 양식을 열면 사이트에 양식을 구성할 수 있도록 사용자 정의 Apex 클래스가 해당 메타데이터를 검색하고 설정합니다. 그런 다음, 사용자가 양식을 작성하여 제출하면 Apex 클래스가 제출된 데이터를 관련 Salesforce 동의 개체로 만들거나 업데이트합니다.
기본 설정 양식을 구성하기 전에 Apex 클래스를 만들어 양식으로 전달되는 데이터를 관리하는 방법을 제어합니다.
public without sharing class [YOUR APEX CLASS NAME] implements pref_center.PreferenceCenterApexHandler {
public void submit(pref_center.SubmitParameters submitParams, pref_center.SubmitFormData formData, pref_center.ValidationResult validationResult) {
}
public pref_center.LoadFormData load(pref_center.LoadParameters loadParams, pref_center.LoadFormData loadFormData, pref_center.ValidationResult validationResult) {
return loadFormData;
}
}
Apex 클래스에 대한 자세한 내용은 Trailhead의 Apex 개발자 가이드 및 Apex 클래스 모듈 만들기를 참조하십시오.

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.