+ Start a Discussion
AviAAviA 

Global Variables through Static Resources (JS)

Hi all,

I would like to know if it possible to access SF Global Variables through static resource (js file),

for example session id ? I tried to do it without success.

 

As we know inside a VF Page it's possible to get the session by {!$Api.sessionId} but I coulndn't achieve it through static resource.

 

any help will be highly appriciated,

Thanks in advance.