CRM 2011 how to update a related entity field using Javascript

Posted on 2013-08-31
Medium Priority
Last Modified: 2013-10-18

I need to alter a related field using Javscript.
My specific requirement is to change a field value in an incident when an activity is saved therefore need the javscript for the onsave event of the activity.

It does seem possible to use workflows as the incident is able to be closed before the activity workflow triggers causing it to fail.

Question by:nmxsupport
LVL 20

Accepted Solution

Rikin Shah earned 1500 total points
ID: 39457440

Use the following link's example to retrieve the record from CRM-

Update the field you want to update once it is retrieved and update the record.

Author Closing Comment

ID: 39583121
Sorry did not have time to test.

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
In an Exchange Crossforest migration, the distribution groups can be a very complex operation that would cause loss of time, lots of issues and continued headaches if not solved in a timely manner. I had to do a similar project so I created a sc…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question