Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Will Rest Builder JavaScript will work for mobile offline Microsoft Dynamics CRM?

Posted on by 240

I am using Rest Builder to build Javascript will it work for Mobile offline MSCRM?

*This post is locked for comments

  • Suggested answer
    Nishant Rana Profile Picture
    Nishant Rana 55 Microsoft Employee on at
    RE: Will Rest Builder JavaScript will work for mobile offline Microsoft Dynamics CRM?

    JavaScripts do work offline in mobile. one of the pre requisites is that the entity should be available offline. and also use Xrm.WebApi.Offline

    docs.microsoft.com/.../offline

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Will Rest Builder JavaScript will work for mobile offline Microsoft Dynamics CRM?

    Hi,

    Yes you can use CRM  Rest Builder , but few limitation is there . Have a look below reference.

    docs.microsoft.com/.../mt787123(v=crm.8)

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Will Rest Builder JavaScript will work for mobile offline Microsoft Dynamics CRM?

    Hi

    It depends on the Rest query you have, please see below for limitations related to OData in Mobile Offline Mode

    Limitations for mobile offline JavaScript client SDK Retrieve Multiple

    $select only retrieves the attribute of the base entity and not of the related entity

    OData query options should start with $ like URL query parameters

    $expand only uses navigation property names

    Only $select can be specified inside $expand

    Only a navigation property where both the participating entities are offline enabled can be used

    MaxPageSize is optional and should be > 0

    $filter does not function – these conditional operators are supported (=, !=, < >, <=, >=)

    Only – AND, OR, NOT – logical operators are supported

    $filter can be applied on base entity attributes but not on related attributes

    $expand returns next links for N:1 relationship

    Next link is JSON formatted and users need to construct the next Retrieve call using the next link

    $skiptoken, $getOnlyRelatedEntity is for internal use and should not be changed by users

    $skip is not supported

    FetchXml only retrieves base entity attributes

    And please follow the links below to know more about javacript limitations in mobile offine mode

    [View:https://crmtipoftheday.com/1020/dynamics-365-mobile-offline-limitations/:750:50]

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Will Rest Builder JavaScript will work for mobile offline Microsoft Dynamics CRM?

    Hi

    It depends on the query you build, please see below for limitaions related to OData in Mobile Offline Mode

    Limitations for mobile offline JavaScript client SDK Retrieve Multiple

    $select only retrieves the attribute of the base entity and not of the related entity

    OData query options should start with $ like URL query parameters

    $expand only uses navigation property names

    Only $select can be specified inside $expand

    Only a navigation property where both the participating entities are offline enabled can be used

    MaxPageSize is optional and should be > 0

    $filter does not function – these conditional operators are supported (=, !=, < >, <=, >=)

    Only – AND, OR, NOT – logical operators are supported

    $filter can be applied on base entity attributes but not on related attributes

    $expand returns next links for N:1 relationships

    Next link is JSON formatted and users need to construct the next Retrieve call using the next link

    $skiptoken, $getOnlyRelatedEntity is for internal use and should not be changed by users

    $skip is not supported

    FetchXml only retrieves base entity attributes

    And please follow the links below to know more about javascript limitations in the mobile offline mode

    crmtipoftheday.com/.../dynamics-365-mobile-offline-limitations

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans