Document management capabilities of Microsoft SharePoint let you store documents in SharePoint while organizing and managing these documents from Microsoft Dynamics CRM. This saves you time by letting you access, share, and collaborate more effectively. You can protect your stored documents in SharePoint from unauthorized access or use.
You can manage documents for any entities on SharePoint. This is the default selection of entities the first time you click Document Management Settings in the Document Management area:
Account
Article
Lead
Opportunity
Product
Quote
Sales Literature
To change which entities manage documents on Microsoft Dynamics CRM, select or clear the entity check boxes in the Document Management Settings dialog box.
When you set up document management, SharePoint creates document libraries and folders in the context of the Microsoft Dynamics CRM entities and records.
Note
The Documents link under Related appears in an entity record form only after you have set up document management for that entity.
When you set up document management, specify a SharePoint site collection or site URL. More information: Sites and site collections overview.
Microsoft Dynamics CRM uses the specified site collection or site to create document libraries for entities and folders for records on SharePoint.
When creating the document libraries and folders automatically on SharePoint, there are document location records created on Microsoft Dynamics CRM that point to the newly created folders.
If you do not want to use the automatic creation feature, manually create document libraries and folders on SharePoint. After the document libraries and folders are created, create document location records in Microsoft Dynamics CRM that point to the document libraries and folders on SharePoint, and then associate the document location records with the entity records.
After the organization of the content storage is in place, you can start using all the document management capabilities.
There are two ways to create a folder structure:
In SharePoint, manually create document libraries and folders in the same context of Microsoft Dynamics CRM entities and records. Then, associate the SharePoint folders with Microsoft Dynamics CRM records.
Let Microsoft Dynamics CRM automatically create the document libraries and folders in SharePoint.
Microsoft Dynamics CRM automatically creates document libraries and folders on SharePoint if the URL you specify is for one of the following:
A site collection that is on Microsoft SharePoint Server 2010 or Microsoft SharePoint Server 2013, and has the Microsoft Dynamics CRM List Component installed on it.
A site under a site collection that is on Microsoft SharePoint Server 2010 or Microsoft SharePoint Server 2013, and the site collection has the Microsoft Dynamics CRM List Component installed.
If you want automatic creation, choose whether you want Microsoft Dynamics CRM to create folders based on the default (generic) structure or based on the entity.
Default structure. A folder is created for each record in the document library for the entity. This is the default folder structure.
For example, you have 100 bikes and 250 bikes opportunity records. These are opportunities for Margie's Travel. Microsoft Dynamics CRM creates this folder structure:
../opportunity/100 Bikes.
In this structure:
opportunity is the document library.
100 bikes and 250 bikes are opportunity record folders.
Structure based on entity. A folder is created so that folders for primary entities (for which you want to manage documents) and their records are created under the document library for the related entity that you select. To create folders using this structure, select the Based on entity check box and then select an entity from the list (such as Account or Contact).
For example, you have 100 bikes and 250 bikes opportunity records. These opportunities are associated with Margie's Travel as the parent customer. You select for the entity. This is the created folder structure:
../account/Margie's Travel/opportunity/100 bikes
In this structure:
account is the document library.
Margie's Travel is the folder for the related records.
opportunity is the folder for the related opportunity records.
100 bikes and 250 bikes are related opportunity record folders for the main entity.
Microsoft Dynamics CRM creates the document library when you set up document management. However, Microsoft Dynamics CRM creates the various folders in the document library only when you open a record form and click Documents under Related.