{Learning} All you might need to know on CRM 2013 App for Tablets

I spent last week or so discovering things on CRM 2013 tablet application and to be honest, it is pretty good. There are limitations but it is a good start for Dynamics CRM in tab and mobile market with having an out of box app.

Here are the series of blogs which pretty much sum all I could find on CRM 2013 Tablet application configuration, what can be done what cannot be done etc. For installation it is available in Google store for Android tabs, Windows store for Windows tabs and Apple store for IPAD tabs.

· Want to know how to configure multi entity search for CRM 2013 App. Here you go: Click here

· Want to know how to reconfigure IPAD app and options: Reconfigure vs Sign out for CRM 2013 App. Here you go: Click here

· Want to know Security Privileges required to access CRM 2013 App. Here you go: Click here

· Want to know how to configure an Entity to be available in CRM 2013 App. Here you go: Click here

· Want to understand Navigation options, commands and handle form scripts for CRM 2013 App. Here you go: Click here

image

Hope it helps!

{Tips and Tricks} Understanding Navigation options, commands and handle form scripts for CRM for Tablets

I wanted to have a final blog on my discoveries with CRM for tablets for CRM 2013. This blog will sum up understanding Navigation options, commands and how to handle form scripts for CRM for tablets.

Some References below from MSDN site

Changing Navigation Options for CRM for tablets:

It uses the same sitemap data as CRM web application.

If an entity is enabled for CRM for tablets and appears in the navigation bar for the web application, it will also appear on the navigation bar in CRM for tablets.

A grouping within an Area on the web client will be ignored. The CRM for tablets app will show the entities as a flat list.

The order of the items in the Nav bar is determined by the order in the site map. If there is a duplicate, the first instance will be the only one shown.

Custom entities will use a fixed custom entity icon.

clip_image001

Command bar for CRM for tablets:

It uses same information as on Ribbon for CRM web application.

Handling form Scripts for CRM for tablets:

Scripts written for forms used in the web application in should also work with CRM for tablets but there are some differences. As a rule, methods that are not valid within CRM for tablets will not throw errors, but they will also not return any values. Developers can use the following conditional statement to separate code that will not work correctly using CRM for tablets.

JavaScript

if (Xrm.Page.context.client.getClient() != “Mobile”)

{

//Code that should not run in CRM for tablets can be included here

}

The following list should help you understand what to expect:

· Using  window.alert, window.confirm, window.prompt or any other code that blocks code execution will not work for CRM for tablets.

· Because web resources and IFRAMES in forms are not displayed in CRM for tablets any of the methods provided to interact with them will not work.

· Because CRM for tablets does not provide the ability for a user to switch to different forms, those methods that enable this in the web application will not work.

· Any methods that allow for showing or navigating to related entities in the web application will not work.

· Methods that would refresh the command bar, get dimensions of the view port, or close a form window will not work.

Hope it helps!

{Tips and Tricks} Configure Entity to be available in CRM 2013 for Tablets and Phones

This blog is meant to understand how to configure an entity to be available in CRM for tablets. Say I have a custom entity and want it to be available in CRM for Tablets. You need to go to Entity customization and work on the options mentioned in below screen. It will be the last option in Entity customization:

clip_image001

Detailed description below (Reference from MSDN)

CRM for phones

This entity will be available within the Microsoft Dynamics CRM for phones application.

CRM for Tablets

This entity will be available using Microsoft Dynamics CRM for tablets. You also have the option to make this entity Read-only in CRM for tablets.

If the forms for an entity require an extension that isn’t supported by CRM for tablets, such as IFRAME or web resource controls, use this setting to ensure that the data for these entities is not editable by people using CRM for tablets.

Now, this is the part when you need to configure it for custom entity, what about if you want to do it for system entity. There are loads of things to know here. Let us have a look at that as well:

(Reference from MSDN)

Only certain system entities are visible or can be used with CRM for tablets. The following table shows the entities displayed in CRM for tablets.

· Account

· Appointment

· Competitor

· Connection

· Contact

· Lead

· Note

· Opportunity

· Opportunity Product

· Phone Call

· Task

Note: The Connection entity is only available as part of the Stakeholders and Sales team on the Opportunity form.

Now, which system entities can be set as read only?

Except for the Activity, Connection, and Note entities, each of these entities can also be disabled so they won’t appear in CRM for tablets or they could be set as read-only.

Records for the following entities are only available in read-only forms:

· Case

· Email

· Email Attachment

· Product

· Team

· User

Case, Email and Product entities can be set so they aren’t visible in CRM for tablets.

Hope it helps!

{Tips and Tricks} Security Role configuration required to access CRM 2013 for Tablets

I was trying to setup multiple users for roles other than Administrator to be able to access CRM 2013 for tablets but was somehow unable to see why they were not able to access CRM 2013 on IPAD app. I haven’t checked on the privileges in a while but remembered that the privilege name used to be called Go Mobile or something. Then, finally I figured it out. The privilege has been renamed:

Text reference from Microsoft site.

A new security privilege was introduced to provide access to use CRM for tablets. The privilege is called Use CRM for tablets.

Prior releases of Microsoft Dynamics CRM have included a privilege called Go Mobile, which grants a user access to use of Microsoft Dynamics CRM from a mobile phone. To avoid confusion between the existing privilege (for phones) and the new CRM for tablets privilege, the Go Mobile privilege has been renamed to CRM for phones.

By default, this privilege is included for the following default security roles:

· CEO-Business Manager

· Salesperson 

· Sales Manager

· Vice President of Sales 

· System Administrator 

· System Customizer 

Now, how to configure it. You need to Go to the Security role intended and see the Business management tab:

You will find the privilege under the Privacy Related privileges:

clip_image002

As you can see in above screen, that was the cause for me not being able to access CRM 2013 for tablets for certain security roles. Once I configured it for the needed roles, I was able to access the app for CRM 2013 from those security roles.

Hope it helps!

{Tips and Tricks} Reconfigure vs Sign out on CRM 2013 for IPAD/Android tablets

As I already mentioned in my earlier blog, I am focusing to write some stuff on my experiences with setting up the CRM 2013 Tablet app for IPAD and summing it up with few blogs on it.

During demos and end user scenarios it is often the case that we need to sign out or reconfigure the CRM app on tablet. Here is a quick tip on doing it:

You might choose between sign out on the app or reconfigure the application, depending on what the scenario is. You need to navigate to more commands and pick the option. Refer screen below:

clip_image001

Here is a description of when to pick what (Text reference from Microsoft site):

Sign out

Signing out deletes data and authentication tokens from the cache, and it also deletes cookies on iPad and Android tablets. Signing out does not delete metadata. This means that if a user signs in again after signing out, a metadata sync is not required before using the application again, which can save a few minutes when you sign in.

Reconfigure

Reconfiguring deletes all data and metadata from the cache.

If you sign out from one organization and sign in to another, and use the Reconfigure option on the second one, your metadata will still remain for the first organization. If you want to remove your metadata from the first one, you’ll need to sign in to it and use the Reconfigure option there, as well.

Hope it helps!

{Tips and Tricks} CRM 2013 for Tablets: Configuring Entities for Multi Entity Search on CRM for Tablets

Some of my upcoming blogs will be around CRM 2013 for tablets. I was just trying to get my head through the IPAD application available for CRM 2013 for few demos. There is a feature for multi entity search available in IPAD application for Dynamics CRM 2013. The number of entities available for multi-search has been restricted. I sense this is for making the performance of search better. This blog is about how to configure entities which are available for multi search.

We need to go to Settings-> Administrator->System Settings:

Under General You will see a setting and Select button (Highlighted in Red) ->

clip_image002

Once you click select button following screen will appear:

clip_image004

The thing to note here is Originally Account, Contact, Lead, Opportunity, User, Competitor and Activity are configured for multi entity search out of the box.

Say, I also want to configure Case entity for multi-entity search: You just need to select Case and move it to Selected Entities by Clicking Add.

New configuration would look like:

clip_image006

Hit save or save and close on the top of the above screen and you are done. The entity will start appearing on CRM 2013 for tablets.

Next time you open your IPAD application you might see following screen:

clip_image002[5]

You need to download the changes and you are done.

Hope it helps!

{Tips and Tricks} Increasing label width on CRM 2013 form

Have you ever had issues like below when you tried to add a new attribute on CRM 2013 form which has a large display name and the full attribute label is not available on the form(In the below screen refer to the second field label on the form):

clip_image002

The resolution for this problem is to go to form editor->Section properties and increase the field label width property:

clip_image003

I changed it to 200 in my case and here is the result:

clip_image005

Hope it helps!

{Issue Resolution}Required field indicator (*) missing on CRM 2013 form for business required fields

One of my old colleagues asked me for a peculiar problem on CRM 2013 forms where the required field indicator was missing on the forms. Consider the example of out of box Opportunity Form here:

clip_image002

As you can notice, all the required field indicators are missing above. I just wanted to check upon the cause and found out that Microsoft has applied a setting which cause the indicators to move away. You just need to go to Options from Settings (top right corner of the CRM 2013 screen):

clip_image003

Then, disable high contrast on the screen:

clip_image005

Once you are done click OK and that will resolve the issue:

clip_image007

Hope it helps!

My 50th Blog on Dynamics CRM

This blog is just to sum up the best visited blogs in the 50 till now. I just wanted to sum up and take the best 10 out of the 50 blogs I did till now. I was trying to figure out how to find out the ones which might be the top most visited and found a quick summary on WordPress stats.

clip_image002

So here is the list of Top 10 in First 50 blogs I wrote on Dynamics CRM:

1. https://dynamicsofdynamicscrm.wordpress.com/2014/03/19/scripting-tit-bits-for-business-process-stage-field-dynamics-crm-2013-javascript/

2. https://dynamicsofdynamicscrm.wordpress.com/2014/05/06/change-color-for-text-fields-dynamics-crm-2013/

3. https://dynamicsofdynamicscrm.wordpress.com/2014/03/12/getset-currency-field-values-in-javascript-for-dynamics-crm/

4. https://dynamicsofdynamicscrm.wordpress.com/2014/01/30/change-business-process-flow-stages-using-javascript/

5. https://dynamicsofdynamicscrm.wordpress.com/2014/02/28/change-business-process-flow-using-javascript/

6. https://dynamicsofdynamicscrm.wordpress.com/2014/04/03/refresh-crm-2013-form-using-script/

7. https://dynamicsofdynamicscrm.wordpress.com/2014/04/15/crm-2013-create-email-error-cannot-open-sql-encryption-symmetric-key-because-symmetric-key-password-does-not-exist-in-config-db/

8. https://dynamicsofdynamicscrm.wordpress.com/2014/04/28/call-crm-2013-modal-window-for-webresources/

9. https://dynamicsofdynamicscrm.wordpress.com/2014/06/06/workaround-or-conditions-in-workflow-for-crm-2013-sp1/

10. https://dynamicsofdynamicscrm.wordpress.com/2014/08/28/new-tooljavascript-dependency-checker-for-dynamics-crm-20112013/

Thanks for reading my blogs.I will continue on the blogger road and Hope it will help somebody on their technical journey!