You can manage documents for any or all entities on Windows 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 for Microsoft Dynamics CRM entities, Windows 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.
Understanding how document management works
When you set up document management, specify a SharePoint site collection or site URL. More information: Sites and site collections overview http://go.microsoft.com/fwlink/?LinkId=200952.
Microsoft Dynamics CRM uses the specified site collection or site to create document libraries for entities and folders for records on Windows SharePoint.
When creating the document libraries and folders automatically on Windows 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.
Understanding how document libraries and folders are created
There are two ways to create a folder structure:
-
In Windows SharePoint, manually create document libraries and folders in the same context of Microsoft Dynamics CRM entities and records. Then, associate the Windows SharePoint folders with Microsoft Dynamics CRM records.
-
Let Microsoft Dynamics CRM automatically create the document libraries and folders in Windows SharePoint.
Microsoft Dynamics CRM automatically creates document libraries and folders on Windows SharePoint if the URL you specify is for one of the following:
-
A site collection that is on Microsoft SharePoint Server 2010 and has the Microsoft Dynamics CRM List component installed on it.
-
A site under a site collection that is on Microsoft SharePoint Server 2010, 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.
../opportunity/250 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 Account for the entity. This is the created folder structure:
../account/Margie's Travel/opportunity/100 bikes
../account/Margie's Travel/opportunity/250 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.
The following table shows the default security roles required to perform each document management task, and whether the task can be performed while using the Microsoft Dynamics CRM for Outlook offline.
Tasks Related to Document Management
|
Default Security Roles and Required Privileges
|
Can Task Be Done Offline?
|
Enable or disable document management
|
Security roles: System Administrator or System Customizer
Privileges: Read, Write on all record types that are customizable.
SharePoint Site: Create, Read, Write, Append, Append To
|
No
|
Create or edit a site record
|
Security roles: System Administrator or System Customizer
Privileges:
SharePoint Site Create, Read, Write, Append, Append To
|
No
|
Create or edit a document location record
|
Security roles: Salesperson
Privileges:
SharePoint Site: Read, Append To
Document Location: Create, Read, Write, Append, Append To
|
No
|
Install Microsoft Dynamics CRM List component
|
Security roles: SharePoint site collection administrator
Privileges: None
|
No
|
Make a site your default site
|
Security roles: System Administrator or System Customizer
Privileges:
SharePoint Site: Read, Write
|
No
|
Validating sites
|
Security roles: System Administrator or System Customizer
Privileges:
SharePoint Site: Read, Write
|
No
|
Add/edit a document location from a record
|
Security roles: Any
Privileges:
SharePoint Site: Read, Append To
Document Location: Create, Read, Write, Append, Append To
|
No
|
Fix a broken location
|
Security roles: Any
Privileges:
SharePoint Site: Read, Write
Document Location: Read, Write
|
No
|
Manage document
|
Security roles: Any
Privileges: None
Permissions on SharePoint required.
|
No
|
|