You need to sign in to do that
Don't have an account?
Manisha Patil
Can we use one transaction security policy for exporting data from multiple objects?
Hi,
I have 4 diff Data Export policies for Lead, Account, Opportunity and Contact object with diff apex classes.
I would like to know if there is a way to create one single apex class that I can use in one single policy instead of 4 duplicates .
Also, is it possible to use custom settings in policies to store the threshold value of number of records? everytime, i try to access the custom settings in policy apex class, the test class fails.
Thanks,
Manisha
I have 4 diff Data Export policies for Lead, Account, Opportunity and Contact object with diff apex classes.
I would like to know if there is a way to create one single apex class that I can use in one single policy instead of 4 duplicates .
Also, is it possible to use custom settings in policies to store the threshold value of number of records? everytime, i try to access the custom settings in policy apex class, the test class fails.
Thanks,
Manisha
You can use custom labels Label.LabelName to make sure your code is flexible.