Tuesday, February 4, 2014

CRM 2011 Integration with SharePoint: Custom Document Management | CRM Consultancy Blog

CRM 2011 Integration with SharePoint: Custom Document Management | CRM Consultancy Blog:



One of the best articles I ever read. Really.



The Article is about automatic integration of CRM and Sharepoint using Plugin.

I wanted to write that, but since this it exists, I don't know if I will do that. Anyway, I implemented it differently so I may write my own version.



The integration is done using plugin that creates a SP Folder for each new record and  then adds a discussion on adding SP Content Types to records.

Bulk Creation of SharePoint Folders with Dynamics CRM

Bulk Creation of SharePoint Folders with Dynamics CRM:



Great Idea executed using old school methods.

The Important thing is the lesson you can connect to Sharepoint using disk Mapping.

Monday, February 3, 2014

Virtual Box and Hyper-V VHDX file format

VirtualBox, my favorite virtualization app, does not support VHDX file format as a file for virtual disk.
To convert the file to a VHD file, a HyperV is needed to import the content of such file to a new VHD file you can create for a new machine in VirtualBox.
I created the VHDX using Disk2VHD in order to load backup the server and load it to my main development PC, so after the load I can delete the VHDX file.

This article by Anurag Gawande explains how to do this:
http://blog.anuragg.com/2012/10/vhdx-to-vhd-conversion.html

Sunday, February 2, 2014

Problem Loading Solutions after creating fields on the target server

As usual, this si a Microsoft thing. We the developers, agree that the name of a field in a table
is its identification. We expect it to be the same in an Entity of a CRM.
Well, Some of Microsoft CRM Developers  disagree. They have an Guid as the key to the attribute from the Attribute table holding the Metadata.
If you create a field at two organizations by the same name, usually because you wanted to do a quick deployment of code and did not want or had pressure to provide a "solution" (your solution) to a problem, you have been hacked.
You can no longer load the solution because the solution loader will identify the original field and the one created manually as different fields and give an error.
You can find from the error the id of the field on the target organization and delete it.

Notifications in CRM 2011, Here is a blog article how to do it, keep in mind, it is still not supported by MS

http://rockstarbits.blogspot.co.il/2011/08/crm-2011-notification-area.html

The Joel Test: 12 Steps to Better Code

The Joel Test: 12 Steps to Better Code

by Joel Spolsky

http://www.joelonsoftware.com/articles/fog0000000043.html


Here is the test. The article lists the responses and the reasons why these point are important.

After reading this, I am sure Joel is a person that everybody will love to meet.

The Joel Test
  1. Do you use source control?
  2. Can you make a build in one step?
  3. Do you make daily builds?
  4. Do you have a bug database?
  5. Do you fix bugs before writing new code?
  6. Do you have an up-to-date schedule?
  7. Do you have a spec?
  8. Do programmers have quiet working conditions?
  9. Do you use the best tools money can buy?
  10. Do you have testers?
  11. Do new candidates write code during their interview?
  12. Do you do hallway usability testing?



Wednesday, January 29, 2014

Sharepoint 2013 Client, Starting to work with it.

Link to getting started with the Object Model Client :

http://msdn.microsoft.com/en-us/library/office/fp179912.aspx

How to: Complete basic operations using JavaScript library code in SharePoint 2013

http://msdn.microsoft.com/en-us/library/office/jj163201.aspx

How to upload a document, two variations, one a simple, the other uses WEBDAV, which may be more appropriate, need to check this.

http://stackoverflow.com/questions/9847935/upload-a-document-to-a-sharepoint-list-from-client-side-object-model