Hi All,
Dynamics CRM 2016 is available now: https://community.dynamics.com/b/msftdynamicsblog/archive/2015/11/30/microsoft-dynamics-crm-2016-now-available-ushering-in-a-new-era-of-intelligent-customer-engagement
Hope it helps and Happy CRMing!
Hi All,
Dynamics CRM 2016 is available now: https://community.dynamics.com/b/msftdynamicsblog/archive/2015/11/30/microsoft-dynamics-crm-2016-now-available-ushering-in-a-new-era-of-intelligent-customer-engagement
Hope it helps and Happy CRMing!
I just wanted to highlight the fact that CRM is making changes at a very fast pace and there would be lot of useful information coming your way, just like it does to me.
So I had a query recently on what are the best ways you can keep up to date via my blog?
Not many people who follow my blog via email might have noticed that I have a twitter handle as well.
My twitter handle is @msdynamicsblog
This is surely the best way to get my instant tech tweets and retweets.
Then if you are not really into following any kind of instantaneous tweets you can always follow my blog via email.
What is the way of doing it?
On the right hand side of my blog there is a small area to follow my blog via email. Every time I post something new you will have an email.
There are some groups as well:
Then there is yet another way, you can go to the LinkedIn Group named Dynamics CRM 2013/2015/2016 Consultants here.
This is more focused on versions 2013 and up and there is loads of information to consume from here.
I myself administer this group for now but am looking to have more admins, so if you like a bit
of administration work let me know in comments.
Another effective way is to drop me an email if you need information on anything specific and think I can help. Here is my email: deepeshsomani@hotmail.com . Sometimes, might take few days but I do respond on it.
I also have a query/feedback form on Dynamics CRM blogs here
Hope it helps and Happy CRMing!
Many times we have been there that we get the exception from our plugins called “The Given key was not found”.
The problem with Dictionary collection is that it doesn’t give the key name when it is not found.
The reasoning which I read on different blog posts, forums and Microsoft is key, value pair can be any type.
So, key name is not given in the exception.
But I wanted to have the key name in the plugin log.
I spent many weeks with this exception in my CRM online project and trying to understand how this can be custom built.
So, I have implemented this change on the plugins:
string[] Cols = { “name “,“accounttype “};
Object outValue;
var fieldsMisssing = string.Empty;
//Do tracing for key not found exception
foreach(string str in Cols)
{
if(!entity.Attributes.TryGetValue(str, out outValue))
{
fieldsMisssing += str + “,”;
}
}
fieldsMisssing = fieldsMisssing.TrimEnd(‘,’);
if (fieldsMisssing != string.Empty)
{
tracingService.Trace(“Following keys were not found: “ + fieldsMisssing);
}
The result is I have a log in my Plugin trace whenever there are missing keys (Under Settings-> Plug-in Trace logs):
Hope it helps and Happy CRMing!
Consider how many times you have been around in the scenario that you are doing some integration or
a batch job with Dynamics CRM and in the interim there is an exception, so you need to design rollback for your job/integrations.
With Dynamics CRM 2015, designs can be simplified way further. There was a new request type introduced with Dynamics CRM 2015: ExecuteTransactionRequest.
In the example below I have intentionally left an error and I am trying to either create a contact and account together or none.
Exception scenario:
using (var service = new OrganizationService(connection))
{
ExecuteTransactionRequest request = new ExecuteTransactionRequest();
Entity account = new Entity(“account”);
account.Attributes[“name”] = “Transaction Test”;
Entity contact = new Entity(“contact”);
contact.Attributes[“name”] = “Transaction Test Contact”;
CreateRequest create1 = new CreateRequest();
create1.Target = account;
CreateRequest create2 = new CreateRequest();
create2.Target = contact;
request.Requests = new OrganizationRequestCollection { create1, create2 };
ExecuteTransactionResponse response = (ExecuteTransactionResponse)service.Execute(request);
}
Exception:
In this case, Even account was not created:
After Correction:
using (var service = new OrganizationService(connection))
{
ExecuteTransactionRequest request = new ExecuteTransactionRequest();
Entity account = new Entity(“account”);
account.Attributes[“name”] = “Transaction Test”;
Entity contact = new Entity(“contact”);
contact.Attributes[“lastname”] = “Transaction Test Contact”;
CreateRequest create1 = new CreateRequest();
create1.Target = account;
CreateRequest create2 = new CreateRequest();
create2.Target = contact;
request.Requests = new OrganizationRequestCollection { create1, create2 };
ExecuteTransactionResponse response = (ExecuteTransactionResponse)service.Execute(request);
}
Created two of them together:
Hope it helps and Happy CRMing!
This is my first Pulse post on LinkedIn!
Hope it helps and Happy CRMing!
Here is a quick look into my top posts from the last quarter:
Hope this quick reference helps and Happy CRMing!
Role comparison tool for Dynamics CRM lets you compare two security Roles for differences in privileges and lists them in a csv output.
Here is the link to download : Click here
If you face any issues let me know in comments.
Hope it helps and Happy CRMing!
Below post lists steps to set up Outlook App for Dynamics CRM in preview mode:
Step 1:
Go to Office 365 Administration settings-> Admin
Step 2:
Pick Add-ins ad highlighted in the screen.
Step 3:
Click + Icon and Pic Add from the Office store:
Step 4:
Search for CRM for Outlook App:
Step 5:
Click Add
Step 6:
Come back to list of apps and see that CRM for Outlook App is disabled
Step 7:
Enable the App and hit save.
Step 8:
Go to system settings and accept the preview feature:
Step 9:
Set up Server side Sync for the mailboxes you want to enable the App as per my earlier post:
Note: Do not forget to enable Synchronization for Tasks, Contacts etc. using Server side sync on the mailbox.
Step 10:
See the Outlook App for CRM in Action:
Hope it helps and Happy CRMing!
This is a little Friday Surprise for you guys!
I had published a few weeks back that the Security Role browser for CRM 2015 will be released with some new features. I am holding it back due to some bug fixes needed on it to get it working.
In the interim though, I got my hands working on one of the thing which always causes so many issues to compare. Comparing Roles.
So, here is a sneak peek into the Role comparison tool:
This one gets a csv out for the Role differences:
How is this, I will release it on the coming Monday. Keep checking my blog!
Very soon, all the utilities i did will be merged in as well as I have reached a point its getting difficult to maintain for me. I needed some Community help, any takers. Please leave details in comments.
Leave your thoughts on the tool as well in the comments, it helps!
Hope this will help and Happy CRMing!
We live in a world of mobility, tablets and smart phones. Many of our end users install custom browsers on multiple OS platforms and start reporting issues with core CRM functionality.
I end up having this problem many a times, sometimes it is even to do with the version of browser customers/users are using.
This time around I again had CRM not working (even the core functionalities) on a tablet device.
Very quickly I wanted to identify the version of the browser and Safari on IPAD really doesn’t show the link!
So, I found to do a bit of research online and found out this free online website providing this cool service:
Link is here: Click here
For Chrome:
For IE 11:
Hope it helps and Happy CRMing!