locked
Visual Studio XRM IntelliSense is not working? RRS feed

  • Question

  • Is it possible to use the Intellisense for the Jscript programming in Visual Studio?

    Here are my steps:

    1. Downloaded the Microsoft CRM 2016 SDK
    2. Opened "\SDK\SampleCode\JS\FormScripts\XrmPageScripts.sln" with Visual Studio
    3. Added "\SDK\Bin\Microsoft.Xrm.Sdk.dll" as reference to the project.
    4. Tried to use XRM. (as you can see in the picture

    I want to create a JS function that will change the background of a specific field named "name" to red.

    1. User opens Form
    2. Field background is red

    I am new to this so any help would be appreciated

    Thursday, February 16, 2017 3:29 PM

All replies

  • try: http://msxrmtools.com/Xrm.Page/MSXRMTOOLS.Xrm.Page.2016.js

    save the js file and at your js project just reference it

    /// <reference path="MSXRMTOOLS.Xrm.Page.2016.js" />
    Friday, March 3, 2017 5:10 PM