---
schema_version: "1"
id: f6b42ee5cf3119f779cce88f85c1c17150e76c29b3ebf43246ba672d77272438
title: Omnistudio Data Mapper Developer Features (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_dataraptor_developer_features.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_dataraptor_developer_features.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7113ecf2ad79bfe8abe99df7b3bcf9ffa3ca8a9265a26a0fb69da6087f0345b0
description: For the managed package runtime, you can call Data Mappers using Apex or a REST API. You can also use custom input and output and environment variables in Data Mappers.
products:
  - Omnistudio
release: "264"
---
# Omnistudio Data Mapper Developer Features (Managed Package)

For the managed package runtime, you can call Data Mappers using Apex or a REST API. You can also use custom input and output and environment variables in Data Mappers.

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

- **[Omnistudio Data Mapper REST API (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_dataraptor_rest_api.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can invoke any type of Data Mapper using the Data Mapper REST API. To update Salesforce objects using a Data Mapper Load, issue a POST request that includes a JSON payload that is formatted to comply with the input that the Data Mapper load expects. To retrieve data from Salesforce, issue a GET call to a Data Mapper Extract, specifying the Id or parameters identifying the data to be retrieved. The data is returned in the response in JSON format.
- **[Omnistudio Data Mapper Calls From Apex (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_dataraptor_calls_from_apex.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to call a Data Mapper from Apex, call the `vlocity_ins.DRGlobal.processObjectsJSON()` method, specifying the name of the Data Mapper and the input data that it requires.
- **[DRGlobal Class and Methods (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_drglobal_class_and_methods.htm&release=264.0.0&type=5)**  
    For the managed package runtime, the DRGlobal class provides multiple methods for calling Omnistudio Data Mappers from Apex.
- **[Environment Variables in Omnistudio Data Mappers and Integration Procedures (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_environment_variables_in_dataraptors_and_integration_procedures.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can use environment variables to define Default Values and Filter Values, and in Formulas.
- **[Custom Input and Output for Omnistudio Data Mappers in Omnistudio for Managed Packages (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_custom_input_and_output_for_dataraptors_in_omnistudio_for_vlocity.htm&release=264.0.0&type=5)**  
    For the managed package runtime, by default, Data Mappers handle JSON and XML data. To handle other data formats, you can configure a Data Mapper to use a custom input or output that you implement is a custom class. For example, you can define a Data Mapper Transform that accepts CSV-formatted data and outputs it as JSON.