Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 9244

Can't see IntelliSense for eContext object (nor eContext object)

$
0
0

Hello.

I'm following the "readme" in "sdk\templates\xrm.pagescriptprojecttemplate\", with an on-line CRM.

It states: "When you paste the definition into the PageData.js file it will generate a global eContext object that you can use to have IntelliSense while writing your script..."

But I can't see any IntelliSense for the variable "eContext", or even the global variable "eContext" itself.

Even so, this function works in the server. It shows the value of the field on the onChange event.

Pruebas.Contactos.pruebas = function () {
    var oField = eContext.getEventSource().getValue();
    alert(oField);
}

But it'd be nice to have IntelliSense for that variable.

About the sentence in the readme: "When you paste the definition into the PageData.js file it will generate a global eContext object that you can use to have IntelliSense while writing your script..."

The definition hasn't any "eContext" variable. And I can't understand how can it be generated with just pasting the definition.

Please, help.



Viewing all articles
Browse latest Browse all 9244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>