Topic
  • 3 replies
  • Latest Post - ‏2017-04-21T13:49:21Z by VisalakshiM
MDMWPC
MDMWPC
3 Posts

Pinned topic Copy Item

‏2013-06-21T06:23:43Z |

HI,

How can I copy one item without using clone API ? I want to copy an item attribute to attribute through java.

  • KaranBal
    KaranBal
    108 Posts

    Re: Copy Item

    ‏2013-06-21T18:31:21Z  

    It seems you want to get and then set particular attribute values using JAVA API. You can do it using attribute level APIs like AttributeInstance.getValue(), AttributeInstance.setValue(), getDisplayValue(), getAttributeDefinition() etc depending on your use case.

    List of attribute level APIs: http://pic.dhe.ibm.com/infocenter/mdm/v10r1/topic/com.ibm.pim.java.doc/com/ibm/pim/attribute/package-frame.html

    List of attribute instance APIs: http://pic.dhe.ibm.com/infocenter/mdm/v10r1/topic/com.ibm.pim.java.doc/com/ibm/pim/attribute/AttributeInstance.html

     

  • shivarajk1987
    shivarajk1987
    1 Post

    Re: Copy Item

    ‏2013-11-27T11:39:48Z  

    Can Anybody help me to clone the item in java?

  • VisalakshiM
    VisalakshiM
    8 Posts

    Re: Copy Item

    ‏2017-04-21T13:49:21Z  

    Can Anybody help me to clone the item in java?

    Hi Shivaraj,

    
    cloneEntry API should clone an item in java