Context:
- Uploaded a csv file as a data stream in data cloud
- Data Lake Object successfully mapped to Data Model Object
Goal:
- Display the record data from Data Cloud in a Flexcard on another object in our SF org.
Problem:
- Can't figure out how to access the record data in the DLO or DMO with Data Mapper or Integration Procedure.
- The best I could figure out what how to return the DLO itself via the DataLakeObjectInstance object.
- Can't find any good documentation or examples to walk through this use case.
#Vlocity
1 resposta
@Alan Mccarthy DataLakeObjectInstance is the catalog row for the lake object, not the CSV rows. A Data Mapper Extract only queries Salesforce objects, and a DMO is not one of those. That is why the mapper never lists your records.
Read the DMO from an Integration Procedure, with a Data Cloud query, as a user who can query that data space. Map that response into the FlexCard. Leave DataLakeObjectInstance out of it.
If the card sits on a Salesforce record and you only need the rows for that record, relate the DMO back to it with a key you already have, and query with that key. A mapper on the CRM object still will not see the lake.