Duplicate api name

  • 18 August 2017
  • 2 replies
  • 24 views

I have 2 fields with the same api name on an object, one coming from installed package and another one is custom. I tried referencing the field that was coming from the package, but the custom field is getting referenced as drawloop ignores namespace. I cannot change the api name of that custom field as it is being used/referenced in various places. What to do in this case? 

This is my custom field

206823_pastedImage_1.png

 

This is the field coming from the installed package

206824_pastedImage_2.png


2 replies

Badge +7

The easiest way around this is to change the API Name of the "Continuous service date" field.   I assume you are getting to this data via a Salesforce Relationship.  Another option is to get it from a SOQL relationship.  SOQL could get you the exact value.

Userlevel 4
Badge +8

‌,

Would you please confirm that Vince answered your question and mark it correct if it helped resolve your issue?

Cheers,

Ryan

Reply