Tuesday, September 8, 2015

Enable FetchXML Intellisense

Have you ever wanted to have the Intellisense while typing FetchXML ?
In today's post we'll see how to do that :)

Here is the process :

  1. Get the schema for the FetchXML language You can find this schema in the SDK\Schemas\fetch.xsd file in the SDK package or here.
  2. Put it in a cool dry place. (A folder of your choice).
  3. Open your XML file in Visual Studio.
  4. Right-click in the editor window and click on the Properties item.
  5. In the Properties tab, search for the Schemas property and click on the Browse (...) button.
  6. Click on the button Add and search for the xsd file.
  7. The file is automatically checked as Use this schema.
  8. Et voilà ! You have enabled the FetchXML Intellisense ;)