Creating a Bookmark that Shows the Schema Name for a CRM Field

0 schema 300x225 Creating a Bookmark that Shows the Schema Name for a CRM Field

In today’s blog, we’ll show our Internet Explorer users how to create a “Favorite” (aka bookmark) that will display the schema name for a CRM field.

Step 1: Creating the “Favorite” in IE

Navigate to any page in your IE browser. (Literally, you can navigate to any page you want, because you’ll be changing the file path later in the process.) In the example below, we went to www.google.com.

Click Alt-Z to bring up your Favorites menu and select “Add to favorites…”

031317 1620 CreatingaBo1 Creating a Bookmark that Shows the Schema Name for a CRM Field

The “Add a Favorite” pop-up window is now displayed. In the “Name:” box, type Show Schema, as shown below:

031317 1620 CreatingaBo2 Creating a Bookmark that Shows the Schema Name for a CRM Field

In the “Create in:” box, select “Favorites Bar,” as shown below:

031317 1620 CreatingaBo3 Creating a Bookmark that Shows the Schema Name for a CRM Field

Click Add. You should now see “Show Schema” in your Favorites Bar, as shown.
031317 1620 CreatingaBo4 Creating a Bookmark that Shows the Schema Name for a CRM Field
– If your screen looks like the screenshot above, move on to Step 2.

– If you’re not seeing your Favorites Bar, we need to display it. Easy-peasy! Here’s how:

Right-click in the white space at the top of your browser, as shown below:

031317 1620 CreatingaBo5 Creating a Bookmark that Shows the Schema Name for a CRM Field

Select “Favorites bar” from the menu. That’s it!
031317 1620 CreatingaBo6 Creating a Bookmark that Shows the Schema Name for a CRM Field

Your Favorites bar should now be displayed, including “Show Schema.”

031317 1620 CreatingaBo7 Creating a Bookmark that Shows the Schema Name for a CRM Field

Step 2: Changing the properties of the Show Schema “Favorite”

In this step, we’ll change the functionality of the Show Schema “Favorite.” If you click Show Schema right now, it will, of course, bring you right to www.google.com (or whatever page you used in Step 1). But we want the button to show us the schema names of CRM files, right? Here’s how we do it:

Right-click Show Schema to display the pop-up menu shown below, and select “Properties.”

031317 1620 CreatingaBo8 Creating a Bookmark that Shows the Schema Name for a CRM Field

In the “Show Schema Properties” pop-up window, on the “Web Document” tab, the “URL:” field will be displaying whatever URL you were on when you created the “Favorite” – in our case, that’s https://www.google.com/?gws_rd=ssl. Erase it!

031317 1620 CreatingaBo9 Creating a Bookmark that Shows the Schema Name for a CRM Field

Copy the text below (verbatim!) and Paste it into the “URL:” box.
javascript:function getFrame() {var $ iframe = $ (‘#crmContentPanel iframe:not([style*=”visibility: hidden”])’);if ($ iframe.length > 0 && $ iframe[0].contentWindow.Xrm.Page.ui) {return $ iframe[0].contentWindow;}else {return null;}}var frame = getFrame();if (frame == null) {alert(‘Please make sure you are on an entity form and try again.’);}else {frame.Xrm.Page.ui.controls.forEach(function(a){a.setLabel(a.getName())});}

Note that this step is optional, but we recommend it simply because it’s nice to have a unique icon for this “Favorite.” With that in mind, click Change Icon…

031317 1620 CreatingaBo10 Creating a Bookmark that Shows the Schema Name for a CRM Field

In the “Change Icon” pop-up window, click on the icon of your choice and then click OK to close the window.

031317 1620 CreatingaBo11 Creating a Bookmark that Shows the Schema Name for a CRM Field

Click OK on the “Show Schema Properties” window to close it.

Your Favorites bar should now reflect the changes you just made, including the new icon. If the new icon is not displayed, simply hide the Favorites bar and then re-display it – that will refresh the properties.

031317 1620 CreatingaBo12 Creating a Bookmark that Shows the Schema Name for a CRM Field

Step 3: Seeing the Show Schema button in action

To see how it works, you will need to be logged into CRM and on a Matter record. Also, you will want to select the “Document Generation” from the “MATTER” dropdown menu, since most of the fields you’ll want to put on your documents are contained within this form. See below:

031317 1620 CreatingaBo13 Creating a Bookmark that Shows the Schema Name for a CRM Field

You will see that all of the fields displayed are showing the labels for the fields, as in the screenshot below:

031317 1620 CreatingaBo14 Creating a Bookmark that Shows the Schema Name for a CRM Field

But wait, you wanted to see the schema names (not the field labels) so that you can figure out what field to add to your documents, right? Well, here’s where the magic happens. Click Show Schema and… voila!

031317 1620 CreatingaBo15 Creating a Bookmark that Shows the Schema Name for a CRM Field

Pretty slick, no? Oh, and one thing to remember: in order to display the field labels normally again, you simply need to refresh your screen. Happy CRM’ing, friends!

Let’s block ads! (Why?)

PowerObjects- Bringing Focus to Dynamics CRM