Answered by:
Set Lookup Value Text in MSCRM 2011

Question
-
HI,
I have a lookup field in contact entity lookup name is new_departmentloc.
In Account entity I have a text field department(new_department), when I'm selecting the contact entity lookup value I need to populate the department text field value of account entity in the lookup value of contact entity.Instead of Account name. Please let me know how to work on this.
I have written a Jscript to get the value of lookup but when I'm trying to save the contact record lookup value is taking the default name of the Account Entity.
Thanks,
Thanks, Toushu
Friday, November 8, 2013 12:15 AM
Answers
-
Hi ,
You can look into this article. It may help you....
Thanks, MS CRM Developer, Ranjan
- Marked as answer by Rahul-22 Friday, November 8, 2013 10:17 AM
Friday, November 8, 2013 6:40 AM
All replies
-
Hi,
Please share your code for more help.
Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
Vikram !Friday, November 8, 2013 1:33 AM -
Hi ,
You can look into this article. It may help you....
Thanks, MS CRM Developer, Ranjan
- Marked as answer by Rahul-22 Friday, November 8, 2013 10:17 AM
Friday, November 8, 2013 6:40 AM -
Hi,
Please follow the links.
http://deepakexploring.wordpress.com/2011/10/20/odata-and-jscript-in-crm-2011/
http://crmscape.blogspot.in/2011/03/crm-2011-odata-json-and-crm-forms.html
https://community.dynamics.com/crm/b/crmmusings/archive/2011/12/01/odata-with-json-getting-related-values-from-a-lookup-field-in-crm-2011.aspx
Prudveen D If the answer helped you, remember to mark it as answer.
Friday, November 8, 2013 7:30 AM -
Ranjan,
Thanks a lot for your response, I have modified the Jscript as per my requirement its working fine.
Thanks a lot for all the responses from the others...
Thanks, Toushu
Friday, November 8, 2013 10:21 AM