+ Start a Discussion

Missing SFDC sessid.

we are calling an s-control using object buttons (placeing the buttons in button section )it is working fine.and same s-control we are calling in vf page that vf page is an standard object pagblocksection here we are missing the session id ,


we are calling the scontrol using commandlink option callintg the scontrol using action attributes.any sf rule is hitting?


try this way

sforce.connection.sessionId = '{!$Api.Session_ID}';