Apurv's D365 Blog

Code Samples & Troubleshooting Tips on Dynamics 365 (CRM) and Portals

CRM Plug-in Development – What should you be aware of?

Today I’m kicking off the posts on plugins. I dedicate today’s post to CRM developers who are planning for plugin development. I have collected and provided all the information that you would need to understand before you start architecting your plugin. Before we get started, please check the prerequisites that you should be aware of:… Read more

Issues authenticating to CRM Online organizations "An unsecured or incorrectly secured fault was received from the other party"

Hello Developers, This article is most interesting and life saver for who are in trouble with authenticating to CRM Online organizations. Microsoft recently announced about moving organization to integrated O365 environment. Looks awesome!! Does this mean you’ll need to revisit your code?? Yes you will need to 🙂 I’ve framed couple of questions which may cross… Read more

Authenticate Office 365 Users with Microsoft Dynamics CRM Online

Here’s what I have for you guys a simple technique to connect to your CRM office 365 based organizations. I have created a sample to add a new contact. This will help you use the Create function of CRM Service Create an empty solution in VS 2010 Right click, to add new class library project… Read more

SSIS 2008 Integration with CRM 2011 on-Premise

This article deals with integrating SSIS 2008 and CRM 2011. You might have faced a lot of issues doing this part. As we know that SSIS 2008 still doesn’t support .NET 4.0 Framework so adding .NET 4 compiled assemblies is not a possible task/solution. What’s next? We can do this with backward compatibility using CRM… Read more

Enable/Disable out of the box ribbon items

Hello Guys, I have come up with an interesting article on enabling/disabling the out of box ribbon items in CRM 2011. This article demonstrates the order entity where I would be disabling the “Create invoice button” based on a condition in jscript. The script returns “false” or “true” value. Before we get started, here’s the… Read more

Debugging CRM scripts using IE developer tool

Hello people, I dedicate this post to our newest developers using jscript in CRM. I have added steps on how you can debug your scripts with events like OnLoad, OnSave and OnChange. The process of using IE developer doesn’t change but I have customized it to CRM level. Requirements Internet Explorer (7.0 or above) CRM… Read more

Creating records in CRM while Outlook client is in offline mode.

Hello All, I’m back with exciting new sample code to develop your own SDK application with offline capability. The application uses Cassini server URL. This article provides you step by step information how and what to write. I have also mentioned some environment step that you can keep handy. Requirements CRM for Outlook (Offline Capability)… Read more

Existing product lookup lists all the products

This article talks about a parent look view which is never visible after the “Display search box in lookup diaglog” is checked while customizing Opportunity Product Entity in CRM 2011. There is an easy workaround to get back to old view. I have mentioned the ways you see this happening and a tweak in customization… Read more