tag:blogger.com,1999:blog-6215355853745600041.post9119059414791274089..comments2023-06-29T06:30:57.142-07:00Comments on A Devotee of Dynamics CRM: CRM 2011: How to launch a Dialog on click of custom ribbon button?Ankit Shahhttp://www.blogger.com/profile/02231940860065519189noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-6215355853745600041.post-75183993136002200832017-06-12T05:45:55.099-07:002017-06-12T05:45:55.099-07:00You need to go with Window.open here and yes it op...You need to go with Window.open here and yes it opens in new tab, nothing in my knowledge that opens in the same window. If you have resolved it with any work around then please feel free to share your solution here in the comments area.Ankit Shahhttps://www.blogger.com/profile/02231940860065519189noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-75495932228211789902017-06-11T23:21:52.554-07:002017-06-11T23:21:52.554-07:00Hi Ankit
I had similar requirement, button click o...Hi Ankit<br />I had similar requirement, button click open a dialog in that same window but<br /> window.showModalDialog(url); it is not working. am using the window.open(url)it is working but opens a new tab. I need to open on a sam tab .<br />Please can u help me <br /><br />Regards<br />balu<br /><br />baluhttps://www.blogger.com/profile/09725514376309344559noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-15404246467734045882015-06-01T00:50:19.423-07:002015-06-01T00:50:19.423-07:00Hello ankit, thanks for your post.
it really helpe...Hello ankit, thanks for your post.<br />it really helped me. this way still runs in CRM 2013.<br /><br />See you!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-11198175405488103382014-07-30T07:28:20.281-07:002014-07-30T07:28:20.281-07:00This Is really good artical.This Is really good artical.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-61177571910443227972014-05-20T07:14:44.608-07:002014-05-20T07:14:44.608-07:00Hello Ankit,
your post is 2 years old and still h...Hello Ankit,<br /><br />your post is 2 years old and still helping us to fulfill the requirements of the customers :). <br /><br />Thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-82403783684051152002014-05-09T04:46:28.603-07:002014-05-09T04:46:28.603-07:00Hi Ankit,
what about if i want to develop a custo...Hi Ankit, <br />what about if i want to develop a custom frame (html) to<br /> just add several buttons on it that triggers a Dialog.<br /> so how to develop this in the page instead of the ribon?<br /> Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-17602451926269256522013-03-19T22:34:43.025-07:002013-03-19T22:34:43.025-07:00Hello Rick,
Yes you can do that as well. Just rep...Hello Rick,<br /><br />Yes you can do that as well. Just replace the above LaunchModalDialog JavaScript function with the function i.e. specified at below link<br />http://ankit.inkeysolutions.com/2013/03/dynamics-crm-2011-trigger-workflow-from.html<br /><br />Ankit Shahhttps://www.blogger.com/profile/02231940860065519189noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-16724878148237924012013-03-19T10:38:58.952-07:002013-03-19T10:38:58.952-07:00Ankit,
I'm not a programmer, but have used th...Ankit,<br /><br />I'm not a programmer, but have used this method successfully with the ribbon editor. Thank you!<br /><br />Can something similar be used to launch a workflow instead of a dialog?<br /><br />Thanks again,<br />RickAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-46563980255046024292012-03-26T23:07:16.799-07:002012-03-26T23:07:16.799-07:00Hi,
I never tried to call JavaScript method or so...Hi,<br /><br />I never tried to call JavaScript method or source code within CRM Dialog. However, from quick googling, I found below two URLs. <br /><br />1) http://www.dynamicscrmtrickbag.com/2011/04/11/dynamic-queries-in-dialog-processes/<br /><br />In this link at comments area, bottom of the blog, comment #8, it is mentioned that this is not possible.<br /><br />2)http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/85433d3a-520f-4d8c-aa1e-2e2f8622da95#17c3f3e9-7221-4d97-be29-6eb21315bede<br /><br />In this link, Khan has implemented the same requirement by injecting HTML code with JavaScript through HTTP Module registered in IIS.Ankit Shahhttps://www.blogger.com/profile/02231940860065519189noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-76159162731579965772012-03-26T02:38:23.118-07:002012-03-26T02:38:23.118-07:00Hi Ankit,
Is it possible to add a javascript to ...Hi Ankit,<br /><br />Is it possible to add a javascript to the next button of dialog window. My problem is,I am calling CRM dialog in an iframe.On click of next button in dialog i need to do some operation in the pageAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-73947695767156251162012-02-10T03:58:06.623-08:002012-02-10T03:58:06.623-08:00Hi Richard,
Here is your answer...
http://ankit....Hi Richard,<br /><br />Here is your answer...<br /><br />http://ankit.inkeysolutions.com/2012/02/crm-2011-launch-dialog-on-click-of.htmlAnkit Shahhttps://www.blogger.com/profile/02231940860065519189noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-30143291719320293452012-02-01T21:15:34.526-08:002012-02-01T21:15:34.526-08:00Hi Richard,
Thank you for your appreciation.
I d...Hi Richard,<br /><br />Thank you for your appreciation.<br /><br />I did not try it on grid ribbon although could you please share an error or describe the issue you are facing while doing it from the gird ribbon?<br /><br />I will definitely give it a try and share my experience.Ankit Shahhttps://www.blogger.com/profile/02231940860065519189noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-39042468829832723712012-02-01T06:59:28.372-08:002012-02-01T06:59:28.372-08:00Hi Ankit,
Great article! Thanks for taking the ti...Hi Ankit,<br /><br />Great article! Thanks for taking the time to put that up. I followed your steps and it worked fine from the form ribbon, but I tried to get it to run from the grid ("homepage") ribbon and it didn't run. Do you know if there's anything different about the way you call it from the grid?Richard Knudsonhttp://www.dynamicscrmtrickbag.comnoreply@blogger.com