Skip to content
Advertisement

Populate dynamics CRM Activity Type sender from field using custom JavaScript?

I am trying to populate the “From” look up field using custom JavaScript in Dynamics CRM.

I’m new to JavaScript and Dynamics really struggling to do this.

Below is a screenshot of my code and solution.

The "From" field apparently this is Activity party type Sender

JavaScript

I also tried the solution below it doesn’t work.

JavaScript

Please advise and help.

Advertisement

Answer

I tried and this worked for me. Make sure to pass the correct field schema name, record GUID, record Name and entity Type properly.

JavaScript
Advertisement