---
schema_version: "1"
id: c8cc626fbd3a7177f16a6925801765f3c28cbd08a87b5ed2386dc13778df166e
title: Flexcards Data Source Reference (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_flexcards_data_source_reference.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_flexcards_data_source_reference.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6711b580a6e71c104f456ea6f7e0151173ffe1667d3e7e95c95aff924b2e0631
description: For the managed package runtime, select from multiple data source types to retrieve data from a Salesforce object or an external database. Select a data source from the Setup panel in the Flexcard Designer, or when creating a Flexcard.
products:
  - Omnistudio
release: "264"
---
# Flexcards Data Source Reference (Managed Package)

For the managed package runtime, select from multiple data source types to retrieve data from a Salesforce object or an external database. Select a data source from the Setup panel in the Flexcard Designer, or when creating a Flexcard.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d344146e47">
              <p style="margin-bottom:0;">Data Source Type</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d344146e53">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">Apex REST</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses a REST endpoint of an Apex class to return data from a server or
                post data to a server.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">Apex Remote</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses an Apex Remote class and method to return data. An Apex Remote class
                is a standard Apex class that implements the VlocityOpenInterface.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">Custom</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses sample JSON to set up a Flexcard with temporary data, allowing you
                to embed JSON directly into the layout without depending on external
                data.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">Data Mapper</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses an Omnistudio Data Mapper Extract interface to return data.
                Field-level security is fully supported.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">Integration Procedures</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses an Integration Procedure to return data. Integration Procedures are
                declarative, server-side processes that execute multiple actions in a
                single server call. </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">Platform Event</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses <a href="https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_intro.htm" target="_blank">Salesforce's Platform Events</a>
                enterprise messaging platform, which combines PushTopic and Streaming
                Channel to enable apps to communicate inside and outside of
                Salesforce.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">PushTopic</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses a Salesforce Object Query Language (SOQL) query to return a result
                that notifies listeners of changes to records in a Salesforce
                organization. The PushTopic defines a Streaming API channel. See <a href="https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/intro_stream.htm" target="_blank">Salesforce Streaming API</a>.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">REST: Named Credential</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses the standard REST API call to post data to a server or return data
                from the URL of a callout endpoint and its required authentication
                parameters in one definition.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">REST: Web</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses the standard REST API call to post data to a server or return data
                from the URL of a callout endpoint.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">SDK</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses a method from an SDK to get data to populate fields on a
                Flexcard.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">SOQL Query</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p>Uses a <a href="https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm" target="_blank">Salesforce Object Query Language
                  (SOQL)</a> to search an org's Salesforce data for specific
                information. For example, <code>SELECT Name, Id
                              FROM Account LIMIT 5</code>.</p>
              <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                <div class="slds-media slds-media_responsive">
                  <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png" alt="Note"></span></div>
                  <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span>
                    <p>If security is a concern, use a Data Mapper instead of a SOQL query,
                      because Data Mappers fully support field-level security.</p>
                  </div>
                </div>
              </div>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">SOSL Search</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses a <a href="https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/api/sforce_api_calls_sosl.htm" target="_blank">Salesforce Object Search Language
                  (SOSL)</a> to construct text-based search queries against the
                search index.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Source Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e47 ">
              <p style="margin-bottom:0;">Streaming Channel</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d344146e53 ">
              <p style="margin-bottom:0;">Uses the <a href="https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/intro_stream.htm" target="_blank">Salesforce Streaming API</a> to send
                notifications of general events that aren’t tied to Salesforce data
                changes.</p>
            </td>

          </tr>
        </tbody>
      </table>