In our earlier article, we started discussing about notification in Dynamics 365. In this article, we are going to discuss some new notification method, which was introduced in Dynamics 365. Thus, let’s discuss this new method. This method provides similar functionality like recommendation action in business rule. If you are new to business rule, check the articles given below related to business rules.
Back to our topic, so let’s discuss the new method introduced in Dynamics 365.
Now, we know about this method. Let’s implement a simple scenario, where we want to recommend SIC code, which is based on the industry selected by the user and is similar to our business rule example here. We can create a Web resource and use the code given below.
We need to bind this code on onload of an account entity and onchange of the industry field. Once we save and publish our changes, the user will select an industry and it will show an information icon, as shown below. When the user will move mouse over information icon, it will show the notification given below with action buttons. If the user will click on Apply button, it will set SIC code, which is based on our JavaScript logic, as shown below.
Stay tuned for more Dynamics 365 updates.