---
schema_version: "1"
id: 16a6a6efa75e28b1b3c665519442a7f5beb1d069657348c535a9104bdd60d7e3
title: Extract Account Attribute Data (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_extract_account_attribute_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_extract_account_attribute_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3455293f674f2a4cbdc07bb7d9925c69e7b7c1844cd82ba675b866c36b35869c
description: For the managed package runtime, an Omnistudio Data Mapper accepts an Account Id and returns Profile Attribute values for that Account.
products:
  - Omnistudio
release: "264"
---
# Extract Account Attribute Data (Managed Package)

For the managed package runtime, an Omnistudio Data Mapper accepts an Account Id and returns Profile Attribute values for that Account.

![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).

To download a DataPack of this example, click [here](https://volt.my.salesforce.com/sfc/p/o0000000IKm8/a/3m0000005uIQ/MyFOf4HR9EBfH5l9RFRvk6xzwetcFWHft1AQdec1huA).

Before you create this example, create and run the Account Attribute example in [Omnistudio Data Mapper Load Examples (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_dataraptor_load_examples.htm&release=264.0.0&type=5 "For the managed package runtime, Data Mapper Load examples demonstrate formulas and object relationships, and working with attributes.").

To create this Data Mapper Extract:

1. Go the Data Mapper tab and click New. The Create dialog is displayed.
2. Specify a name for the Data Mapper and configure its settings as follows:
    
    - Interface Type: Extract
    - Input Type: JSON
    - Output Type: JSON
3. Click Save. The Data Mapper Interface page is displayed.
4. On the Extract tab, specify Account as the object and Extract Output Path, and `Id = Id` as the filter.
5. On the Output tab, click the **+** icon and add the following mappings:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114151e135">
                  <p style="margin-bottom:0;">Extract JSON Path</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114151e141">
                  <p style="margin-bottom:0;">Output JSON Path</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114151e147">
                  <p style="margin-bottom:0;">Other Settings</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Extract JSON Path" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e135 ">
                  <p style="margin-bottom:0;">Account:Id</p>
                </td>

                <td data-label="Output JSON Path" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e141 ">
                  <p style="margin-bottom:0;">Id</p>
                </td>

                <td data-label="Other Settings" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e147 ">&nbsp;</td>

              </tr>
              <tr class="">
                <td data-label="Extract JSON Path" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e135 ">
                  <p style="margin-bottom:0;">Account:@GoldStarAcct</p>
                </td>

                <td data-label="Output JSON Path" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e141 ">
                  <p style="margin-bottom:0;">GoldStarAcct</p>
                </td>

                <td data-label="Other Settings" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e147 ">
                  <p>Output Data Type: String</p>
                  <p style="margin-bottom:0;">Default Value: Off</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Extract JSON Path" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e135 ">
                  <p style="margin-bottom:0;">Account:@NumberOfStars</p>
                </td>

                <td data-label="Output JSON Path" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e141 ">
                  <p style="margin-bottom:0;">NumberOfStars</p>
                </td>

                <td data-label="Other Settings" class="slds-cell-wrap" style="vertical-align:top;" headers="d114151e147 ">
                  <p style="margin-bottom:0;">Output Data Type: Integer</p>
                </td>

              </tr>
            </tbody>
          </table>
    
    If you're using Vlocity Attributes in your output mappings, you can only use one object in your Data Mapper Extract. If you add more than one object with Vlocity Attributes in your output mappings, no data is shown for some mappings.
6. Go to the Preview tab. If you see an **Edit as Params** link, click it.
7. In the Input Parameters pane, click Add New Key/Value Pair. Enter `Id` as the Key and an Account Id from your org as the Value. Click Execute.
8. Verify that the Response pane displays a JSON structure containing the desired output. For example:
    
    ```
    {
      "Id": "0014N00001goyP8QAI",
      "GoldStarAcct": "On",
      "NumberOfStars": 5
    }
    ```