Loading
目录
选择筛选器

          没有结果
          没有结果
          以下是一些搜索提示

          检查关键字的拼写。
          使用更普遍的搜索词。
          选择更少的筛选器,并扩大搜索范围。

          搜索所有 Salesforce 帮助
          演示文稿的 JSON 结构

          演示文稿的 JSON 结构

          了解适用于智能内容演示的 Mustache 模板处理器的 JSON 属性的层次结构和结构。

          所需的 Edition

          适用于:Lightning Experience
          适用于:具有Life Sciences Cloud、Life Sciences Cloud for Customer Engagement加载项许可证和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