CRM 2011: Dialogs Without a Record + Some Win32API

If you ever have the need/desire to have a dialog run within CRM 2011 without having to be under the context of a record, you can do so by creating a button, putting it in a ribbon on the main page of a given (or all) entity, and having it fire the following JavaScript (leave out the < >’s):

http://servername/crm/cs/dialog/rundialog.aspx?DialogId=<GUIDofDialog>&EntityName=<EntityName>&ObjectId=00000000-0000-0000-0000-000000000000

Win32API Tip

I’d also like to share a little tidbit I’ve picked up from my work with the Win32API.  If you ever need a quick guide to hex codes for capturing/sending commands:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx

Going along with those, here are some controls (and functions, macros, etc.) that can be used in conjunction with those hex commands:

http://msdn.microsoft.com/en-us/library/windows/desktop/bb773169(v=vs.85).aspx

By | 2017-10-17T19:11:08+00:00 May 20th, 2014|Sales & Service (CRM), Tech Tips|0 Comments
Alternative Text

Contributor: AKA Enterprise Solutions

AKA is comprised of professionals with deep experience in business, technology, and their respective industries. Our team members regularly share their knowledge and expertise through blog articles. We hope you find them helpful, and we welcome your comments.

Leave A Comment