'Can't download data'

This question is not answered

Hi,

I am trying to use the Sage CRM app for iPhone and clicking the 'download data' button does nothing..

I have installed the component on CRM and CRM runs both on port 80 and 443...

Does anyone have any suggestions on how to get this working?

thanks 

All Replies
  • Hi,

    Are you using the latest version of the iphone app from the iTunes store, v2.0.8?

    Also, are you accessing your CRM install on the iphone from outside your network using a fully qualified domain name? e.g. http://crm.mycompany.com

    To download your CRM data to the phone the app tries to connect to an sdata url for each of the different entities. For example for communications it will connect to:

    http(s)://<serverName>/sdata/<CRMInstallName>j/sagecrm/-/mListCommunication

    If you go to this url in your browser it should prompt you for user credentials, once you log in it should return an xml payload with the list of the logged in users' communications available for the app.

    Regards,

    Kevin

  • Hi Kevin,

    Thanks for your response.

    Yes - accessing the CRM from outside the network using fully qualified domain name.

    When prompted for the user name and password - what sort of username and password am i to put here? A CRM admin?

    Thanks,

    Justine

  • Yes Justine that's right, a CRM admin.

    If you're using a FQDN from the app you should use the same FQDN for the test. It could be an issue with your IIS rewrite rules if the test fails.

    You can try changing your crmj rewrite rule in IIS to be:

    http://localhost:10009/crmj/{R:1}

    Instead of:

    http://{C:1}:10009/crmj/{R:1}

  • Strange - that's what I have been doing but all it seems to do is refresh the page and reload the user/password box? Sorry for all the questions, I've been trying to get this app to work for 2 days now to no avail!

  • Usually when it refreshes the page and reloads the user/pw box it means there was a problem with authentication.

    What happens if you put:

    http(s)://<FQDN>/sdata/<CRMInstallName>j/sagecrm/-/$schema

    This shouldn't ask you to authenticate.

  • Morning Kevin,

    I've just tried the above and i get:

    "This XML file does not appear to have any style information associated with it. The document tree is shown below."

  • OK that means some XML is being returned which is good.

    So are you using http or https for that request?

    And just to clarify, you are using the latest version of the iPhone app? I ask because there was a bug with older versions downloading data from CRM over https.

  • It returns the same when I do it using both http and https.

    The version i am using is 2.0.8 (I downloaded it a couple of days ago so should be up to date).

  • Would it be ok if I got in touch with you via email directly? It might be easier to troubleshoot if I could get take a look at the CRM server and settings etc.

  • Hi Kevin,

    That would be great - justine@entegraty.com