|
|||
|
|||
I'm using your CmtDbQry.dll but i have an error with CommitCRMQueryDataRequest
CmtInitDbQryDll : OK CmtGetQueryRecIds : OK XML Sample : <?xml version="1.0" ?><?commitcrmxmlqueryrequest version="1.0" ?><CommitCRMQueryDataRequest><ExternalApplicationN ame>Ioware.ioCommitCRM</ExternalApplicationName><Datakind>ACCOUNT</Datakind><MaxRecordCount>9999</MaxRecordCount></CommitCRMQueryDataRequest> CmtGetRecordDataByRecId : Error 2000 And CmtGetDescriptionByStatus : "General Error Occurred" XML Sample : <?xml version="1.0" ?> <?commitcrmxmlgetrecorddatarequest version="1.0" ?> <CommitCRMGetRecordDataRequest> <ExternalApplicationName>Ioware.ioCommitCRM</ExternalApplicationName> <GetRecordByRecId>CRDSVHJK86TQVJE5WLAX</GetRecordByRecId> <SelectFieldsList>FLDCRDCOMPANY, FLDCRDFULLNAME</SelectFieldsList> </CommitCRMGetRecordDataRequest> And the response : <?xml version="1.0" ?> <?commitcrmxmlgetrecdatarequest version = "1.0" ?> <CommitCRMGetRecordDataResponse> <Status>FAILURE</Status> <ResultCodes>50122</ResultCodes> <ResultMessage></ResultMessage> <RecordData></RecordData> </CommitCRMGetRecordDataResponse> Error 2000 and 50122 are not referenced in this article What is wrong with this? Your wiki with this function is : this article <?xml version="1.0" ?> <?commitcrmxmlgetrecorddatarequest version = "1.0" ?> <CommitCRMGetRecordDataRequest> <ExternalApplicationName>MySoftwareName</ExternalApplicationName> <GetRecordByRecId>CRDC1VTHMDF627HJECG7</GetRecordByRecId> <SelectFieldsList> FLDCRDCOMPANY, FLDCRDCONTACT, FLDCRDADDRESS1, FLDCRDCITY, </SelectFieldsList> </CommitCRMGetRecordDataRequest> |
|
|||
|
|||
Hi Christophe Morez,
Thank you for posting this. We will add the relevant items to our Wiki. Anyway, we believe that the problem with the samples you send is that the application name you used (for the <ExternalApplicationName> token) is too long. Application names should be anywhere between 3 to 15 characters. Please shorten it and give it another try. Hope this helps, Sheli |
|
|||
|
|||
Christophe, please try the following XML, I believe the wiki misguided you and that the following XML may work with the version of RangerMSP you have installed. The Wiki is updated to the coming API release which includes a few changes (like for token names) and that might have prevented this from working.
<?xml version="1.0" ?> <?RangerMSPxmlgetrecdatarequest version = "1.0" ?> <RangerMSPGetRecDataRequest> <ExternalApplicationName>ioRangerMSP</ExternalApplicationName> <GetRecordByRecId>CRDSVHJK86TQVJE5WLAX</GetRecordByRecId> <SelectFieldsList>FLDCRDCOMPANY, FLDCRDFULLNAME</SelectFieldsList> </RangerMSPGetRecDataRequest> Let us know how it goes. Thanks, Sheli |