|
1 | 1 | ---
|
2 |
| -title: "Project sharing with custom classifier" |
| 2 | +title: "Share custom model projects" |
3 | 3 | titleSuffix: Azure Applied AI Services
|
4 |
| -description: Learn how to share projects using a custom classification model. |
| 4 | +description: Learn how to share custom model projects using Form Recognizer Studio. |
5 | 5 | author: laujan
|
6 | 6 | manager: nitinme
|
7 | 7 | ms.service: applied-ai-services
|
8 | 8 | ms.subservice: forms-recognizer
|
9 | 9 | ms.topic: how-to
|
10 |
| -ms.date: 03/30/2023 |
| 10 | +ms.date: 04/13/2023 |
11 | 11 | ms.author: jppark
|
12 | 12 | monikerRange: 'form-recog-3.0.0'
|
13 | 13 | recommendations: false
|
14 | 14 | ---
|
15 | 15 |
|
16 |
| -# Project sharing with custom classifier |
| 16 | +# Project sharing capability |
17 | 17 |
|
| 18 | +Form Recognizer studio now enables project sharing feature within the custom extraction model. Projects can be shared easily via a project token and this same token can be used to import the project. |
| 19 | + |
| 20 | +## Prerequisite before sharing custom extraction project |
| 21 | + |
| 22 | +In order to share and import projects seamlessly, both sides of the users (user who shares and user who imports) need to check if they have granted or have access to certain permission. |
| 23 | + |
| 24 | + > [!IMPORTANT] |
| 25 | + > Custom model projects can be imported only if you have the access to the storage account that is associated with the project you are trying to import. Check your storage account permission first before sharing your project or importing project from someone else. |
| 26 | +
|
| 27 | +Note that by defining a custom role in [Azure RBAC](https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles), you would be able to define custom roles for managing access to your storage account. In addition to Form Recognizer specific privileges, the project also requires additional storage privileges as well. For the Studio to communicate with the storage account, CORS rules need to be configured on the storage account, that requires [specific privileges](https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-service-properties?tabs=azure-ad). |
| 28 | + |
| 29 | +If the storage account's VNet is enabled or if there are any Firewall constraints, the project cannot be shared. Please ensure that these settings are turned off. One workaround is to manually create a project using the same setting of the project being shared. |
| 30 | + |
| 31 | +### User sharing the project |
| 32 | +User who wants to share the project first needs to create a project ListAccountSAS to configure storage account's CORS as well as ListServiceSAS to generate a SAS token for *read*, *write* and *list* container's file in addition to blob storage data *update* permissions. |
| 33 | + |
| 34 | +### User importing the project |
| 35 | +User who wants to import the project will need ListServiceSAS to generate a SAS token for *read*, *write* and *list* container's file in addition to blob storage data *update* permissions. |
| 36 | + |
| 37 | +## Share a custom extraction model with Form Recognizer studio |
| 38 | + |
| 39 | +Follow the steps below to share your project using Form Recognizer studio. |
| 40 | + |
| 41 | +1. Start by navigating to the [Form Recognizer Studio](https://formrecognizer.appliedai.azure.com/studio). |
| 42 | + |
| 43 | +1. In the Studio, select the **Custom extraction models** tile, under the custom models section. |
| 44 | + |
| 45 | +:::image type="content" source="../media/how-to/studio-custom-extraction.png" alt-text="Screenshot: Select custom extraction model in the Studio."::: |
| 46 | + |
| 47 | +1. On the custom extraction models page, select the desired model to share and then select the **Share** button. |
| 48 | + |
| 49 | +:::image type="content" source="../media/how-to/studio-project-share.png" alt-text="Screenshot: Select the desired model and select share."::: |
| 50 | + |
| 51 | +1. On the share project dialog, copy the project token for the selected project. |
| 52 | + |
| 53 | +:::image type="content" source="../media/how-to/studio-project-token.png" alt-text="Screenshot: Copy the project token."::: |
| 54 | + |
| 55 | + |
| 56 | +## Import custom extraction model with Form Recognizer studio |
| 57 | + |
| 58 | +Follow the steps below to import a project using Form Recognizer studio. |
| 59 | + |
| 60 | +1. Start by navigating to the [Form Recognizer Studio](https://formrecognizer.appliedai.azure.com/studio). |
| 61 | + |
| 62 | +1. In the Studio, select the **Custom extraction models** tile, under the custom models section. |
| 63 | + |
| 64 | +:::image type="content" source="../media/how-to/studio-custom-extraction.png" alt-text="Screenshot: Select custom extraction model in the Studio."::: |
| 65 | + |
| 66 | +1. On the custom extraction models page, select the **Import** button. |
| 67 | + |
| 68 | +:::image type="content" source="../media/how-to/studio-project-import.png" alt-text="Screenshot: Select import within custom extraction model page."::: |
| 69 | + |
| 70 | +1. On the import project dialog, paste the project token shared with you and select import. |
| 71 | + |
| 72 | +:::image type="content" source="../media/how-to/studio-import-token.png" alt-text="Screenshot: Paste the project token in the dialogue."::: |
0 commit comments