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

Hi,

 

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,

Mike

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

https://twitter.com/rich_unger/status/207914617219985408

 

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