Loading
Salesforce에서 이메일을 보내기 위해서는 도메인 인증이 필요합니다.더 많이 읽기
목차
필터 선택

          결과 없음
          결과 없음
          몇 가지 검색 팁

          키워드의 맞춤법을 확인하십시오.
          더 일반적인 검색 용어를 사용하십시오.
          필터 수를 줄여 검색 범위를 확장하십시오.

          전체 Salesforce 도움말 검색
          프레젠테이션용 JSON 구조

          프레젠테이션용 JSON 구조

          Intelligent Content 프레젠테이션용 Mustache 템플릿 처리기에 사용할 수 있는 JSON 속성의 계층 구조와 구조를 이해합니다.

          필수 Edition

          지원 제품: Lightning Experience
          지원 제품: Life Sciences Cloud, Customer Engagement용 Life Sciences Cloud 추가 기능 라이센스, Life Sciences Customer Engagement 관리형 패키지가 포함된 EnterpriseUnlimited Edition.
          currentMode: The current mode of the presentation player.
          currentTerritoryId: The ID of the current territory.
          currentTerritoryName: The name of the current territory.
          emailTemplateId: The ID of the email template that's associated with the current page.
          state: The saved state of the presentation on the Life Sciences Cloud Mobile app.
          presentationIndex: The presentation index in the presentations array.
          pageIndex: The page index in the pages array.
          slideIndex: The slide index in the slides array.
          customers: An array of account records.
              id: The account ID.
              isPrimary: Indicates the account of the primary visit.
              Type: The account type (Account.Type).
              PersonEmail: The account email on account. Emails are also captured in contact point email records.
              firstName: The first name of the account.
              lastName: The last name of the account.
              middleName: The middle name of the account.
              nationality: The nationality of the account.
              salutation: The salutation of the account.
              healthcareProviderSpecialties: An array of specialties.
                  isPrimarySpecialty: Returns only primary specialties.
                  isActive: Returns only active specialties.
                  name: The specialty name.
              name: The name of the account.
              accountType: Returns HCP for a person account. Otherwise, returns HCO. 
              sourceSystemIdentifier: The user-provided unique external identifier for the account.
              contactPointAddresses: An array of the account's contact point address records.
                  id: The ID of the contact point address.
                  street: The street component of the address.
                  city: The city component of the address.
                  state: The state component of the address.
                  postalCode: The postal code for the address.
          presentations: An array of presentation records.
              id: The presentation ID.
              name: The presentation name.
              isCustom: Identifies whether the presentation is a custom presentation created by a field user.
              Pages: An array of page records.
                  id: The page ID.
                  sourceSystemIdentifier: The user-provided unique external identifier for the page.
                  slides: An array of slides.
                  name: The name of slide, for example, 01_index.html.
          user: User fields.
              name: The user's full name.
              firstName: The user's first name.
              lastName: The user's last name.
              userAdditionalInfo: Additional user fields on the associated user additional info record.
                  availableCountries: The countries that are available for the user in the context of a search.
                  preferredCountry: The user's preferred country.
          visits: An array of visits.
              id: The visit ID.
              accountId: The account ID.
              isParent: Returns true when the Parent Visit field is blank. 
              sourceSystemIdentifier: A user-provided unique, external identifier for the visit.
          

          이 템플릿 코드 예는 JSON 구조에서 데이터를 검색하는 방법을 보여줍니다.

          <div id="screen-container">
              HELLO   
              {{#customers}}  <!--This is a Mustache loop -->
                  <span id="doc_name" class="template">{{firstName }} {{ lastName }}</span>
              {{/customers}}
              ,<br/>DO YOU WANT TO START THE VISIT?</span>
          </div>

          이 코드를 사용하면 Mustache 템플릿 처리기에 제공되는 원시 JSON을 JavaScript 객체 변수로 사용할 수 있습니다.

          var configData;
          document.addEventListener('PresentationDOMContentLoaded', function(event) => {
             configData = event.data; 
          });
           
          로드 중
          Salesforce Help | Article