Skip to main content
Hi,

I am having a flag which is public variable in the class(with sharing). I am assigning values to that variable inside the constructor of that class and I want to check the value of that flag throughout my application(force.com website). But if I try to access it in another class, the value is coming as null. Can anyone help me with this?
3 respostas
  1. 15 de mai. de 2015, 06:14
    Hi,

    Have you first made the instance of that class(with sharing) in which you have assigned the value of the Public variable in your another class?

    Thanks

    Nitin