Book Image

Mastering Microsoft Dynamics CRM 2016

By : Deepesh Somani
Book Image

Mastering Microsoft Dynamics CRM 2016

By: Deepesh Somani

Overview of this book

Microsoft Dynamics CRM is the most trusted name in enterprise-level customer relationship management. The latest version of Dynamics CRM 2016 comes with some exciting extra features guaranteed to make your life easier with Dynamics CRM. This book provides a comprehensive coverage of Dynamics CRM 2016 and helps you make your tasks much simpler while elevating you to the level of an expert. The book starts with a brief overview of the functional features and then introduces the latest features of Dynamics CRM 2016. You will learn to create Word and Excel templates, using CRM data that will enable you to provide customized data analysis for your organization. You will understand how to utilize Dynamics CRM as an XRM Framework, gain a deep understanding about client-side scripting in Dynamics CRM, and learn creating client-side applications using JavaScript and Web API. We then introduce visual control frameworks for Dynamics CRM 2016 mobile and tablet applications. Business Process Flows, Business Rules, and their enhancements are introduced. By the end of this book, you will have mastered utilizing Dynamics CRM 2016 features through real-world scenarios.
Table of Contents (20 chapters)
Title Page
Credits
About the Author
Acknowledgment
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Scenario 2


John is working with a requirement according to which he needs to populate the category and subcategory of a selected product on the form. He is using JavaScript for this. There are three different lookups on the form: Product, Category, and Sub Category. Now, as per John's requirement, when a user selects a product in the lookup field, the category and subcategory of the product need to be populated on the onchange event of the product lookup on the form. Therefore, we can make a Web API call from JavaScript to retrieve both the category and the subcategory of a selected product and can further set those values for lookups using JavaScript functions.

Why use Web API?

Using JavaScript is one of the most convenient ways to perform operations on data in Dynamics 365; you can do this with the help of the Web API.

The Web API sends and receives data in JSON format, which is easy to convert into objects in JavaScript. So, most developers use the Web API for performing CRUD operations...