tag:blogger.com,1999:blog-9118937471541412696.post584369889241804501..comments2023-09-27T18:35:54.914+03:00Comments on Biz-Forward.com: CRM 2011 Custom Form ButtonCSChttp://www.blogger.com/profile/10391093134355090986noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-9118937471541412696.post-64842113099120838582011-06-14T15:58:00.924+03:002011-06-14T15:58:00.924+03:00Does CRM5 have CRMFORM.ALL?
removeChildNodes(crmF...Does CRM5 have CRMFORM.ALL?<br /><br />removeChildNodes(crmForm.all.item(fieldName + "_d"));<br />crmForm.all.item(fieldName + "_d").appendChild(li);ajnarhttps://www.blogger.com/profile/15128269550395007327noreply@blogger.comtag:blogger.com,1999:blog-9118937471541412696.post-54401061658744950102011-03-21T18:24:20.727+02:002011-03-21T18:24:20.727+02:00Sorry - I meant 'toolbar' button, not '...Sorry - I meant 'toolbar' button, not 'title' bar button :)Justinnoreply@blogger.comtag:blogger.com,1999:blog-9118937471541412696.post-85476071497689367122011-03-16T19:21:57.852+02:002011-03-16T19:21:57.852+02:00Hello Justin,
What do you mean by title bar? If yo...Hello Justin,<br />What do you mean by title bar? If you're talking about the Ribbon in CRM 2011 it cannot be altered via JavaScript, just from the ribbon xml.CSChttps://www.blogger.com/profile/10391093134355090986noreply@blogger.comtag:blogger.com,1999:blog-9118937471541412696.post-71617574709885751342011-03-16T19:06:37.836+02:002011-03-16T19:06:37.836+02:00You can override the innerHTML of any field to pro...You can override the innerHTML of any field to produce the behaviors of an action button on a CRM form. I am sure the same approach would work for the title bar button, just inherit from a different class.<br /><br />crmForm.all.item(fieldName + "_c").innerHTML = "&=60button title='button title' class='ms-crm-Button' id='unique id' style='width: auto;' onmouseover='Mscrm.ButtonUtils.hoverOn(this);' onmouseout='Mscrm.ButtonUtils.hoverOff(this);' onclick='CustomAction();' type='button'=62button text&=60/button&=62";Justinnoreply@blogger.com