I am using Rest Builder to build Javascript will it work for Mobile offline MSCRM?
*This post is locked for comments
I am using Rest Builder to build Javascript will it work for Mobile offline MSCRM?
*This post is locked for comments
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
Hi,
Yes you can use CRM Rest Builder , but few limitation is there . Have a look below reference.
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]
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156