Topics

Knowledge Creation Laboratory by CRM(xRM)

Automatically set location name for Dynamics 365 (Dynamics CRM) documents

Hello everyone.

This time, I will introduce the content of an inquiry I received the other day and a solution that can be done without coding.
The question I received the other day was as follows:

We have a multi-site Dynamics 365 document management setup (SharePoint integration), but since users can freely name document locations, it is difficult to know which site they are associated with.
I would like to set the same name as the site name, but it is difficult to copy and paste the site name part on the Add Location dialog screen, so is there a way to automate this?

What you want to achieve

Now, regarding this question, which screen is it referring to?It is the following screen.

In this screen, I would like to set the value of "Display Name" displayed as "Location 1" to the name displayed in the link as "Default Site" by copying and pasting or manually entering it, but I am wondering if this can be automated.

This is for standard dialog screens.
Many of you may be thinking that this is not possible, but it is actually possible.

Auto-name document location

In Dynamics 365, when you click "Add Location" on the dialog screen, a record is created in the entity called "SharePoint Document Location."
Therefore, we recommend using a workflow as a way to achieve this without coding.
The actual workflow setup is as follows:

When a document location record is created, update the created document location record.

Define the name to be set to the name of the SharePoint site.
*Please set this as desired depending on the document library, folder hierarchy, and desired name.

Now let's see how the workflow we set up works.

This time, we will set up a SharePoint site called Sample.
Also, the display name will be set automatically, so leave it as the default value.

If you check the display name by clicking Open Location, you will see that it is displayed as Sample, which is the same name as the SharePoint site name you set earlier.

It may seem like things like this that cannot be automatically configured when you register using the standard dialog screens displayed in Dynamics 365, but if you know which entity record you are creating, it can be a convenient method, even if it is not 100% satisfactory.
Don't give up on customizing it just because it's a standard screen, but try out various things.
However, be careful not to over-engineer it.

Person who wrote this article
Yuki Kawachi

He began his career as a systems engineer/system architect at a major Japanese system integrator, focusing on Microsoft products. He has been involved in CRM since the days of Dynamics CRM 4.0, manually implementing, launching, and developing CRM products in a variety of business areas, including sales, support, and marketing. He is particularly skilled in business design and implementation support in the SFA and call center fields. He then moved to a system integrator with no CRM experience and was involved in launching a CRM business from scratch. He is responsible not only for engineering but also for pre-sales. He has extensive experience in performance tuning and revitalizing troubled CRM projects for multiple companies, and is well-versed in both implementation and operation. In recent years, he has worked on the overall design and construction of CRM-focused data utilization platforms, utilizing Dynamics 365 and Power Platform, including non-coding business requirements fulfillment and integration with other systems and BI integration using ASTERIA Warp and other tools. He supports clients in their digital transformation efforts by providing consistent support, from post-implementation BI support to operational establishment. Currently, he is promoting the stage model of corporate transformation through CRM 1.0 to 4.0 that our company advocates, and is leading the spread of CRM 4.0, which realizes "a co-creation relationship that goes beyond trust with customers." He comprehensively provides consulting, system implementation, operational support, and education, and helps companies improve their CRM maturity.

Articles in the same category