SharePoint - Configuration Guide

Prev Next

Change Summary

Release Date

Release Version

Change Description

Link

Feb 6th, 2025

2025.1

Specify Value in SharePoint Special Characters Product Configuration

Product Configurations

Feb 6th, 2025

2025.1

Select Child Flow as Generic - Remove SharePoint Special Characters

Power Automate Flows Customizations

Overview

SharePoint Connector integrates the TechnoMile Contracts Suite with your online Microsoft SharePoint site. This allows your team to centralize all documents and files associated with a Contract into a single, online repository and then quickly and conveniently access them directly from your Contracts solution.

TechnoMile’s SharePoint Connector auto-generates a standardized folder structure upon the creation of a new Contract record, enforcing clean, consistent organization of files in SharePoint and making them easy for users to find and share.

Audience

  • Microsoft Dynamics Administrators

  • IT Support

Prerequisites

  • Ensure that TechnoMile Contracts Suite is already installed and configured. The version of this package must be 2025.1 or higher.

Power Automate Configurations

  1. Login to your Microsoft Dynamics instance.

  2. Click the gear icon and select Advanced Settings.

  3. Click the funnel icon to access Advanced Find.
    The Advanced Find tab opens.

  4. Select Power Automate Configs in the Look for field and click Results.

  5. Scroll down and open the Metadata Generation For SharePoint Folder Structure Power Automate Configuration.

  6. Specify the Flow URL and click Save.

    NOTE

    You must retrieve the Flow URL field value from your Cloud Flow of the same name in Power Automate.

  7. Similarly, open the Generic - Create SharePoint Folder Structure Power Automate Configuration to specify its Flow URL.

  8. Similarly, open the Generic - SharePoint Connector Power Automate Configuration to specify its Flow URL.

  9. Similarly, open the Generic - SharePoint Metadata Update Power Automate Configuration to specify its Flow URL.

  10. Similarly, open the Generic - Rename Entity SharePoint Folder Name Power Automate Configuration to specify its Flow URL.

  11. Similarly, open the Generic - Child Metadata Update Power Automate Configuration to specify its Flow URL.

SharePoint Entity-based Configurations

  1. Go to SharePoint Configurations using the Advanced Find tab.

  2. Scroll down and open the Contract entity.

  3. Enter details in mandatory fields such as Entity Name, Name of Root Folder, Schema Name, Entity Set Name, Relative URL SharePoint, and SharePoint Base URL, in other fields such as Folder Structure and Metadata JSON, and click Save.
    To retrieve an Entity Set Name perform the following steps:

    1. Go to the following URL - https://{your dynamics CRM url}/API/data/v9.2/EntityDefinitions(LogicalName='{entity logical name}')

    2. Search for and retrieve the Entity Set Name.
      You can also enter any or all of the below listed combinations for creating separate entity-based SharePoint Configurations:

    1. Record Type as blank and Is Child Object set to No

    2. Record Type selected and Is Child Object set to No

    3. Record Type as blank and Is Child Object set to Yes

    4. Record Type selected and Is Child Object set to Yes

      NOTE

      If you specify a Record Type, then you must also specify a Record Type Logical Name. If you set Is Child Object to Yes, then you must also to specify a Schema Name of Parent.

Product Configurations

  1. Go to Product Configurations using the Advanced Find tab.

  2. Open the SharePoint Special Characters Product Configuration.

  3. Specify the Value and click Save.

    NOTE

    The Value field must contain a list of special characters that are to be allowed during creation of a SharePoint document location, without any separators.

  4. Similarly, open the Child Record Metadata Update Product Configuration.

  5. Set Value as false and click Save.

    NOTE

    This is an on-demand functionality so only if it is required, then its Value must be set to true. Else by default, its Value is set to false.

  6. Similarly, open the Child Record Metadata Entities Product Configuration.

  7. Specify the JSON Value and click Save.

    NOTE

    The JSON Value field must contain details of Entity Logical Names (.i.e. Logical Names of Child Entities for which Child Metadata update functionality is required), Entity Set Names, and their related Contract Lookup fields.

Power Automate Flows Customizations

  1. Go to Power Automate using App Launcher.

  2. Select your Environment and click My flows.

  3. Go to Cloud flows and note the below highlighted sample flows that come out-of-the box.

  4. Open the SPS - Contract flow.

  5. Click Edit.

    The SPS - Contract flow opens.

  6. Expand the first action that is highlighted below to enter the following information:

    1. Table name as name of the entity for which SharePoint folders are to be created.

    2. Select columns as logical names of all the fields in the form of a comma-separated list, which you had entered in the SharePoint Configuration record of the same entity in its Metadata JSON field.

      NOTE

      If in case the Metadata JSON field of a SharePoint Configuration record of an entity is set to blank, then the Select columns must be set to the value entered in its Name of Root Folder field.

  7. Expand Entity Logical Name to enter Value as logical name of the entity.

  8. Scroll down and expand Set variable Record ID to enter Value as Unique Identifier of the entity record.

  9. Scroll down and expand Switch.

  10. Expand Case and then expand Check SDK Message.

  11. Scroll down and expand Run a Child Flow to select Child Flow as Generic - Remove SharePoint Special Characters and enter Record Name as Folder Name.

  12. Expand Set Variable Folder Name Value to set the output of this flow back to the variable Folder Name.

  13. Scroll down and expand Create Document Location with Regarding and then expand Show advanced options.

  14. Scroll down and enter Regarding (Contracts) as Entity Set Record ID.

  15. Scroll up and click Save.

  16. Similarly, you can edit any of the sample SPS - Rename Entity flows by:

    1. Setting Select columns to the value entered in the Name of Root Folder field of the related SharePoint Configuration record for that entity

    2. Setting Record ID Value to Unique Identifier of that entity record