You need to sign in to do that
Don't have an account?
Lakshya Kanchan
Fetch matching rules related to the duplicate rules using apex
Hi
How can we fetch all the matching rules related to the duplicate rules using apex?
Thanks and Regards,
Lakshya
How can we fetch all the matching rules related to the duplicate rules using apex?
Thanks and Regards,
Lakshya
Does https://salesforce.stackexchange.com/questions/163619/accessing-a-duplicate-rules-matching-rules-via-apex help?
Thanks
Is there any other approach available?
Regards,
Lakshya
To fetch all the matching rules related to duplicate rules using Apex, you can use the Metadata API and the Apex Metadata namespace. The Metadata API allows you to retrieve metadata information, including duplicate rules and matching rules.
The MatchingRule and DuplicateRule objects are used to represent the metadata retrieved from the API.
Note that in order to use the Metadata API in Apex, you need to have the necessary access and permissions. Also, make sure you have the required metadata access enabled for your Salesforce organization.
Hope this helps.
Thank you.