You need to sign in to do that
Don't have an account?

how to get Number of validation rules and workflows
How to show number of validations and workflows in a VF page for an object. Any possiblity
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
How to show number of validations and workflows in a VF page for an object. Any possiblity
http://boards.developerforce.com/t5/Apex-Code-Development/Salesforce-limits-using-apex/td-p/638395
Although i have never worked on such use cases, there is a post on StackExchange where the members discuss about its possibility. There is one member who seems to have used it sucessfully.
Link: http://salesforce.stackexchange.com/questions/1082/has-anyone-ever-successfully-invoked-the-metadata-api-from-within-apex
Hope this helps.
Regards,
Satish Kumar
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
If you felt I went above and beyond, please give me Kudos by clicking on the star icon.