When a document is uploaded to the SharePoint using Attach2Dynamics or using OOB Documents tab in SharePoint, a folder with record name is created in the SharePoint. But along with the name, GUID (Unique ID of the record) is also added in the SharePoint folder name as shown in the below screenshot this GUID:
To remove the GUID you first need to change the organization settings of CRM. To change the settings, please follow the steps given below:
Navigate to the link and download the ‘OrganizationSettingsEditor’ solution file by clicking on the name as shown in the below screenshot.
Once the solution is downloaded, import it into your environment.
Click on the gear icon --> Select Advanced Settings.
Navigate to Settings --> Solutions --> Click on 'Import solution' button.
Please choose the downloaded OrganizationSettingsEditor solution file and click on the 'Next' button to proceed.
After the solution is successfully imported, open the solution and navigate to the Configuration page and search for ‘CreateSPFoldersUsingNameandGuid’.
By default, the ‘Current Value’ of ‘CreateSPFoldersUsingNameandGuid’ is set to true, to change it, click on the edit button.
Enter ‘false’ (lower case) in ‘CreateSPFoldersUsingNameandGuid’ field --> Click on ‘Update’ button --> Click on ‘OK’ button from the confirmation pop-up.