I am trying to get all Standard and Custom Objects name from Schema class in apex class. I need to remove all shared objects from the list.
I am trying to get all Standard and Custom Objects name from Schema class in apex class. I need to remove all shared objects from the list.
Best Answer
Here is updated code that will give list of all objects excluding Share, history , Tag & feed. You can add extra condition to filter out other unnecessary sObjects.