Mobile Timeline: Activate Camera feature under timeline from Dynamics 365 for Phone Mobile App

Taking a picture from Dynamics 365 mobile app and attaching it on the timeline at the same time is now possible.

We will just have to enable few setting from mobile app. Here are the step to follow:

Login to the mobile app using admin credential and go to Setting –> Mobile Setting

Below screen would appear after clicking on Mobile Setting. Enable Allow Access under Camera. If we want to save the picture taken from the phone into the phone gallery then, we also need to enable Save Photo to Library option. Hit the OK button.

Enabled the Camera feature from timeline

Now. let navigate to Opportunity. I have opened a record under opportunity.

Now, we see that the note has got saved under timeline of “Adobe Opportunity” record .

Thanks for reading the blog.

Microsoft Release 2020: Email Enhancement

Microsoft has come up with enhanced email feature in 2020 release wave 1 plan.

Let’s take a closer look into CRM, how the email functionality used to work before enabling the Enhanced Email feature.
User clicks on email activity from timeline, CRM would navigate the user to Email activity screen.

Now, Let’s enable the Enhanced Email feature.

  • Steps to be followed are:
  • Go to Sales and click App Settings
  • Manage Enhanced Mail option would be available
  • Enable Enhanced Email
Figure 3: Enabled Enhanced Email and Hit the Save button

Going back to the Sales. Refresh the browser to get the changes reflected when user click on Email Activity being within any entity.

Figure 4: Now email activity got opened in a separate dialog.

We still get the ability to work on Account form though New Email form is being populated on top of it.

Hope this blog helps in understanding this feature.
Happy D365 CRM

Microsoft Release 2020: Open dialog on button click

Today, we will see how to open an entity main form on top on another entity main form without navigating from one entity to another.

Let’s take an example of Order and Product entity. So, when a user clicks on Order entity main form ribbon button then Product entity main form dialog should get pop up above Order entity main form instead of navigating to Product entity.

Steps to achieve the above functionality:

  • Get the Ribbon Workbench solution installed on the CRM instance.
  • Create a new solution and add Order entity.
  • Create a new web-resource of JavaScript type and add the below JS code in it.
  • Add the web-resource in the solution.
function DialogPopUp()
pageType: "entityrecord",
entityName: "product",
formType: 2
target: 2,
position: 1,
width: {
value: 70,
unit: "%"

Now, lets open the solution inside ribbon workbench.
Click on Open Solution button on the left top this with pop up a window. Using which we get the ability to select the desired solution which we want to open inside ribbon workbench.

Figure 1: Ribbon Workbench

Drag the Button option from ToolBox menu and place it on the Order form ribbon. Rename the button by inserting a new name in the Label. I have given Product Dialog – the same would get reflected on the Order main form.

Figure 2: Create button on Order entity

Now create a new command by clicking on the “+” icon. This is where we call the JavaScript webresource as shown in the below image and provide the JS function name(DialogPopUp) inside the Function Name field.

Figure 3: Create a new command for calling JS webresource

Enable the Display Rule to True. For this click in the “+” icon next to Display Rule and

Figure 4: Enable Display Rule

Select the button rule as shown in the below image and tag the command inside Command drop-down.

Figure 5: Tag command inside Command drop-down

Now, we need to save our changes therefore hit the Publish button. Post that go back to Order entity and refresh the browser.

Figure 6: Product Dialog button on Order entity.

Hit the Product Dialog button and we should get the Product entity main form on top of SalesOrder entity.

Figure 7: Product Dialog on SalesOrder Entity

Happy CRM!

Microsoft Release 2020: Open Dialog on Lookup field click

Normally, we have observed that whenever a user clicks on any lookup field value. Then the CRM navigates the user to the lookup entity record page.

Today’s we will learn how to stop user from navigating from one page to another page on click of lookup field value. This will help users to have a good experience while using CRM product and increase their productivity on their day to day activity on CRM.
This, will actually reduce the number of click which users makes while navigating from one entity to another entity main form and coming bank again to the main form page.

Let’s take an example of Account entity, when a user go to account entity they may have multiple lookup fields on the Account Main form. Clicking on the lookup field value user gets redirected to the lookup associated entity record. Today’s blog is related to the same scenario where when a user clicks on lookup field value, a dialog should open on the same main form instead navigating the user to another entity main form.

Steps to implement the Lookup dialog functionality and let’s take an example of Account entity.

  • Create a new Javascript web resource.
  • Add the web resource under Account Form libraries.
  • Then call the web resource function (LookupDialog) on the Account entity Form: OnLoad event.
  • Publish the changes.

Below is the code which you can use for achieving lookup dialog functionality. I have made it generic so that the same code can be used for any entity main form OnLoad event.

This feature is achievable with the help of OnLookupTagClick Event.

//Call function onload of form with execution context passed.
function LookupDialog(executionContext)
var formContext = executionContext.getFormContext();
//Get all attributes on form on event. (attribute, index)
//For each attribute check whether the attribute type is "lookup" or not.
var attributeType = attribute.getAttributeType();
var attrName=attribute.getName();
//If attribute is of lookup type, add OnLookupTagClick event to field

function OpenLookupDialog(formContext,lookupField)
formContext.getControl(lookupField).addOnLookupTagClick(context => {
const lookupTagValue = context.getEventArgs().getTagValue();
pageType: "entityrecord",
entityName: lookupTagValue.entityType,
formType: 2,
target: 2,
position: 1,
width: {
value: 70,
unit: "%"
Figure 1: Adding Web resource on entity OnLoad event

Post publish –> Go back to the Account entity UCI form and refresh the page.

Figure 2: User click on Primary Contact which is a lookup field.
Figure 3: Contact main form opened on top of Account form.

Now, we have managed to stop the CRM from redirecting us to the lookup record page. Indeed we get the dialog on top of the page we were residing.

We also get the ability to maximize the dialog width to full screen. The option appear in the above picture under the green box. Once the dialog is maximized to to full screen we will still have the “X” icon on the screen. It will allow us to come back directly to the Account main form.

Note: This feature would work only on the UCI form not on Classic form.

Happy CRM! 😊

Microsoft Release 2020: Features (Template Access)

Continuing to the Microsoft Release 2020 features (Previous post: Kanban View feature)
Let’s learn about another new feature which make the users life easy while selecting the template.

  • This feature is available in the Unified Interface only.
  • This capability is available in Dynamics 365 Sales Enterprise and Dynamics 365 Sales Professional.

We have seen in sales organizations that when CRM is implemented, then there are multiple scenario where users need to select templates for notifying there customers.

Then comes a situation where user needs to decide which available template to select and most relevant one. Before wave 1 release 2020, user didn’t had the option to view the template body of the selected template without being redirected to another screen.

Let’s jump and demonstrate the feature.

  • Go to Email template
  • Provide the customer name to whom the email needs to be sent
  • Click on Insert Template button on the ribbon
Figure 1: Insert Template

Now, user will get the access to list of all available email templates from which user needs to scroll and find the most relevant one among them.

This feature helps the user to look on the template content on the same screen and make decisions while selecting the template.

Figure 2: Email Template body
  • Hit the Apply template button.
Figure 3: Template applied.

Now, we see that the selected email template Subject and mail body has been auto-populated under the email activity.

Hope this post helps in understanding the email template feature.

Microsoft Release 2020: Features (Kanban Control)

With the very latest Microsoft D365 Release 2020, Microsoft has come up with many new feature among which one is Kanban.

I will directly start with Kanban feature, how to enable it and it’s use.

To get the Kanban view feature, first we need to ensure that our environment has got the 2020 release wave 1 enabled. To check whether our environment is updated with Microsoft 2020 wave 1 release or not, we need to follow few steps.

Please follow the steps provide by Microsoft to enable the early access of Microsoft 2020 Wave 1 Release.

We have got our environment updated with the wave 1 release.

Let’s jump into enabling the Kanban feature for Opportunity entity. To achieve this feature we need to enable the Kanban control under Opportunity entity.
Step 1: Go to Opportunity entity
Step 2: Click on Controls tab

Figure 1: Click on Controls tab under Opportunity entity.

Step 3: Now click on Add control –> Serach for Kanban –> select Kanban and hit the Add button.

Figure 2: Adding Kanban control to Opportunity entity.

Step 4: Select the Kanban control for Web, Phone and Tablet option. This help us in maintaining a consistent view across all the devices.

Figure 3: Enabling Kanban view.

Step 5: Save and Publish the changes.

Now, Let’s navigate to Opportunity entity.
Here is our new Kanban view, where user has an two Kanban type option:

  • Status
  • Business Process Flow

Currently, I have opened the Open Opportunities view where the Kanban Type is Business Process Flow.
I see that Microsoft has provided their users a flexibility to segregate their opportunities depending on the business process flow stages the opportunities are currently residing.

Figure 4: Kanban View of Open Opportunities Kanban Type: Business Process Flow.

Now, lets open All Opportunities view where the Kanban Type is Status.

Figure 5: Kanban type is set to Opportunity Status
Note: If you are unable to find the Kanban feature after updating wave 1 release 2020. You need to click on the ribbon and select Kanban.
Figure 6: Kanban

Hope this helps!!!

Create your website with
Get started