You need to sign in to do that
Don't have an account?
Meetesh Jain
18 Digit ID to Data
Hi All,
We are trying to integrate SFDC with our system and while trying to fetch an information from a field in SFDC through API , the values are getting fetched in 18 digits instead of hte actual name.
The filed which we are trying is called as Projects which should have names like RBC , Royal Bank of Scotland etc but it shows like this 006w000000XweAaAAJ ( 18 digits) in my application instead of the actual data.
How do we get this sorted.
Kindly help.
We are trying to integrate SFDC with our system and while trying to fetch an information from a field in SFDC through API , the values are getting fetched in 18 digits instead of hte actual name.
The filed which we are trying is called as Projects which should have names like RBC , Royal Bank of Scotland etc but it shows like this 006w000000XweAaAAJ ( 18 digits) in my application instead of the actual data.
How do we get this sorted.
Kindly help.
If you reference Opportunity.Id you'll get an 18 character id (like you provided). If you reference Opportunity.Name you'll get RBC, Royal Bank of Scotland, etc.
Thank you for you assistance.
We are using SOAP.
If you are querying the Projects object (assumption: Project__c) and you are trying to reference the opportunity field (assumption: Project__r.Opportunity__c), you will get the 18 character id mentioned above. If you reference the name of the opportunity record (assumption: Project__r.Opportunity__r.Name) you will get the name of each opportunity record.
Important: Notice the __r instead of __c in the relationships.