+ Start a Discussion
RishavRishav 

community URL not working in the Mobile SDK

Hi, 
 I am trying to access the community through mobile SDK.
i have modified the server.xml file and now it look like this:
<xml version="1.0" encoding="utf-8"?>
<servers>
  <server name="Sandbox" url="https://test.salesforce.com"/>  
  <server name="production" url="https://rishav-developer-edition-na15.force.com"></server>
 </servers>


But now i am getting the error like this. First thing i am  not able to understand why it is appending the parameter at the time of loading the page in web view.

Is there anything that i need to do in configuration. Or i am doing some mistakes. 
If anybody have already have done this then please help me.

Thanks
Rishav
Gaurav NirwalGaurav Nirwal
You can redirect it to any page using the approach mentioned here

http://brianpeddle.com/2011/06/06/building-a-custom-salesforce-login/
https://github.com/BPeddle/SFDC.Custom.Login

I hope this helps.
RishavRishav
Hi Matthews,
          Thanks for your quick replies.
          But how to use this library within android application.
Gaurav NirwalGaurav Nirwal
You can integrate this library 

RishavRishav
Hi Mathews,
                       I solved my problem using only "salesforce Mobile SDK". 
                       By using Mobile SDK i am able to login into my "cusotmer portal login" . and i can customize my page using the branding option given by
                        salesforce.
Thanks
Rishav