Book Image

Microsoft Dynamics 365 Extensions Cookbook

Book Image

Microsoft Dynamics 365 Extensions Cookbook

Overview of this book

Microsoft Dynamics 365 is a powerful tool. It has many unique features that empower organisations to bridge common business challenges and technology pitfalls that would usually hinder the adoption of a CRM solution. This book sets out to enable you to harness the power of Dynamics 365 and cater to your unique circumstances. We start this book with a no-code configuration chapter and explain the schema, fields, and forms modeling techniques. We then move on to server-side and client-side custom code extensions. Next, you will see how best to integrate Dynamics 365 in a DevOps pipeline to package and deploy your extensions to the various SDLC environments. This book also covers modern libraries and integration patterns that can be used with Dynamics 365 (Angular, 3 tiers, and many others). Finally, we end by highlighting some of the powerful extensions available. Throughout we explain a range of design patterns and techniques that can be used to enhance your code quality; the aim is that you will learn to write enterprise-scale quality code.
Table of Contents (19 chapters)
Title Page
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Building a Dynamics 365 PowerApp


In this recipe, we will create a PowerApp application that collects and writes feedback to the feedback entity previously created in the CDS. We can connect straight to Dynamics 365 instead of CDS, however, we want to demonstrate how to use the middle layer to communicate between platforms.

Getting ready

As per the previous recipe, you will need a license that includes PowerApp capabilities. PowerApps are included in Dynamics 365 Enterprise Edition Plan 1 (or higher) or can be purchased independently.

From a CDS perspective, you will need an existing environment with a database containing the Feedback entity, as created in the previous recipe. Alternatively, you can use the same pattern with a different entity of your choice. Make sure you have the correct privileges (Read/Create in our example) for the entity you are manipulating.

How to do it...

  1. Log in to your Office 365 portal and click on the PowerApps icon highlighted as follows:
  1. From the left navigation,...