![]() |
#9 |
Moderator
|
Почитайте SDK как работать с lookup. Вот выдержка:
Код: var lookupItem = new Array(); // This gets the lookup for the attribute primarycontactid on the Account form. lookupItem = crmForm.all.primarycontactid.DataValue; // If there is data in the field, show it in a series of alerts. if (lookupItem[0] != null) { // The text value of the lookup. alert(lookupItem[0].name); // The GUID of the lookup. alert(lookupItem[0].id); // The entity type name. alert(lookupItem[0].typename); }
__________________
http://fixrm.wordpress.com, снятие/наведение порчи. Быстро, дорого, гарантия. ![]() ![]() Последний раз редактировалось Артем Enot Грунин; 08.07.2010 в 16:09. |
|
|
|