You need to sign in to do that
Don't have an account?
AntonPavlov
how to move variables to a file and use it in apex classes?
I need move variables to a file and use it in apex classes. How do this?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi,
I am sure you don't need to store value in a file you just need to use the same variables in another apex class. If so use the wrapper class concept.
which will help you to do the same. I hope you are aware of it. Here is the link (https://www.forcetalks.com/blog/wrapper-class-in-apex-salesforce-the-developer-guide/#:~:text=A%20Wrapper%20Class%20is%20frequently,at%20some%20stage%20in%20runtime.) might help you to understand and answer your question.
If my answer has helped you to resolve your issue please mark this answer as resolved.
Thanks