• jigounov
  • 0 Points
  • Member since 2009

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 3
Is there any documentation about development for mobile devices?

Sorry for the dumb question, does anyone know off-hand where the setting is to disable the sidebar in your VF Pages? I think I remember seeing a setting that turns off the sidebar in my VF Pages but I cannot seem to find it. I would do more research but I have a demonstration tomorrow morning.


Thank you for any information you may have.  

Is there any documentation about development for mobile devices?


I believe this is only recent, but I am no longer able to perform API actions against my development install using code that hasn't changed in quite some time.  When I run the code listed below, I get a error on the "Describe Object" call that says "INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session".   It looks as though I'm getting a valid session ID back from the login call, but the subsequent API call doesn't seem to like it.   

The interesting thing is that I have a QA org that's on NA1 (my dev org is also on NA1) that has no problems with the code below.   Also, this problem is only happening for my dev org when I run the code from our corporate environment.  If the code runs on our production environment (which have different IP ranges and are locate outside of our corporate office), then it works properly as well.

Is is possible that there is some sort of configuration set in my dev org that doesn't agree with the code below as it's run from our corporate environment?  I've played around with the "Lock sessions to the IP address from which they originated" setting in my dev org, but it didn't seem to do anything.

Here is the code I am running that seems to work for every other install except my dev org:

          Dim sfdcService As New SforceService

          Dim loginResult As New LoginResult

          sfdcService.SessionHeaderValue = New SessionHeader

          loginResult = sfdcService.login(username, password)

          sfdcService.Url = loginResult.serverUrl

          sfdcService.SessionHeaderValue.sessionId = loginResult.sessionId

          Dim results As SForce.DescribeSObjectResult = sfdcService.describeSObject("Lead")


Any help would be greatly appreciated.

Thank you,


  • February 12, 2008
  • Like
  • 0