1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

2 ci checking-in when i create progrmatically

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by nv0044984, Jan 7, 2010.

  1. nv0044984

    nv0044984 Active Member

    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    80
    Location:
    Kolkata,India
    Hi,

    I have written the custom service for cheeck-in XML(XML is dynamically creating from the custom content input form). Then I am using the following code for calling the check-in service.
    m_binder.putLocal("AutoNumberPrefix", location + "_" + connection_type + "_");
    m_binder.putLocal("IdcService", "CHECKIN_NEW_SUB");
    m_binder.putLocal("dDocTitle", plan_name);
    m_binder.putLocal("dDocAuthor", "sysadmin");
    m_binder.putLocal("dDocType", "Plans");
    m_binder.putLocal("dSecurityGroup", "Public");
    m_binder.putLocal("primaryFile", file);
    m_binder.putLocal("primaryFile:path", dirPath + file);
    m_binder.addTempFile(filePath);
    m_service.executeService("CHECKIN_NEW_SUB");

    It is check-in the file. but it is creating 2 CI in the content server. PLease let me know is it because of above code. I am completely new to this UCM.

    How to check API?

    Regards & thanks,
    Nirmala Vijaya Sekhar Varre