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
Joseph BauerJoseph Bauer 

Managed package field set doesn't list unmanaged fields

I added an unmanaged field to the managed packaged field set and when I run this code snippet:
 
system.debug(SobjectType.FieldThatHasFieldSet__c.FieldSets.getMap().get('Managed_Field_Set').getFields());

It only lists the managed fields and not the unmanaged fields that I had added.