cancel
Showing results for 
Search instead for 
Did you mean: 

Using MDM Java APIs, how to add new values in Text values section of attributes in Taxonomy Lookup table

rami_reddy4
Participant
0 Kudos

Hi All,

We are unable to add attribute Text Values in Main Taxonomy lookup table using MDMJavaAPI. We have implemented the logic to add the values but its failing.

We have tried multiple ways but its throwing different issue currently its throwing "Type mismatch" issue.

But we are successfully fetching the all attribute Text Values.

Record record =    RecordFactory.createEmptyRecord(tableId)

record.setAttributeValue(new FieldId("F378_459"), attributeID,mv);

record.setAttributeValue(new FieldId("F376_457"), new AttributeId("A225_118485"),new TextAttributeValue(new TextAttributeValueId("TA-1")));

As per Java API, using setAttributeValue we should add the text values but we are unable to find Field ID of Text Values in MDM Console.

Please find the screenshots in attached document along with MDMJavaAPI code.

Java Code

Output

Regards,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

rami_reddy4
Participant
0 Kudos

We have implemented the logic, now we are able to add the text values successfully.

Regards,

Venkat

Answers (0)