Hi all
Maybe iam missing something but when i call GetXML on a IRecordPtr for quick example
IRecordPtr record;
static IStringPtr recordXML;
record->GetXML(&recordXML);
This xml output appears to be missing the ref-type name field. If i export direct from Endnote to xml this field is present.
IDatabaseServicePtr pIDB = (IDatabaseService*)pReq->GetService(kDatabase);
IDatabasePtr tempDB;
pIDB->Open(databaseLocation,modeDefault,&tempDB);
IReferenceTypesPtr referenceTypes;
tempDB->GetReferenceTypes(&referenceTypes);
Checking the count for the reference types also returns 0.
To show the difference here is the exported xml direct from the Endnote GUI
<record>
<database name="WCRUCopy.enl" path="C:\WCRUCopy.enl">WCRUCopy.enl</database>
<source-app name="EndNote" version="10.0">EndNote</source-app>
<rec-number>165</rec-number>
<ref-type name="Book">6</ref-type>
<contributors>
And here is the xml produced from calling GetXML on the record
<record>
<database name="WCRUCopy.enl" path="C:\WCRUCopy.enl">WCRUCopy.enl</database>
<source-app name="EndNote" version="10.0">EndNote</source-app>
<rec-number>165</rec-number>
<contributors>
Thanks for any insight