on 01-15-2014 7:29 AM
Hi Experts,
Can some one please help me in getting the Attribute ID for attributes of a Taxanomy Table via MDM Java API. I have the TableID of the table.
Please advise me how to proceed further.
Regards,
Pankaj
Hi
I got it by myself:
TableId TableId = schema.getTableId("");
RetrieveAttributesCommand comm = new RetrieveAttributesCommand(userSessionContext);
comm.setTaxonomyTableId(TableId);
comm.execute();
AttributeProperties[] ids = comm.getAttributes();
for(int a = 0;a<ids.length;a++){
System.out.println("POC for ID :: "+ids[a].getId());
System.out.println("POC for Names :: "+ids[a].getName());
}
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.