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
TesterInSkyTesterInSky 

Why the type name 'OpportunityFieldHistory' cannot be returned by 'describeGlobal' call?

I am trying to get all the sObject type names by calling 'describeGlobal', then pass the string array to 'describeSObjects' call to get all the detailed information for all the sObjects.

But when doing the test, I noticed that 'OpportunityFieldHistory' was not returned by the 'describeGlobal' call. So I would like to know why, and want to know if there is way for me can guarantee that I could get all the sObjects.

Thanks in advance!