Set Picklist Value based on Regarding Object when Task is Crea

Set Picklist Value based on Regarding Object when Task is Crea

Post by Y2xhe » Wed, 10 Dec 2008 00:46:28


This got me in the right direction, combined with an onLoad event to look for
not null regarding object values set to fire the onChange event. Works fine
for creating a new task off of this specific custom entity. Can't get it to
reset the picklist value if the regarding object is changed to something
else, but that's probably not something that's going to happen often in the
usual course of business.

Thanks!
 
 
 

Set Picklist Value based on Regarding Object when Task is Crea

Post by dU1hciBLaG » Wed, 10 Dec 2008 02:36:10

Hi,
Try using the same code in onChange event of the regardingobject field. It
will change the picklist value when ever regardingobject value is changed.

--
uMar Khan :: MS CRM MVP
Microsoft CRM Consultant
Email :: imumar at gmail dot com
Blog :: http://www.yqcomputer.com/
MVP :: https://mvp.support.microsoft.com/default.aspx/profile/umar.khan