Copy documents

Pri17
Pri17 Member
edited August 22, 2012 in Documentum #1

Hi all,

My requirement is that i want to copy all the documents which are present in object type "cm_corp_ngmes_document" to the "cm_corp_ngmes".

There are 1500 documents present in "cm_corp_ngmes_document" and i want to move them to "cm_corp_ngmes" which are already having 2000 documents.

so after copying the documents,"cm_corp_ngmes" will have of total 4000 documents.

Manually its hectic!!!

Is there any query through which i can execute this???

Thanks in advance,

Priyanka

Tagged:

Comments

  • Ramachandran
    Ramachandran Member
    edited August 22, 2012 #2

    I think "cm_corp_ngmes_document" is sub type of "cm_corp_ngmes". If this is right, you can change the type of all your "cm_corp_ngmes_document" documents to "cm_corp_ngmes" documents using DQL .

  • Pri17
    Pri17 Member
    edited August 22, 2012 #3

    no actually the correct name for "cm_corp_ngmes" is "cm_corp_ngmes_documents".

    i have to copy from "cm_corp_ngmes_document" to "cm_corp_ngmes_documents"

  • ckickel
    ckickel Member
    edited August 22, 2012 #4

    Read about the Change...Object command within the DQL Reference manual.

       With that command, you can change your cm_corp_ngmes_document objects into cm_corp_ngmes objects.  (Your most recent reply confused me and I may not have the type names correct.)

       This is not a "copy" but a "convert".

       As Srinivasan implied, the specific steps depend upon your type hierarchy.  It's possible you will need to change them into dm_document types prior to changing them to the intended type.  Along the way, you'll need to take steps to maintain custom attribute values.

       --Craig