Book Image

Microsoft Dynamics CRM 2015 Application Design

By : Mahender Pal
Book Image

Microsoft Dynamics CRM 2015 Application Design

By: Mahender Pal

Overview of this book

<p>Businesses can have their developers build complete apps or plug-ins and interfaces to suit their business needs. With the application of MS CRM, administrators can alter the content, layout, and business logic for each business use case. Businesses can choose to run Dynamics CRM on their own internal server or to link to web-hosted installations. This book is an enhanced guide that covers all the new features released with Microsoft Dynamics CRM 2015. Coming straight off the shelf with a whole new frontier of updated business rules, process enhancements, SDK methods, and other enhancements, this book is a complete guide for all your Dynamics CRM questions.</p> <p>Starting off, this book will introduce you to the deployment options such as online and on-premise, and the software and hardware requirements as CRM customization. It will also teach you how to develop a sample application.</p> <p>Going deeper, this book teaches you about the new enhancements in Microsoft Dynamics CRM 2015 such as business process, new client-side scripting, mobile application, and actions enhancements. You will quickly get up and running with plugin development and project tracking concepts with the help of sample applications.</p> <p>The book concludes with how Microsoft Dynamics CRM extends its mobile capabilities and bring more feature-rich experience to the app users.</p>
Table of Contents (17 chapters)
Microsoft Dynamics CRM 2015 Application Design
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding client-side events


Microsoft Dynamics CRM 2015 exposes events for forms, fields, and other controls. These are the event handlers where we can call our custom JavaScript methods. We can configure our client-side code to execute on specific events or dynamically associate our method to a corresponding event. Let's first understand events related to forms.

Form events

Two events—OnLoad and OnSave—are exposed for entity forms where we can write our client-side code.

OnLoad event

The OnLoad event handler executes code when the entity form is loaded. We can utilize this event for controlling the behavior of entity forms and this event is useful for different scenarios. For example, we may want to hide/disable some fields based on other fields or based on the user security role. Business rules also utilize the OnLoad event to execute logic. We will be discussing business rules in a later topic. If we are not working in updated entity forms then OnLoad is executed whenever the form is...