Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

HOW TO: Read BES with Xref in Composite Object Java Code
Solution
In Java to read it from BES, see the code sample for calling ReadCO with contentMetadata parameter.

 
        DataObject readPerson = helperContext.getDataFactory().create("urn:cs-ors.informatica.mdm", "ReadPerson");
        DataObject readParameters = readPerson.createDataObject("parameters");
        DataObject coFilterNode = readParameters.createDataObject("coFilter").createDataObject("object");
        coFilterNode.setString("name", "Person");
        coFilterNode.setString("depth", "2");
        coFilterNode.setList("contentMetadata", Arrays.asList("XREF"));
        readParameters.setBoolean("readSystemFields", true);
        Key key = (Key)coFilterNode.createDataObject("key");
        key.setRowid(rowId);
 
        DataObject readPersonReturn = compositeServiceClient.process(callContext, readPerson);
 
        person = readPersonReturn.getDataObject("object");

 

More Information
Reference
Applies To
Product: Identity Resolution
Problem Type: Installation; Configuration; Product Feature
User Type: Administrator; Business User; Developer
Project Phase: Implement; Optimize
Product Version:
Database:
Operating System:
Other Software:
Attachments
Last Modified Date:4/29/2019 9:14 PMID:561260
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)