Skip to main content
vetriselvan manoharan (Wilco Source) 님이 #Apex에 질문했습니다
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개
  1. 2015년 5월 15일 오전 6: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