Looking at the methods available in the Toolkit, I see there is a login method which requires a username and password. Is there a way to login using a SessionID?
I ahve tried this but when I'm supposed log in, I get an error when I try to access to any data from Sales Force. The error is MIssmatched Tag. Do you know ahy it can occurs?
I figured out how to do this. I can simply set the SessionID and ServerURL based on values passed via a weblink to my web page.
Public oSFDC As SForceOfficeToolkitLib.SForceSession
Sub ConnectViaSession(vSessionID As String, vServerURL As String)
Set oSFDC = New SForceOfficeToolkitLib.SForceSession
oSFDC.SessionID = vSessionID
Call oSFDC.SetServerURL(vServerURL)
End Sub
I ahve tried this but when I'm supposed log in, I get an error when I try to access to any data from Sales Force. The error is MIssmatched Tag. Do you know ahy it can occurs?
What is the server url you are setting?