O'Reilly logo

Microsoft Dynamics CRM 2011 Scripting Cookbook by Nicolae Tarla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with text fields

In this recipe, we will be retrieving information from the Phone field of a Contact entity. We can work in the same fashion with any other default text fields on any entity form, or with custom fields.

Getting ready

If you have a solution created from the previous chapter, open that solution. If not, create a new solution package. We will be saving all configurations as part of a solution package.

How to do it...

In order to associate our script with a field on the Contact form, we will follow these steps:

  1. Navigate to Settings | Solutions.
  2. Open the previously created solution package or create a new one.
  3. Select Entities, and click on Add Existing to add the Contact entity, as shown in the following screenshot:
  4. Scroll down until ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required