Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Microsoft Dynamics CRM 2016

You're reading from   Mastering Microsoft Dynamics CRM 2016 An advanced guide for effective Dynamics CRM customization and development

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781786466617
Length 402 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Deepesh Somani Deepesh Somani
Author Profile Icon Deepesh Somani
Deepesh Somani
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. History of Dynamics CRM FREE CHAPTER 2. Working with Sales 3. Working with Services 4. Working with Marketing 5. Working with the XRM Framework 6. Analytics with CRM 7. Workflow Development with Dynamics CRM 8. Client-Side Scripting 9. Enhancements for Mobile 10. Plugin Development with Dynamics CRM 11. Business Process Flows and Business Rules 12. New Features in CRM 2016

Client-side enhancements in Microsoft Dynamics CRM 2016

This section is focused on introducing and using client-side enhancements available with Microsoft Dynamics CRM 2016. Generally, in Dynamics 365 JavaScript is used to perform actions in form scripts, ribbon commands, and in web resources.

Form scripts

JavaScript can be used to handle different form events and perform some actions whenever an event occurs. The advantage of using form scripts is that they don't require any interaction with servers and they are executed on the client side itself. Scripts can be used for the following:

  • Validating data: We can use JavaScript for validating data entered into the fields. We can check the valid formats for fields, such as email, mobile number, and so on. We can restrict invalid data using this type of validations.
  • Automating tasks: Using JavaScript, field values can be populated depending on the data filled on the form.
  • Form enhancements: Using JavaScript, you can customize and control the data that is to be displayed on the form. You can also show or hide some fields on the forms.
  • Ribbon commands: JavaScript can be used for ribbon commands, such as performing an action on button click, setting some rules for displaying a button, showing dialogs on button click, and so on. You can write JavaScript on a ribbon button, which can then perform an action accordingly. You can even call a function inside a JavaScript web resource.

Web resources

Web resources are the files stored in Microsoft Dynamics CRM. They are JavaScript, HTML, Silverlight, Stylesheets, or image files. You can write JavaScript in JavaScript and HTML web resource. You can also write Web APIs inside a web resource for performing Create, Read, Update, and Delete (CRUD) operations with Microsoft Dynamics CRM.

You have been reading a chapter from
Mastering Microsoft Dynamics CRM 2016
Published in: Nov 2017
Publisher: Packt
ISBN-13: 9781786466617
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime