Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Connect to CRM on-premises from Cordova mobile app

Posted on by

I want to connect and retrieve data from CRM on-premises in Cordova mobile app using CRM Web API. I viewed samples for CRM and Cordova but they are for CRM online. I am looking for an alternative to authenticate to CRM on-premises. 

*This post is locked for comments

  • Suggested answer
    Zibba360 Profile Picture
    Zibba360 on at
    RE: Connect to CRM on-premises from Cordova mobile app

    Thank you for your responses.

    I initially planned to create web services for CRM operations(CRUD) and call my web services from the mobile app...and that's the direction I'm taking now.

    I thought Web API will work for on-premise but apparently not.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Connect to CRM on-premises from Cordova mobile app

    Hi,

    You need to build some custom proxy class to authenticate CRM. Use that proxy class in your webservice (custom) to read/ update values using mobile app. There is no easy / direct way with on-premise CRM and mobile apps as far as i know.

    Thanks,

    Mansoor

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Connect to CRM on-premises from Cordova mobile app

    Hi Zibba360,

    i carried out this integration a couple of times, i could suggest you to use a custom webservice that calls crm service inside himself, only for create, update and delete operations. For retrieve and (so particolary) for search call directly sql server: you are lucky to have onpremise version.

    Hope it helps!

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Zibba360 Profile Picture
    Zibba360 on at
    RE: Connect to CRM on-premises from Cordova mobile app

    We have CRM 2016 on premise

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans