Skip to Content

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

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




S1.png (29.1 kB)
pastedImage_4.png (41.5 kB)
pastedImage_6.png (13.3 kB)
pastedImage_8.png (176.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 14, 2016 at 12:28 PM

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



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.