CRM 2011-Change lookup field to display correct field.
-
18 Mayıs 2012 Cuma 22:39
I have a field called Hardware Name in the case entity. The Hardware name is being pulled from the Hardware Entity based on the chosen customer. For example, if you choose Customer 1, you can choose one of the pieces of Hardware associated with Customer 1 to put in the Hardware Name field. I'm having a problem with what is appearing in the Hardware Name field. If I create a new case, choose a customer, and then pick a piece of Hardware to populate the Hardware name field, it works fine. Meaning it shows the actual name of the Hardware chosen. However, when I save the case, another Hardware field value shows up in the Hardware name field. This field is Product.
I did not set up this lookup value and I'm at a loss as to how to make it so that when I choose a piece of Hardware, the Hardware name is what is displayed in the case after saving.
Any ideas?
Tüm Yanıtlar
-
19 Mayıs 2012 Cumartesi 03:22
The lookups always display the primary field value of the entity that this lookup is associated with. Check the primary field of the hardware entity.
HTH
Sam
Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com
If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"
- Yanıt Olarak Öneren Sam - InogicMVP 19 Mayıs 2012 Cumartesi 03:22
- Yanıt Olarak İşaretleyen akd123 13 Haziran 2012 Çarşamba 22:23
-
13 Haziran 2012 Çarşamba 22:23You were correct. I did use this javascript to change the value in the end. http://blogs.msdn.com/b/paf/archive/2009/04/22/how-to-display-related-entity-fields-in-a-crm-lookup-attribute-instead-of-the-primary-entity-field.aspx