Quantcast
Channel: Sam's Activities
Viewing all articles
Browse latest Browse all 3363

Display Rules to show/hide ribbon buttons in Dynamics CRM for Mobiles and Tablets

$
0
0

Introduction

Microsoft added a support for CRM on Mobile and Tablet devices since CRM online fall 2013. In every next release, Microsoft has been adding new enhancements in this area.

You can access your CRM through CRM app or access it on tablet browsers.

But have you ever noticed that the button that were added to entity ribbon also appears in CRM app?

Yes, the button that you added to entity ribbon also starts getting displayed in mobile CRM app.

And what if you want to hide these buttons?

Sometimes we may come across with the requirement where we would need to hide button either for CRM app or for the tablet browsers.

There are display rules preset that can be used for this purpose,

  • Hide button using CRM for Tablets/Mobiles

Check screen shot below, where you can see the custom button “Test Button” visible in CRM App,Hide button using CRM for Tablets-Mobiles

We should add below mentioned display rule for any custom button for letting it appear in CRM for tablets.

<DisplayRule Id=”Ikl.HideOnModern”>

<CommandClientTypeRule Type=”Modern”

InvertResult=”true” />

</DisplayRule>

This button will disappear for CRM Tablets and Mobiles.button  disappear for CRM Tablets and Mobiles

  • Hide button when the web application is viewed in a mobile browser on a Tablet device.

Check below screen shot where you can see “Test button” to appear in mobile browser on a Tablet device.

Test button Dynamics CRM

We should add below display rule when CRM is viewed in a Mobile browser on a Tablet device.

<DisplayRule Id=”Ikl.HideontabletExperience”>

<HideForTabletExperienceRule

InvertResult=”false” />

</DisplayRule>display rule Dynamics CRMConclusion:

The buttons can be show/hide based on the device type. Use “CommandClientTypeRule” to show/hide button if using CRM App for Mobile and Tablets.

Use “HideForTabletExperienceRule” to show/hide button when CRM is viewed in a Mobile browser on a Tablet device.

Have you tried new Avataar of Maplytics?…if not download your free trial today!


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>