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
developerajdeveloperaj 

Show Validation rules in a VF Page?

Hi..
I am new in salesforce. And i want to create a dashboard through which i can show the status of the org. I have shown the apex classes, and custom object with custom field count now i want to show the Validation rules and workflow count.

I have studied that it is possible throug Metadata API but i don't know how can i use them in salesforce apex class
Ajay Nagar 7Ajay Nagar 7

These two links solves the same issue :

https://developer.salesforce.com/forums/?id=906F0000000Ai6kIAC
http://salesforce.stackexchange.com/questions/1614/how-to-search-workflow-rules-or-validation-rules-etc-in-apex-i-e-metadata-searc

Tarun SuriTarun Suri
Hi,

https://developer.salesforce.com/forums/?id=906F0000000Ai6kIAC

Hope this link helps You and sloves Your Problem
Thanks
Tarun Suri