function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MG ConsultingMG Consulting 

Can't get Type.forName to work for Managed Custom Objects



I can't get Type.forName to work for Managed Custom Objects. I have no issue getting it to work for Unmanaged Custom Objects. I've tried all sorts of different combinations of calls to Type.forName and I'm thoroughly stumped :(  Help please!


Thanks a lot,


Best Answer chosen by Admin (Salesforce Developers) 
MG ConsultingMG Consulting


Known issue, should work in next patch, using Type.forName('NS__SObj__c'), which BTW means your List one should work also.