I am required to set the value of Direction field on PhoneCall Entity form, when it is loaded to "Incoming."
I am using following code:
Xrm.Page.getAttribute("directioncode").setValue("Incoming");
but this doesn't set field value to Incoming, instead it places "--" in the Direction field.
How this can be achieved?
*This post is locked for comments