SFDC Required Fields Inspector
A Single Page App that lets you to determine the Universally Required fields as well as the fields marked required on the Page Layout on different objects.
Recently one of my close friends in the name Mayank S. wanted to know the different Required Fields on an object within Salesforce swiftly without going through the hassles of clicking each field one by one to know it.
The immediate step was to Google it and he was lucky enough to find a snippet from Stack Exchange that did it. One has to open the Developer Console and use the Execute Anonymous window to execute the script and would need to rely on the Debug Statements to know the fields all at once.
This was a little tedious and since the need came in quite often, he had to find another way out! That is when he discussed the same with me and we thought we can setup a Visualforce Page that would let users to find the Required Fields(both Universally Required as well as those marked required on Page Layout) on different objects.
- Front End
- Angular JS
- Back End
- Force.com AJAX Toolkit
Note: We can certainly use an Apex Controller and use
Schema.Describe calls to avoid the Force.com AJAX Toolkit.
You can use the blue Deploy to Salesforce button at the top to deploy it directly to your Salesforce instance. When deployed successfully, you should be able too see a Tab called Required Fields Inspector provided you have assigned permissions to yourself.
You can select the object and then hit the Get Required Fields button to find out all the required fields.
Completely free! Use it at your own will.
Deepak @ Dazeworks Technologies Pvt Ltd