cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get ExternalID of Lead in SDK?

former_member273875
Participant
0 Kudos

Dear experts,

In Lead UI, we have a field call ExternalID, now I want to get that field in SDK but I cannot find it. I tried to get it by

rootLead.BusinessTransactionDocumentReference.GetFirst().BusinessTransactionDocumentReference.ID;

But it showed a wrong value. Could you please give me your advice? Thanks a lot.

Regards,

Huy-Nguyen

Accepted Solutions (1)

Accepted Solutions (1)

gadirov
Participant
0 Kudos

Hi,

you could look for node ObjectIdentifierMapping in Lead-BO. If you don´t find this node, you can query the BO ObjectIdentifierMappig using the internal ID of the lead and the remotIdentifierDefiningSchemeCode specifiying the type.

Best regards

Rufat

former_member273875
Participant
0 Kudos

Hi gadirov

Thanks for reply. I can resolve it now

gadirov
Participant
0 Kudos

Great!

BR

Rufat

Answers (0)