Book Image

Dynamics 365 Application Development

By : Deepesh Somani, Nishant Rana
Book Image

Dynamics 365 Application Development

By: Deepesh Somani, Nishant Rana

Overview of this book

Microsoft Dynamics 365 CRM is the most trusted name in enterprise-level customer relationship management. The latest version of Dynamics CRM comes with the important addition of exciting features guaranteed to make your life easier. It comes straight off the shelf with a whole new frontier of updated business rules, process enhancements, SDK methods, and other enhancements. This book will introduce you to the components of the new designer tools, such as SiteMap, App Module, and Visual Designer for Business Processes. Going deeper, this book teaches you how to develop custom SaaS applications leveraging the features of PowerApps available in Dynamics 365. Further, you will learn how to automate business processes using Microsoft Flow, and then we explore Web API, the most important platform update in Dynamics 365 CRM. Here, you'll also learn how to implement Web API in custom applications. You will learn how to write an Azure-aware plugin to design and integrate cloud-aware solutions. The book concludes with configuring services using newly released features such as Editable grids, Data Export Service, LinkedIn Integration, Relationship Insights, and Live Assist
Table of Contents (20 chapters)
Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
Index

Preface

This book will introduce you to the components of new design tools such as SiteMap, App Module, and Visual Designer for business processes. Going deeper, you will get to know how to develop custom Software-as-a-Service (SaaS) applications, leveraging the features of PowerApps available in Dynamics 365. You will learn how to automate business processes using Microsoft Flow then we'll explore the Web API, the most important platform update in Dynamics 365 CRM. You'll also learn to implement the Web API in custom applications write an Azure-aware plugin to design and integrate cloud-aware solutions. The book concludes with configuring services using newly released features such as Editable Grids, Data Export Service, LinkedIn Integration, Relationship Insights, and Live Assist.

Who this book is for

This book targets skilled developers who are looking to build business-solution software and are new to application development in Microsoft Dynamics 365, especially for CRM.

What this book covers

Chapter 1, Customize Application Navigation, explores the Site Map Designer, which is a new web-based tool, introduced in Dynamics 365 CRM, which lets the customizer quickly define navigation within an app. Previously, one had to export the Sitemap XML and update it manually in the XML editor, or had to use some third-party tools. The built-in Site Map Designer makes editing the site map for an application much easier.

Chapter 2, Design Apps Using App Module Designer, covers App Module Designer, which makes it easy to add components to a specific app for users. Basically, an app is a collection of related entities, dashboards, and business process flows streamlined in such a way that end users can see only those components of Dynamics 365 CRM that matter to them.

Chapter 3, Define Processes Using Visual Process Designer, explains Visual Process Designer, which brings drag-and-drop design capabilities to Dynamics 365 CRM for business process flows. Business Process Flow in Microsoft Dynamics 365 CRM  is a tool meant to help guide users through a business process in the system. 

Chapter 4, Define Business Rules Using Business Rule Designer, walks you through Business Rules, which is a new interface that has been introduced in Dynamics 365 CRM. It has been enhanced with a complete UI overhaul, from being a step-by-step action addition to a drag-and-drop action addition.

Chapter 5, Creating Custom Business Apps, explains PowerApps, which provides templates to build custom Software-as-a-Service (SaaS) applications. Microsoft PowerApps allows users at any level in an enterprise to create usable mobile apps.

Chapter 6, Automate Business Processes Using Microsoft Flow, walks you through the creation of automated workflows between your favorite apps and services, in order to work less and do more. It is a cloud-based tool that can be easily used by Power Users without the need for a developer's help. The automated workflows are called flows. To create a flow, the user specifies the actions that should take place when a specific event occurs.

Chapter 7, Develop Apps Using Web API, covers Web API, which is one of the most important platform updates in Dynamics 365 CRM. It replaces OData and, eventually, SOAP-based services in Dynamics 365 CRM. It is based on the OAuth v2.0 and Open Data Protocol (OData) v4.0 standards. Both of these technologies are well established and are platform-agnostic. So, it can be consumed from different types of applications on different platforms.

Chapter 8, Leverage Azure Extensions in Dynamics 365, explains Azure extensions, which post message request data to any of the listener applications listening on the Microsoft Azure Service Bus. This opens up an infinite number of possibilities for integration between CRM and other LOB applications, be they in the cloud or on-premise.

Chapter 9, Using Editable Grids in Apps, explores Editable Grids, which is one of the most highly requested features now available in Microsoft Dynamics 365 CRM. It provides rich inline editing in main grids and sub-grids (web and mobile apps) so that users can perform operations with fewer clicks, without having to navigate to the main record.

Chapter 10, Configure Microsoft Cognitive Services with Dynamics 365, explains the configuration of cognitive services, which enables artificial intelligence to be incorporated into and integrated with Dynamics 365 CRM, specifically to make product recommendations and to suggest knowledge articles. Recommendation Service and Text Analytics Service connections can be configured easily inside Dynamics 365 CRM.

Chapter 11,  Train the Users through Learning Path, takes a look at Learning Path, which allows user to author a custom, in-app help experience that could be specific to the CRM Solution. It facilitates learning and user adoption of Dynamics 365 CRM implementation.

Chapter 12, Other New Features in Dynamics 365, gives a brief description of some of the other new features in Dynamics 365 CRM that haven't been covered in the earlier chapters.

To get the most out of this book

This book assumes that the reader has some basic knowledge of Dynamics CRM and would like to learn the new features introduced in Dynamics 365. However, someone who hasn’t worked with the previous versions and is starting afresh with Dynamics 365 will equally benefit from it. Developers, customizers, administrators, and power users will be able to enhance their skills by learning about the latest features and changes introduced in Dynamics 365.

You can try out all the features and topics mentioned in the book using a trial instance of Dynamics 365 (https://trials.dynamics.com/) along with the free community edition of Visual Studio 2017 (https://www.visualstudio.com/vs/community/). Some of the topics covered do not apply to the on-premise version of Dynamics 365.

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Dynamics-365-Application-Development. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://www.packtpub.com/sites/default/files/downloads/Dynamics365ApplicationDevelopment_ColorImages.pdf.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The listener application needs to implement the IServiceEndpointPlugin interface's Execute method along with WS2007HttpRelayBinding, to which RemoteExecutionContext is passed from the Azure Service Bus."

A block of code is set as follows:

   Request: GET [Organization URI] /api/data/v9.0/contacts? 
    $select=firstname&$top=5
    Accept: application/json
    OData-MaxVersion: 4.0
    OData-Version: 4.0

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Do all the changes, and click on the Save Entity button:"

Note

Warnings or important notes appear like this.

Note

Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email [email protected] and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at [email protected].

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packtpub.com.