> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ファイルコレクションセクションの作成

> pyCaseAttachments にバインドされた AJAX Container を含む Pega のファイルコレクションセクションを追加し、ユーザーがフローアクションで FlexiCapture のケースにファイルをアタッチできるようにします。

ファイルコレクションセクションを作成するには、次の手順に従います。

1. **Dev Studio** で、**Records → Process → Flow Action → Collect** をクリックし、続けて設定ボタンをクリックします。

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega190.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=611b5e7f3f388204cfe12b3e022d1b9e" alt="Layout タブで Collect フローアクションを編集中の Pega Dev Studio のスクリーンショット。Collect セクションの横にあるセクション設定ボタンが強調表示されています。" width="673" height="290" data-path="images/flexi-capture/connectors/Pega190.png" />
   </Frame>

2. **Design** タブで、デフォルトの動的レイアウトを削除し、**Layout → AJAX Container** を追加して、表示されるダイアログで次の設定を指定します。

   * **Default view** – *Section*
   * **Page context** – *Use other context*
   * **Section** – *pyCaseAttachment*s
   * **Context** – *Work-*

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega191.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=95ac306c08e8b9daeb540a63de536ca1" alt="Pega の AJAX Container Settings ダイアログのスクリーンショット。Default view で Section が選択され、Section に pyCaseAttachments、Context に Work- が入力されています。" width="661" height="425" data-path="images/flexi-capture/connectors/Pega191.png" />
   </Frame>

3. **OK** をクリックします。**Design** タブは次のように表示されます。

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega192.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=d278483f9632742e545f0967d6eae1fa" alt="pyCaseAttachments セクションと pyAttachmentAddButton コントロールを含む AJAX Container が表示された、Collect セクションの Design タブの Pega Dev Studio のスクリーンショット。" width="1231" height="630" data-path="images/flexi-capture/connectors/Pega192.png" />
</Frame>
