Archive for 2010
We have a client who uses workflows to guide their sales and marketing process very heavily and relies on certain emails being automatically sent as notifications from their CRM instance.
When we first set-up their solution we used the Outlook plug-in to send emails but as the minimum polling time for emails using the plug-in is 15 minutes this wasn’t going to work either. So, we set about using the Email Router. It was installed, setup and configured properly but for some reason there was this random delay in sending emails. Sometimes an email would be sent within a minute or 2 and other times it would take over 10 minutes. Sometimes a single email would be delivered and at other times 4 or 5 would come through at the same time?!!
We found out today what the problem was.
The issue lies firmly in the XML configuration file for the email router. The polling time for outgoing mail was set within the Microsoft.CRM.EmailAgent.xml was set to 1000 seconds. This polling was obviously based on the system time. So therefore, if the CRM Email Router polled the CRM at 10:00am and someone sent an email at 10:01 it not be delivered until 10:16ish, therefore the user would be aware of the delay. On the other hand if the user sent the email at 10:15, they would think that the emails were sending immediately “as they should be”. The solution was to change the polling time to 60 seconds (we didn’t want to push it!) and it worked a treat.
To make the change follow these steps:
- Go to your exchange server (the server where the email router is installed)
- Navigate to C:\Program Files\Microsoft CRM Email\Service
- Copy the Microsoft.CRM.EmailAgent.xml file to a safe location as a backup.
- Edit the Microsoft.CRM.EmailAgent.xml within Notepad (I prefer PSPad)
- Find the SchedulingPeriod element
- Change the value to 60 (it should be 1000 currently)
- Save the file.
- Open up the CRM Email Router and publish the changes
- Restart the Microsoft CRM Email Router service
- Your done!
Sorry its been a while…..
I have had this REALLY annoying issue on my desk machine for a while. Anytime I accessed our internal CRM system, even though I had the System Administrator security role, I could see everything except for the Customizations navigation option. This was very frustrating as I would have to VPN into our CRM server to do any work.
However, after a quick search I found the answer today. It relates to the Site Map and having Outlook open when using CRM via the Web interface.
Apparently, if you have the Customizations navigation option configured to web only, when you run CRM using the outlook interface and the try using the web interface it wont display!!! Weird
Anyway, easy to fix…..
- First I would recommend that you delete your browsing history, stored passwords, cookies etc as this will clear any stored logon information that may be muddying the waters.
- Export your Site Map from your CRM instance. I know this goes without saying but ALWAYS store a backup of your Site Map in case everything goes pear-shaped!
- Find the following entry…
- Change Client=”Web” with Client=”All”
- Save the changes to the Site Map and import into CRM.
As much as I like the look and feel of CRM when you are developing a true xRM solution for a client, as we all know, less can be more.
The first resized the window, OnLoad, to the size I wanted for my form:
This gave me the following OnLoad:
As you can see though, most of the screen is taken up with the Left Navigation are, which for this form I didn't need. So, i hid it using the following code:
document.all.crmNavBar.parentElement.style.display = "none";
document.all.tdAreas.colSpan = 2;
Which game me the following results….
Very pleased to say I have just booked to go to Convergence 2010 Europe.
Got to be honest, never been before but very much looking forward to meeting different people within the Dynamics Community, exchanging ideas etc.
I have been searching for good Dynamics CRM events or even CRM events to keep my knowledge up to date without much joy at the moment. Please feel free to get in touch if you have any recommendations by email (firstname.lastname@example.org) or twitter (@xrmconsultant)
Hope to see you there,
A customer contacted us today as they were getting a large number of Sync Issues in their outlook Sync Issues folder that relate to CRM. Puzzled and baffled we were…
After a bit of searching we found that this is a known issue that had been fixed as part of recent (10) update roll-ups.
The issue is caused when: (From Microsoft KB Article)
- You share a calendar or a contacts folder in Microsoft Office Outlook with another user.
- You and the user who you shared the calendar or the contact folder with are Microsoft Dynamics CRM 4.0 users.
- Both of you have the CRM Outlook client online or offline.
- The shared calendar or the shared contacts folder contains items that are tracked in Microsoft Dynamics CRM.
This item was not completely updated during the last server synchronization. Click here to review other versions.A
Additionally, the items may become untracked if the following conditions are true:
- The person who you shared the calendar or the contacts folder with does not track items in Outlook to Microsoft Dynamics CRM.
- The user has Write privileges to the shared data in Outlook.
CRM obviously struggles to resolved what it is viewing in outlook against the current active user profile within CRM.
Applying the update roll-up resolves this issue and stops your users Sync Issues box filling up. In addition it reduces the considerable performance overhead that this would cause
Hope this helps
One thing that always used to wind me right up was the fact that once you hit save to create an entity in MSDYNCRM, you could not change any details about the primary attribute.
However, after a bit of searching i found this blog on the Microsoft Dynamics Community site that was very helpful.
Modifying properties of primary attribute is disabled when you try to do it from “Primary Attribute” tab. However you can change the properties if you opened the attribute from Attributes left navigation instead.
1. Go to Attributes and select “name” i.e. primary attribute of entity. As shown in below screen shot.
Brilliant eh?! Above you have seen how to change the requirement level but this obviously also applies to the display name of the entity. This is particularly handy if you are renaming entities.
I am very excited to release the xRM Consultant Mobile App for Iphone & Android!
To access this, open your web browser and go to www.xrmconsultant.com on your mobile device. This will give you access to all the features including the following:
- xRM Consultant Twitter Feed
- Blog Posts
- YouTube Videos
- Polling Questions
In addition, if you add it to the Home Screen on the IPhone, it loads as an app with no Safari bars getting in the way (as shown below)
Have to give credit to this to the guys at Widget Box. Fantastic site that allows you to create a host of widgets for your blog.
I have added some screen shots of it on the iPhone below for your perusal.
Came in this morning to find a client had submitted a support request asking for a users surname to be changed. A simple task……
Problem is that even though it is simple to change the name in Active Directory, CRM will not allow you to change the profile in CRM. This is because when you create a user profile in CRM it keeps a copy of the GUID of the Active Directory record in the CRM user profile. So when you try and assign the profile to the new username, CRM thinks you are assigning it to a different active directory profile and wont let you save this. Obviously, you can setup a new user in AD and CRM to get around this, but this is not practical as all historical actions assigned to the previous profile will not be moved across to the new profile
Microsoft have provided a workaround for this, which i have tried this morning and does work so i thought i would outline the steps below
- Modify the user account in Active Directory. For example, change the user name, and then change the logon name.
- Open Microsoft Dynamics CRM 4.0 as a System Administrator user.
- Click Settings, click Administration, click Users, and then open the user record that you want to change.
- In the Domain Logon Name box, type an Active Directory user account that is not used by a Microsoft Dynamics CRM 4.0 user record.
Note If all the Active Directory user accounts are used by Microsoft Dynamics CRM 4.0 user records, create a temporary Active Directory user account.
- Click Save.
- In the Domain Logon Name box, type the Active Directory user account. Then, click Save and Close.
Note The Active Directory user account that you type in this step is the account that is used by a Microsoft Dynamics CRM 4.0 user record. The Microsoft Dynamics CRM 4.0 user record is the record for which you want to change the user name and the logon name in Microsoft Dynamics CRM 4.0.
Hope this helps
We had a client for whom we developed a very complex CRM solution. It would seem simple; Sales Process and Stock Management Process. Not so. Their internal processes made this a complicated system that required a lot of thought, particularly when it came to the layout (Site Map) as we wanted to create areas for each of the relevant areas within CRM, putting all their entities in one place for them.
The problem came when trying to show the Queue Manager in another area other than Workplace. Not a big fan of editing Site Map XML directly, so we had been using the Demonstration Tools Utility. This awesome little tool that has been around for years, allows you to do a host of things including editing the Site Map and publish it to CRM directly.
There’s a simple reason why……its not an entity! We found that it was actually, what appears to be, an ASPX page that displays the information. So, with a bit of lateral thinking we realised we could simply add this to the Site Map by referring to the URL. We actually got the URL in the end by using the Outlook Plug-in. If you navigate to the Queue Manager Folder in outlook, right click and then click on properties it brings up the properties box for that folder.
Click on the Home Page tab and as if by magic you get the URL for the Queue Manager view!
From here we simply put this link in as the destination URL for the Site Map item!
Once you have published your Site Map changes to CRM, you will find your Queue Manager view no in the place you want. For our client this proved to be a great way keeping everything in a single area and making things simpler for the people “on the ground” .
As far as I can see, you can also use this method to find the URL of any non-entity CRM function.
Hope This Helps
Within Chorus, we had a requirement to display Visio Diagrams of our clients networks to aid the support engineers in their work. We had played around with a few ideas, but eventually Rob came up with the method he talks about in his blog. This method retains the formatting and viewing tools that Visio gives you giving great flexibility.
Anyway, for a more details explanation, pop over to his blog CRM Consult and have a read.
Unfortunately, I found a distinct lack of decent clients that had all the features that we were looking for. We needed a client that we could use to update more than one blog with a single post as well as incorporating our twitter accounts.
Low and behold, I found that I had one installed on my latop already! Windows Live Writer. This gave us all the features we needed and I would highlighy recommend it.
I realise it has been an age since I have added anything to the xRM Consultant Blog so apologies.
Truth is, I have been on holiday and then on-site with a client for over 4 weeks rolling-out what has been a major project for us here at Chorus IT. The client had an almost completely paper based business process and had been using an outdated piece of software that was no longer fit for purpose.
This meant a big challenge; write a MS Dynamics CRM solution that was completely customised to fit the business processes of a client who's business processes were changing on a daily basis.
The truth is this is almost impossible! This project has highlighted for us the importance of an extensive scoping process. This involves more than just a few sessions with key staff members. Multiple sessions with key staff as well as consultations with other heavy users throughout the organisation are essential. Also, making sure that each of the key decision makers read, agree with and sign-off the functional scoping document means that when the business process moves, your solution only alters if agreed.
Anyway, I will be blogging over the next few weeks about some of the challenges we have faced in delivering what has become a comprehensive Sales & Stock Management system. I will include as many of my scripts as possible to share the knowledge.
Looking forward to blogging to you guys again soon
I'm sure this can also be adapted to place the value in other fields too but its a start...
document.getElementById ('AttributeID').onchange ();
where AttributeID is the name of your attribute with the desired OnChange event!
It gets interesting from about 5 minutes in..
Click Here To Watch The Video
Recently a fellow CRM guru was having some trouble with hiding a tab based on a picklist value. Its a simple piece of code: