Hello,
I am currently using the DXL Export and Import. ( C & C++ APis).
I could the transfer all the documents of a database to another using the DXL. The UNID of the original Note is stored in the .xml file for Import, but it is not stored as UNID of the new document. i know that the unids can be same for the DB Replicas.
Can we not change the UNID of a document using C or C++ API. I have a part of code here:
UNID* pnewUNID = NULL;
LNDocument* pDoc= new LNDocument();
pDoc->Open();
pnewUNID= pDoc->GetUniversalID();
pnewUNID->File.Innards[0]=poldUNID->File.Innards[0];
pnewUNID->File.Innards[1]=poldUNID->File.Innards[1];
pnewUNID->Note.Innards[0]=poldUNID->Note.Innards[0];
pnewUNID->Note.Innards[1]=poldUNID->Note.Innards[1];
Could any one let me know if there is a way to modify / update the Document with another UNID. It would be nice any partial code is given.
Thanks!.
Sreenivas.