Tip #275: Uninstalling the MDM Connector

If you implement Microsoft Dynamics Marketing, Microsoft does a pretty good job of documenting the process of installing the MDM connector. However, should you ever need to remove the connector, the instructions are not as clear.

At a high level, the process of uninstalling the connector is:

  • Disable the connector in MDM
  • Remove the Solution in CRM
  • Remove the Service Bus components in Azure

Be aware that after you remove the solution in CRM, there will be some additional artifacts that you will want to be sure you remove. This includes the service endpoint and 19 SDK Message Processing steps that you will want to delete either through the Customization menu or via the Plugin Registration tool. This will prevent system jobs from firing messages to Azure that won’t be received.

img 4

 

 

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip #274: Lookup fields in CRM for tablets

I recently wrote the book The CRM Mobile Survival Guide. In Chapter 5 I discuss how to configure Dynamics CRM to give users a good user experience when using CRM via the CRM for Tablets app.

One thing I found while researching the book is that lookup field behavior in the tablet app is not consistent with other CRM user interfaces, like browser. if you configure field properties to filter a lookup field in form customization, the field will be filtered when using CRM in browser, but the filter will not apply when using CRM via tablet app.

To filter lookup fields in the tablet app, use a JavaScript Xrm.Page.getControl.addPreSearch function.

For example, say I have a custom Account lookup field called “Vendor” (new_vendorid), and I want to filter the lookup to Accounts where relationship type contains “Vendor.”

First, do an advanced find for accounts with the desired filter. The columns displayed in the advanced find don’t matter.

IMG1

Click the “Download Fetch XML” button to download the fetch query. Copy the contents of the Fetch XML between the <filter> tags.

IMG2

Paste the copied filter to the XML editor of your choice, and replace all double quotes with single quotes.

IMG3

Then add the filter to an addPreSearch function on load. This will override the filter of the lookup field with your new filter.

Xrm.Page.getControl(‘new_vendorid’).addPreSearch(function () {

Xrm.Page.getControl(‘new_vendorid’).addCustomFilter(“<filter><conditionattribute=’customertypecodename’operator=’like’value=’%Vendor%’ /></filter>”);

});

Now when you click on the lookup field in the tablet app, the results will be filtered based on the custom filter in your PreSearch function.

Bonus double dip

Since writing the Mobile book, I have discovered another inconsistency with lookup fields on the tablet app–they only search against the primary field. If you have other fields defined as find fields, from browser you can type in the field find the record using another search attribute. From the tablet app, the lookup field will only search the primary (name) field of the lookup entity.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip #272: How to shoot yourself in a foot with the Edit button

Our next tip for CRM 2015 comes from Jim “Sourdough Master” Steger and continues nice tradition of warnings against premature actions in Dynamics CRM.

When creating a Rollup or Calculated Field, be sure to have all of the information for the field out to your satisfaction BEFORE you click the Edit button to configure the rollup or calculated field. Once you click Edit, Dynamics CRM will auto-save the form, and will lock your schema name, data type and field type and cannot be changed.

Tipp Jarr’s Double Dipp

Doh!

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip #271: Edit FetchXML In Style

Have you ever been frustrated trying to work with FetchXML queries? Sure, you can create an advanced find and export the query, but working with Fetch can sometimes be tedious if you want to edit the query.

Back in the CRM 3 and 4 days, there was a great FetchXML editor from Stunnware. However, that tool has not been updated for years.

CRM wunderkind Paul Way has recently released a beta version of his FetchXML editor, Fetch Tester 3000. This tool will remove many of the headaches of working with Fetch. It includes Intellisence-like auto complete (including 1:N relationships), schema validation, and the ability to test the results in a tabular format that supports Export to Excel.

This is a great start, and definitely something you should check out if you do FetchXML surgery.

Read more at http://paul-way.com/

Auto-complete of CRM attributes

VN:F [1.9.22_1171]
Rating: 4.3/5 (4 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip #270: Close Appointments from Outlook

We recently posted a tip about how non completed tasks are deleted from CRM if the owner deletes the task in Outlook. The same applies to non “closed” appointments. The problem is, for Outlook users, there is no “close appointment” button in Outlook. The user must open the Appointment in CRM to close the appointment (and therefore, many appointments never get closed).

One recipe for closing tasks, suggested by Gustaf Westerlund, the Swedish Chef of CRM, is to create a workflow that runs on update of the description field and closes the appointment when the description contains a unique phrase like “CLOSE ME” That way, users can close appointments directly from Outlook by simply writing “CLOSE ME” at the end of the description field.

Got any tips? Want to be as awesome as Gustaf? Send them to jar@crmtipoftheday.com.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip #269: Server Sync and View in CRM

Users have reported that after moving to Server Sync, CRM for Outlook no longer enables the View in CRM and Convert buttons for tracked activities.

track

This is a known issue. The good news is Microsoft has recently published the KB article for Update Rollup 2 for CRM SP1, and this issue is slated to be resolved with the update.

“When using Server Side sync and setting the option to track all email within personal options, received emails do not change the Track button, this causes the View in CRM buttons to not get enabled within the command bar.”

Thanks to Adam “Sherlock” Vero for finding this tip.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip # 268: Beware of the implications of “non searchable” fields

One of my favorite ways to improve usability of Dynamics CRM Advanced Find is to set the fields that are not being used to be “non searchable.” You can do this by either selecting the fields in customization and clicking “edit” or by using the excellent field property editor in the XRM Toolbox (thanks again Tanguy).

But before you do this, it is important to understand the wide-reaching effects of setting a field to be non searchable. It is not just about views and Advanced Find. If you make a field non searchable, you may:

  • Prevent users from selecting the field for goal metrics.
  • Prevent users from selecting the field from the chart designer
  • Preclude the use of the field for workflows.

NOTE–thanks to Adam Vero for pointing out that we were wrong on some of the above list. That’s good news if you want to hide a field but still use it as a background field for workflow or charting purposes. However, it underscores the inconsistency of the unsearchable setting–don’t assume that just because a field is “non searchable” that it is not available to users. Users can still add the field as a column to a view, they just can’t select it as part of the filter. As Adam mentioned in his comment, there are several suggestions on Microsoft Connect to make this feature work more consistently.

So go ahead, make the field non-searchable. Just be really really REALLY sure that you won’t ever need that field for anything anywhere.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip #267: If form load is slow, take this pill

Gayan “Not Daddy” Perera is a man of few words when it comes to squeezing the last bit of performance out of on-premise installations. Succulent and straight to the point:

If you’re running CRM 2013 on-premise using IIS 8, make sure to go into the IIS Manager > Configuration Editor then select system.web\caching\outputCaching, set omitVaryStar to True and click Apply.
IIS 8 performance settings
This will ensure that the CRM web resources are cached correctly. When this setting is set to False you’ll notice slow form loads.

VN:F [1.9.22_1171]
Rating: 5.0/5 (4 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+

Tip #266: Finding CRM for Tablets log files in iTunes 12

As we mentioned way back in tip #5, if you use CRM for tablets on an iPad, if you have a problem and need to capture an app trace log, you must connect your iPad to a computer running iTunes to view the log files. Apple has recently updated iTunes to version 12, and with that change, many users have reported that it is difficult to find the file sharing area to retrieve the files. The good news is, it is still there, just less obvious.

 

Screenshot 2014-11-13 09.42.19

When you connect your device to your computer and click the small icon on the left to see your device properties, when you go to the Apps section, this is all you will see. But that’s not all there is.

While it is not obvious because there is no scroll bar (thanks Apple), if you scroll down, you will see the file sharing area. You can click on “Dynamics CRM” on the left and download your flog files from the pane on the right.

Screenshot 2014-11-13 10.16.28

 

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Tweet about this on TwitterShare on FacebookShare on Google+