tag:blogger.com,1999:blog-5472436831307966815.post3748283991902030919..comments2024-03-20T00:30:07.883-06:00Comments on Daniel Cai's Blog: Microsoft Dynamics CRM 2011 JavaScript Development Cheat SheetDaniel Caihttp://www.blogger.com/profile/05461949321689249420noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-5472436831307966815.post-14876070988152542122013-12-05T15:57:45.754-07:002013-12-05T15:57:45.754-07:00Yes, very nice! Thanks. I use it all the time. T...Yes, very nice! Thanks. I use it all the time. The links are key.Mark Chaffeehttps://www.blogger.com/profile/18113056339572726500noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-14642271207090615572013-11-24T20:50:50.574-07:002013-11-24T20:50:50.574-07:00Thanks Craig... Really appreciate your effort.Thanks Craig... Really appreciate your effort.Renjith Phttps://www.blogger.com/profile/05637493134397705488noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-45705150126178886212012-09-17T02:35:09.283-06:002012-09-17T02:35:09.283-06:00beautiful. Excellent cheat sheet. That is exactly ...beautiful. Excellent cheat sheet. That is exactly why you have had 50000 page views with useful blog posts like this one<br /><br />keep up the good work.<br /><br />I also not you are a fellow Java certified person, good work sir. There aren't many people in the CRM world who are Java certified.<br /><br /><br /><br /><br />-----------------------------<br /><a href="http://www.cheapnba59.com" rel="nofollow">cheap basketball shoes</a>Squallhttps://www.blogger.com/profile/11406976422255368851noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-62644815572268683522012-05-11T09:39:02.751-06:002012-05-11T09:39:02.751-06:00You would typically interact with DELETE event in ...You would typically interact with DELETE event in CRM plugin. But if you would definitely need to hook up to DELETE event in the form, you may want to look into ribbon customization.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-58814273034744552832012-05-11T09:36:51.295-06:002012-05-11T09:36:51.295-06:00Do you know if the CRM record DELETE fires a javas...Do you know if the CRM record DELETE fires a javascript event?Unknownhttps://www.blogger.com/profile/04226737653677642947noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-51467793064798720202012-01-12T07:35:55.992-07:002012-01-12T07:35:55.992-07:00Really amazing file...
Thanks a lot to share this ...Really amazing file...<br />Thanks a lot to share this PDF file.Harish Kumar Golahttps://www.blogger.com/profile/11800693390095889126noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-36018935752008086452011-11-17T08:02:37.789-07:002011-11-17T08:02:37.789-07:00Hi Daniel,
Unfortunately, it didn't work that...Hi Daniel,<br /><br />Unfortunately, it didn't work that way. I had to add some lines in the first js file, that create the "script" tags on the fly, and reference the second js file inside those tags. Found this trick in a CRM4 programming book, not so elegant ...<br />Thanks.Mihai Osvathttps://www.blogger.com/profile/12246062424743963761noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-18528721123715015592011-11-16T08:08:21.674-07:002011-11-16T08:08:21.674-07:00Hi Mihai, the problem that you have described is p...Hi Mihai, the problem that you have described is probably related to scoping issue. Try the following syntax to define your second function to see if it helps. <br /><br />window.createRecord = function (arg1, arg2) {<br />};<br /><br />Also, you need to make sure that the second file has no syntax error.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-12364011121368485882011-11-16T07:54:49.511-07:002011-11-16T07:54:49.511-07:00Hi Daniel,
I have a problem with a js function, c...Hi Daniel,<br /><br />I have a problem with a js function, called from a custom ribbon button. This first function ("on_click") should call another function ("createRecord"), which is contained in a js webresource(uploaded in the solution). Although this resource is added to the form, when I click the button and the first function is fired, the "createRecord" from the js webresource is not found. I noticed that the first function is loaded in a so called scriptblock, and not displayed as it should in the js debugger (of IE9). I see the second js file loaded, with the proper name. What could be the problem ?Mihai Osvathttps://www.blogger.com/profile/12246062424743963761noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-43025792253714638442011-10-20T15:01:54.955-06:002011-10-20T15:01:54.955-06:00Thanks for sharing - very useful :)Thanks for sharing - very useful :)Simon Jacksonhttps://www.blogger.com/profile/16796943354486385443noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-71838174143321777282011-06-22T11:35:53.274-06:002011-06-22T11:35:53.274-06:00I just uploaded the same file to my Google site, h...I just uploaded the same file to my Google site, hope this helps. <br /><br />Cheers,<br />DanielDaniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-39300492252002273132011-06-22T11:12:25.658-06:002011-06-22T11:12:25.658-06:00Oh no ... I can't find the link to the PDF! C...Oh no ... I can't find the link to the PDF! Can you please help?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-57868733435795675442011-06-07T01:51:45.360-06:002011-06-07T01:51:45.360-06:00Hi Daniel,I got chance to read through some of you...Hi Daniel,I got chance to read through some of your blogs today. I have to say, I learned lots from them. Great job!Jack Haonoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-24168462168467928092011-06-06T09:27:10.859-06:002011-06-06T09:27:10.859-06:00Thanks Vishal, Siva, Matthew, Pradeep...
I have j...Thanks Vishal, Siva, Matthew, Pradeep...<br /><br />I have just uploaded a new version with some fixes of the problems caused by copy/paste in previous version. I found out copy/paste is my biggest enemy when it comes to the quality of my work, however, I don't seem to be able to find any other better way to be productive. ;-)Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-36866865935907536012011-06-05T23:45:29.320-06:002011-06-05T23:45:29.320-06:00Good one Daniel! Very helpful!Good one Daniel! Very helpful!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-85650103198702537462011-05-09T14:10:41.069-06:002011-05-09T14:10:41.069-06:00Excellent cheat sheet Daniel! I highly recommend u...Excellent cheat sheet Daniel! I highly recommend using this while developing CRM 2011 JavaScript.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-26252534319188768962011-05-04T20:56:11.592-06:002011-05-04T20:56:11.592-06:00one stop reference for CRM 2011 Javascript Referen...one stop reference for CRM 2011 Javascript Reference<br />Good Work DanielSiva Kumar Phttp://dynamicscrm2011.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-70126051346654454142011-05-04T08:23:07.890-06:002011-05-04T08:23:07.890-06:00that was great, really helpful resource.
thanks f...that was great, really helpful resource.<br /><br />thanks for sharing.vishal swamihttps://www.blogger.com/profile/12498695901164843294noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-53125170921690998562011-04-15T00:37:40.667-06:002011-04-15T00:37:40.667-06:00This is fantastic! I'm so happy that you'v...This is fantastic! I'm so happy that you've taken to time to put this together so that I don't have to.<br /><br /><a href="http://www.benivolent.com/logo-design-company.html" rel="nofollow">Logo design company</a>.net application developmenthttp://www.benivolent.com/dot-net-development-company.htmlnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-41466058534045050492011-04-11T22:19:27.753-06:002011-04-11T22:19:27.753-06:00Thanks crmbusiness! I just realized that I have mi...Thanks crmbusiness! I just realized that I have misplaced the Applicable cells for getPrecision and getRequiredLevel methods of Xrm.Page.data.entity attribute. I just quickly updated the pdf file.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-24449114529329022822011-04-11T15:59:17.400-06:002011-04-11T15:59:17.400-06:00beautiful. Excellent cheat sheet. That is exactl...beautiful. Excellent cheat sheet. That is exactly why you have had 50000 page views with useful blog posts like this one<br /><br />keep up the good work.<br /><br />I also not you are a fellow Java certified person, good work sir. There aren't many people in the CRM world who are Java certified.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-44678704879007397842011-04-11T09:03:38.696-06:002011-04-11T09:03:38.696-06:00@Craig, you are very welcome! Thanks for letting m...@Craig, you are very welcome! Thanks for letting me know that you like it.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-83461980080391478562011-04-11T03:20:24.291-06:002011-04-11T03:20:24.291-06:00This is fantastic! I'm so happy that you'v...This is fantastic! I'm so happy that you've taken to time to put this together so that I don't have to :)<br /><br />Many thanks, and yes - this will be printed and mounted to my workspace.<br /><br />Cheers, CraigAnonymoushttps://www.blogger.com/profile/15544288434956051047noreply@blogger.com