PacktLib: Microsoft Dynamics CRM 2011 Scripting Cookbook

Microsoft Dynamics CRM 2011 Scripting Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Overview of Dynamics CRM 2011 Customization

Introduction

Opening a free 30-day trial of Dynamics CRM 2011 Online

Using solutions to package our work

Creating and managing entities

Creating and managing fields

Creating and managing forms

Creating and managing scripts

Creating and managing other resources

Creating and managing workflows

Creating and managing dialogs

Starting a workflow from a dialog

Working with security roles and permissions

Scripting Form Fields

Introduction

Working with text fields

Working with number fields

Working with currency

Working with date and time

Working with option sets

Working with lookups

Field Validation

Introduction

Custom e-mail field validation

Custom web address field validation

Validating the ticker symbol field

Formatting phone numbers

Formatting postal codes

Replacing the Country and Province fields with lookups

Rules and Events

Introduction

Form load event usage

Form save event usage

Field change event usage

Working with tabs and sections

Combining events

Enforcing business rules

Error Handling

Introduction

Handling unexpected user input

Handling unexpected processing

Blocking events

Handling UI events

Advanced error handling

Adding a new account and contact with validation

Debugging

Introduction

Debug messages

Using IE for tracing and debugging

Debugging using Visual Studio

Error logging

Using Fiddler with CRM

Extended UI Manipulation

Introduction

Showing or hiding form elements

Formatting fields

Creating a rating gauge field

Flagging a section for the user

Adding a contact picture

Adding an account logo

Marking accounts for review

Dynamic form elements

Working with Ribbon Elements

Introduction

Adding a new ribbon button

Removing ribbon artefacts

Starting a dialog/workflow from a ribbon button

Pre-populating form elements with a button click

Creating other ribbon artefacts

Security trimmed ribbon elements

Using the ribbon for displaying information

Extending CRM Using Community JavaScript Libraries

Introduction

Using jQuery with Dynamics CRM for page element selection

Using jQuery and CSS

Animating form elements with jQuery

Using jQuery UI for user interaction

Using jQuery UI for customizations

Integrating jQuery UI widgets

Using LiveValidation for input validation as you type

Using Datejs for date manipulation

Light Social Media Integration

Introduction

Integrating with Facebook

Integrating accounts with LinkedIn

Integrating contacts with LinkedIn

Adding Twitter feeds

Working with Del.icio.us data

Index