There is a public virtual class BDI_ObjectMappingLogic that would let me add custom matching, but of course it's public so I get the
Compile Error: Type is not visible: npsp.BDI_ObjectMappingLogic
Anyone have any experience with matching rules for custom objects in NPSP data import advanced mapping? Or with using unmanaged apex to override a public virtual managed package class? Or, with installing open-source NPSP outside of the managed package?
4 answers
Hi Mike,By default, classes and methods in Managed Packages are not visible for you in Apex, unless they are defined as Global. The class you are referring to is probably not defined as global, so you cannot use it in Apex, unfortunately.From Salesforce Help:The public access modifier declares that this class is visible in your application or namespace. The global access modifier declares that this class is known by all Apex code everywhere.Please find the help on the link given below :https://developer.salesforce.com/forums/?id=906F00000008u4SIAQI hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks.