tag:blogger.com,1999:blog-7208889.post6008964534019180994..comments2009-07-03T14:43:55.140+01:00Comments on Microsoft Dynamics CRM - Jim Wang's technical blog [MVP]: CRM 4.0 Get attribute value from entity's GUID usi...Jim Wanghttp://www.blogger.com/profile/15963866631960791206jianwang@gmail.comBlogger11125tag:blogger.com,1999:blog-7208889.post-4477325316083306092009-07-03T14:43:55.140+01:002009-07-03T14:43:55.140+01:00Jim, great post! I'm using it for a custom asp.net...Jim, great post!<br><br> I'm using it for a custom asp.net page, but not very succesfull! I get an "object expected" on generateauthenticationheader() function. Is this because I'm not running in a CRM context? <br><br>The code works fine in an OnLoad event of the form within CRM, but not in the custom asp.net page in an IFRAME in that CRM-form. <br><br>Any ideas?<br><br><br />Cheers!Bert-Janhttp://www.blogger.com/profile/06043919977283081628noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-86319824848974339362009-05-12T22:03:00.000+01:002009-05-12T22:03:00.000+01:00酒店經紀PRETTY GIRL 台北酒店經紀人 ,禮服店 酒店兼差PRETTY GIRL酒店公關 酒...酒店經紀PRETTY GIRL <A HREF="http://www.taipeilady.com/" REL="nofollow" TITLE="台北酒店經紀人">台北酒店經紀人</A> ,<A HREF="http://tw.myblog.yahoo.com/jw!qZ9n..6QEhhc0LkItOBm/" REL="nofollow" TITLE="禮服店">禮服店</A> 酒店兼差PRETTY GIRL<A HREF="http://www.mashow.org/" REL="nofollow" TITLE="酒店公關">酒店公關</A> 酒店小姐 彩色爆米花<A HREF="http://blog.xuite.net/jkl338801/blog/" REL="nofollow" TITLE="酒店兼職">酒店兼職</A>,酒店工作 彩色爆米花<A HREF="http://tw.myblog.yahoo.com/jw!BIBoU5SeBRs21nb_ajFpncbTqXds" REL="nofollow" TITLE="酒店經紀">酒店經紀</A>, <A HREF="http://mypaper.pchome.com.tw/news/thomsan/3/1310065116/20080905040949/" REL="nofollow" TITLE="酒店上班">酒店上班</A>,酒店工作 PRETTY GIRL<A HREF="http://tw.myblog.yahoo.com/jw!rybqykeeER6TH3AKz1HQ5grm/" REL="nofollow" TITLE="酒店喝酒">酒店喝酒</A>酒店上班 彩色爆米花<A HREF="http://mypaper.pchome.com.tw/news/jkl338801/" REL="nofollow" TITLE="台北酒店">台北酒店</A>酒店小姐 PRETTY GIRL<A HREF="http://www.mashow.org/" REL="nofollow" TITLE="酒店上班">酒店上班</A>酒店打工PRETTY GIRL<A HREF="http://www.tpangel.com/" REL="nofollow" TITLE="酒店打工">酒店打工</A>酒店經紀 彩色爆米花.http://www.blogger.com/profile/15855910490442482216noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-76646055185794675192009-02-17T20:08:00.000Z2009-02-17T20:08:00.000ZGregory: I had the same question as you and here'...Gregory: I had the same question as you and here's the answer I got on the CRM forums:<BR/><BR/>Replace the line that reads the content of a single node to a line that reads the value of the name attribute of the particular node, as follows:<BR/><BR/>var result = xmlHttpRequest.responseXML.selectSingleNode("//q1:" + sAttributeName); <BR/><BR/>to:<BR/><BR/>var result = xmlHttpRequest.responseXML.selectSingleNode("//q1:" + sAttributeName).getAttribute("name"); <BR/><BR/>This is due to the fact that the selected text is returned as the name attribute of the XML element, and not as its inner text.Jayydenoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-14026951952417472262009-01-28T14:27:00.000Z2009-01-28T14:27:00.000ZGreat script, just what I needed.One question thou...Great script, just what I needed.<BR/><BR/>One question though: if the field I'm getting value from is a picklist it returns the selected items value (ie 2 if the second option is selected) - how can I get the text?Gregorynoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-31353270914061852002009-01-23T06:15:00.000Z2009-01-23T06:15:00.000ZJim, this is actually what I need..However, I am n...Jim, this is actually what I need..<BR/><BR/>However, I am not really a programmer so I dont know what I need to change on the script to make it work.<BR/><BR/>What I'm trying to accomplish is to auto fill the address when a user select an account thru a lookup field.<BR/><BR/>I hope you can help me.<BR/><BR/>Thank youpeterhttp://www.blogger.com/profile/17286958993104882532noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-50248712962060146232009-01-11T17:59:00.000Z2009-01-11T17:59:00.000ZThanks for your comments, it has been modified to ...Thanks for your comments, it has been modified to support multi-tenent deployment.;-)<BR/><BR/>Special thanks for MVP Michael Hoehne and his great tool!<BR/>http://www.stunnware.com/crm2/topic.aspx?id=JSWebService2Jim Wanghttp://www.blogger.com/profile/15963866631960791206noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-27023261684524779182009-01-05T13:09:00.000Z2009-01-05T13:09:00.000ZJim,Can you pls tell me how to multiselect in a lo...Jim,<BR/><BR/>Can you pls tell me how to multiselect in a lookup?<BR/>I tried visiting the below link but its giving me an error.<BR/>http://crm4.0/crm/_controls/lookup/lookupmulti.aspx?objecttypes=2.<BR/><BR/>Pls do let me know.<BR/><BR/>Thanx<BR/>PrincePrincehttp://www.blogger.com/profile/00868679226779051517noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-11093689876738000652008-12-30T12:05:00.000Z2008-12-30T12:05:00.000ZExcellent bit of code. However I seem to have a p...Excellent bit of code. However I seem to have a problem with it when running on a system with multiple organisations. I can run it OK on the default org, but if run on a different org it does not find the GUID. If I pass it a GUID from the default org it will return a value!!!! even though I am running the code from a different org. Do you have any ideas on this.Andy Milnernoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-4134041695484203052008-12-26T22:56:00.000Z2008-12-26T22:56:00.000ZDear JIM,I am a bit new to CRM customization. I ha...Dear JIM,<BR/><BR/>I am a bit new to CRM customization. I have an issue which is the cause to a lot of hiccups in my customisation. In the account section when I select the "parent account" lookup it always selects the "Account name", instead my client wants account number to be appearing in the lookup. Is it possible to change the attribute? Because it always pulls the primary attribute. I guess I have to write a onload script to change the attribute. Can you help me with it?princehttp://www.blogger.com/profile/00868679226779051517noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-79648823909385762222008-12-17T13:56:00.000Z2008-12-17T13:56:00.000ZThanks for sharing this- it was perfect timing for...Thanks for sharing this- it was perfect timing for me.Scott Sewellhttp://blog.customereffective.com/blog/noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-30853332844047794402008-12-12T17:27:00.000Z2008-12-12T17:27:00.000ZVery good Jim. I too get questions like this all ...Very good Jim. I too get questions like this all the time and you have created an excellent solution.<BR/><BR/>MitchMitch Milamhttp://blogs.infinite-x.netnoreply@blogger.com