I’ve recently been looking at easy and reusable ways to implement and access CRM customizations without the need to go through the repetitive process of navigating through multiple pages and controls. To my surprise, I came across the use of JavaScript bookmarks or bookmarklets.

By manipulating bookmarks through JavaScript, you can perform simple tasks like opening specific records or views, revising form field data without the intervention of JavaScript and plugins, and access to specific functionality such as the “Advanced Find”. Furthermore, this technique can be used across most of the multiple browsers such as Google Chrome, Microsoft Internet Explorer, and Mozilla FireFox.

GOD MODE properties

The use of bookmarklets is quite a simple process, which can be summed up into the 3 simple steps:

  1. Like any normal bookmark creation, add the CRM website to your “Favorites”.
  2. In the “Properties” section of the bookmark, insert the desired JavaScript code as required
  3. Profit ($$$)

Some examples of JavaScript include

Retrieving a record URL via ID prompt (General admin):


Ultimate GOD MODE (Super admin):

javascript: (function () { var form = $(“iframe”).filter(function () { return $(this).css(“visibility”) == “visible” })[0].contentWindow; form.Xrm.Page.ui.tabs.forEach(function (a) { try { a.setVisible(true); a.setDisplayState(“expanded”); a.setLabel(a.getName()); a.sections.forEach(function (b) { try { b.setVisible(true); b.setLabel(a.getName()); } catch (e) { } }) } catch (e) { } }); form.Xrm.Page.data.entity.attributes.forEach(function (d) { try { d.setRequiredLevel(“none”); } catch (e) { } }); form.Xrm.Page.ui.controls.forEach(function (c) { try { c.setVisible(true); c.setLabel(c.getName()); c.setDisabled(false); c.clearNotification(); } catch (e) { } }); })();

If you want to learn about what GOD MODE offers, click here.

A full list of bookmarklets that can be used for CRM can also be found here.

Hopefully this proves to aid you in reducing the amount of time when you are assigned a task that could be maybe involve a few repetitive tasks or testing scenarios.