Below are some of the examples that will not work in tablets when using MSCRM
SOURCE : mscrm.com
Xrm.Page.context.� getCurrentTheme | Xrm.Page.ui� ViewPort Methods |
Xrm.Page.data.entity.� getDataXml | Xrm.Page.ui control� Web resource and IFRAME control methods |
Xrm.Page.ui.� formSelector object methods | Xrm.Page.ui tab.� setDisplayState |
Xrm.Page.ui.� navigation.items collection | Xrm.Utility.� openWebResource |
Xrm.Page.ui.� refreshRibbon |
When these method are executed in Tablet or mobile device then these will return nothing and defining will return undefined.
So if we are customization it for tablet we should distinguish the client device in JS and write code .
var isCrmForTablets = (Xrm.Page.context.client.getClient() == “Mobile”)
if (isCrmForTablets)
{
// Code for CRM for tablets only goes here,
}
else
{
// Code for web browser or CRM for Outlook only goes here.
}
// Code for any client goes here.
To make sure which commands will work in tablet then include a command rule for more info refer Here.
Hope it will help. thanks
SOURCE : mscrm.com