I've been searching around for a few hours for what I initially thought should be a very simple thing.
I want to write some Apex code that will iterate through all of the objects and fields in my org and check the Descriptions.
I can iterate through the objects and fields and get names, and other bits BUT NOT description. Is there any way to do this?
I want to create a test class that checks descriptions that were newly created (and eventually ALL descriptions) and checks to see that:
- they are not empty,
- they are comprised of more than just the field name,
- they are greater than a certain number of characters.
I want to do this to be able to enforce descriptions being filled in on creation of new fields. Nothing more frustrating than empty descriptions, or descriptions like this: Name of Field: "Do XYZ", description: "Does XYZ" ....aaarggh #$@##*&# !!!!!