Which action should the administrator take to achieve this goal?
Show answerHide answer
Correct answer: A Create an external object that maps to the inventory application.
Explanation
Explanation:Cloud Kicks needs to make inventory data from a legacy application available for viewing and reporting in Salesforce without duplicating or manually managing the data. The solution should integrate the external data seamlessly into Salesforce. Here’s why creating an external object is the best approach and why the other options are less suitable:
A. Create an external object that maps to the inventory application:
External objects in Salesforce allow integration with external data sources (like the legacy inventory application) using Salesforce Connect. This enables real-time access to the external data, which can be viewed, queried, and included in reports within Salesforce as if it were native data. External objects are ideal for this scenario because they avoid data duplication, support reporting, and maintain data in the legacy system while making it accessible in Salesforce.
How it works:
Set up Salesforce Connect with an OData or custom adapter to connect to the legacy application’s API.
Define an external object in Salesforce that maps to the inventory data tables/fields in the legacy system.
Create external object relationships or custom report types to enable viewing and reporting in Salesforce.
Why it’s best:
This provides a scalable, real-time integration without manual data imports, aligning with the goal of viewing and reporting on inventory data.
Why not B (Import the data into a custom object when needed; delete after it is used)?
Importing data into a custom object requires manual or scheduled uploads (e.g., via Data Loader), which is inefficient and prone to errors. Deleting the data after use prevents historical reporting and creates a maintenance burden. This approach also risks data inconsistencies between Salesforce and the legacy system, unlike real-time access via external objects.
Why not C (Build a Lightning component and use SFDX to connect to the inventory app)?
While a Lightning component could display external data by calling the legacy application’s API, building a custom component requires significant development effort. Salesforce Developer Experience (SFDX) is a tool for source-driven development, not a direct integration method. This approach is overkill compared to external objects, which provide native integration and reporting capabilities without custom coding.
Why not D (Upload an Excel spreadsheet with the data into the Files tab)?
Uploading an Excel spreadsheet to the Files tab allows storage but does not integrate the data into Salesforce for viewing or reporting. Files cannot be queried or included in Salesforce reports, making this unsuitable for the requirement.
Additional Notes
Prerequisites: Ensure the legacy application has an API (preferably OData-compatible) or supports a custom adapter for Salesforce Connect. Salesforce Connect requires a separate license.
Reporting: To enable reporting, create a custom report type including the external object or relate it to other Salesforce objects (e.g., Accounts) if needed.
Security: Configure external object access via profiles or permission sets to ensure only authorized users can view the inventory data.
References
Salesforce Help: Salesforce Connect (Trailhead module: “Salesforce Connect” in the Admin Advanced Trailmap for external object setup).
Salesforce Help: External Objects (covers mapping external data for viewing and reporting).