Microsoft Dynamics CRM 2011

Microsoft Dynamics CRM 2011

Monday, September 16, 2013

How to create a Custom View using the Advanced Search in Dynamics CRM

by Carmel Schvartzman
  1. In this walkthrough we will learn Step-By-Step How to use the Advanced Search in Dynamics CRM 2011, and save the search as a Custom View. The Advanced Search allows to perform custom searchs of entity records,  export the results to Excel and even save the search as a View for further use.  For instance, we could use  the Advanced Search to find all the Accounts with a Name containing "Sean":

    How to create a Custom View using the Advanced Search in Dynamics CRM
  2. So go to Accounts and find the Advanced Search ribbon button:
  3. The Advanced Search dialog will open. Press the New button OR select "New" from the Views list:
  4. Because we want  to find all the Accounts with a Name containing "Sean", we need to select the "Account Name" field:
  5. Next add the operator "Contains":  (notice you can also select Equals, Begins , Contains Data, and more):

  6. Next, click over "Enter Text" and type the searched term "Sean":

  7. Click on "Results" to find out whether we got the expected results:

  8. We got them, but there is a column we don't need ("Primary Contact"), so let's remove it. Click on "Edit Columns":

  9. On the Edit Columns dialog, select the column to remove, and click "Remove":

  10. Now, if we need to retrieve data from another column, click on Add Columns:

  11. Select the column you need to add:

  12. Click "Results" again to see the required data:

  13. Now, we want to see how to save the Advanced Search as a View, for future use, so go to Save As:

  14. Give the View a relevant name and its Description:

  15. In the future, you can see the saved View opening the "Saved Views":

  16. There we'll see our Advanced Search saved as a View:






    That's all...Enjoy Dynamics CRM


    כתב: כרמל שוורצמן

Sunday, September 15, 2013

Step-By-Step How to create a Web Resource

by Carmel Schvartzman
  1. In this walkthrough we will learn How to create a Web Resource in Dynamics CRM 2011. A Web Resource is a virtual html, jscript, css, picture or Silverligth file stored in the CRM database, and identified by a unique URL. After creation, a Web Resource can be used in many CRM Forms, enhancing its functionality and/or appeareance. For Example, we can use a Web Resource to open the CRM Official site on our Form:
  2. In order to create a Web Resource, go to the Customizations section and select "Web Resources":
  3. There click on the "New" button:
  4. On the dialog that opens, fill out the required field "Name" with some relevant name, and the "Display Name" with the same name expressed in some friendly way. Open the drop down list on the "Type" field. There you can see the different types of Web Resources you can create: pictures, Silverlight, javascript code, and html markup: select "Web Page":
  5. As you can see, exists the option to upload a css, html, js, gif, silverlight file. However, for some few lines of code we'll prefere to use the Text Editor:
  6. Here you can choose between the Source and the Rich Text tabs. Select the Source tab:
  7. Opening it we get some standard markup:
  8. We'll extend the markup with some code. Go to the Rich  Text tab and type the following line (you can use the rich editor buttons):
  9. Let's say we want to add an hyperlink to the html. Press the "Add Hyperlink" button, and type some url:
  10. Let's customize the hyperlink using the Source Tab. Find the <a> tag and change the displayed link  text to whatever you want:
  11. Finally, Save the Web Resource and Publish it:
  12. If you want to add the Web Resource to a Form, refer to this walkthrough. This is how you can use the Web Resource on the CRM Form:


    And the link will open the Crm Official site:



    That's all...Enjoy Dynamics CRM


    כתב: כרמל שוורצמן