# Create Multiple folders for Activity Entities

This functionality enables you to save activity-related attachments in SharePoint according to their subject names, allowing easier navigation and organized storage of attachments for the user.

By default, this feature is set to **"Don't Allow".** This means attachments migrating to SharePoint will be moved directly to a common folder for activity entities like email, appointments, or tasks.

However, if you enable it by selecting **"Allow",** it creates multiple folders based on the subject names for each activity entity.

This is applicable when users perform Bulk Migration, Real-time Migration, or use the Attach2Dynamics UI, according to the Entity Configuration the folder gets created in SharePoint.

### Configuration

Navigate to **Entity Configuration** -> choose an activity **Entity Configuration** -> From the drop-down menu, set Allow Multiple Activity Folders to **"Allow"**

This enables the creation of Multiple Activity Folders.

<figure><img src="/files/wLEDGdgXtokqfqNl1K1w" alt=""><figcaption></figcaption></figure>

To understand how it works, let's explore the following example.

**Example 1:**

In this example, check out what happens when the user has set **“Allow Multiple Activity Folder”** as **“Don’t Allow”**.

<figure><img src="/files/G4klRK5yaoSmm7REQzvJ" alt=""><figcaption></figcaption></figure>

There are two appointment records regarding **Account – A Datum**.

&#x20;As shown in the below screenshot, all of the attachments related to this appointment are moved to the common folder for the activity entity.

* 1.1 Attachments related to Pricing Enquiry with regarding set as **A Datum**

<figure><img src="/files/n1yOPuywT7hJLNV9yb6T" alt=""><figcaption></figcaption></figure>

* 1.2 Attachments related to Product Order with regarding set as **A Datum**

<figure><img src="/files/oGbscPk2ukgAPUdpfCdX" alt=""><figcaption></figcaption></figure>

Once the status of the appointment is complete, the attachments will be migrated to SharePoint.

To check, navigate to SharePoint and see all the **Appointment attachments** that are migrated to a common folder inside the **A Datum** folder.

<figure><img src="/files/dAOKJ9JuUTtHVY2jrCdP" alt=""><figcaption></figcaption></figure>

***

**Example 2:**

In this example, check out what happens when the user has set **“Allow Multiple Activity Folder”** as **“Allow”**.

<figure><img src="/files/DWAe9l0M9KuNc07dubCP" alt=""><figcaption></figcaption></figure>

There are two appointment records regarding **Account – Alex Industries**.

* 1.1 Attachments related to **Pricing Enquiry** with regarding set as **Alex Industries**

<figure><img src="/files/JrApAhcyUu6wiU4p30nu" alt=""><figcaption></figcaption></figure>

* 1.2 Attachments related to **Product Description** with regarding set as **Alex Industries**

<figure><img src="/files/w38ClJozmfqkTGFykVoj" alt=""><figcaption></figcaption></figure>

As shown in the below screenshot, all of the attachments related to this appointment moved to multiple folders for each subject name.

<figure><img src="/files/1pJAF4ppC149YUxrTGuR" alt=""><figcaption></figcaption></figure>

Selecting any one folder shows the attachment uploaded to its appointment record.

<figure><img src="/files/BzHJMM6Q9LXkFOXLUNiK" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inogic.com/sharepoint-security-sync/features/create-multiple-folders-for-activity-entities.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
