You need to sign in to do that
Don't have an account?
lasw10
Proxy Login
How do I configure the VBA in the sforce_connector.xla to permit login over proxy? Works fine with direct internet connection but fails when run on a network with proxy setup... (or do I configure the proxy settings themselves?)
Thanks
Thanks
Public Function DoLogin(uname As String, pword As String) As Boolean
Dim M1 As Variant
M1 = MsgBox("Proxy Running", vbYesNo, "PROXY")
If M1 = vbYes Then sfApi.SetProxyInfo uname, pword, "", "http://locationofproxyfile"
m_isValid = sfApi.Login(uname, pword)
DoLogin = m_isValid
End Function
thanks
Public Function DoLogin(uname As String, pword As String) As Boolean
' Added proxy login per http://community.salesforce.com/sforce/board/message?board.id=Excel_Connector&message.id=44&query.id=428665#M44
Dim M1 As Variant
M1 = MsgBox("Proxy Running", vbYesNo, "PROXY")
If M1 = vbYes Then sfApi.SetProxyInfo uname, pword, "http://proxy.mydomain.com:myport", ""
m_isValid = sfApi.Login(uname, pword)
DoLogin = m_isValid
End Function
The above worked for me using a simple URL:port notation. For newbies like me who don't edit VBA (ever), you get to this by going to Excel and hitting Alt+F11 and then locating the Class Module called CSession - then earch for DoLogin.
proxy.mydomain.com should be replaced by your proxy server and myport should be replaced by the port on your proxy server. Contact your network sysad or look on your site's intranet/wiki for these values.