> ## 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.

# Sample 1. Step 22: Open the FlexiLayout in ABBYY FlexiCapture

> Load the exported AFL FlexiLayout into an ABBYY FlexiCapture Document Definition and let the editor create the matching blocks automatically.

Open the FlexiLayout saved in `*.afl` format in ABBYY FlexiCapture.

<Steps>
  <Step title="Launch ABBYY FlexiCapture">
    Start ABBYY FlexiCapture.
  </Step>

  <Step title="Open or create a project">
    Create a new project or open an existing one.
  </Step>

  <Step title="Open the Document Definition">
    Create a new Document Definition, or open an existing one in the **Document Definition Editor**.

    <Note>
      To open an existing Document Definition, select **Project → Document Definitions...**, select the Document Definition from the list, and click **Edit...**.
    </Note>

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial32.png?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=3fed9d3baeead4502903c1b23f922698" alt="Screenshot of the Project menu in ABBYY FlexiCapture with the Document Definitions command selected to open an existing Document Definition for editing." width="409" height="407" data-path="images/flexi-capture/fls/tutorial32.png" />
    </Frame>
  </Step>

  <Step title="Open the Section Properties dialog box">
    In the **Document Definition Editor**, select **View → Properties...**.
  </Step>

  <Step title="Load the AFL file">
    1. Click the **FlexiLayout** tab.
    2. Click **Load...**.
    3. In the **Open** dialog box, select the `*.afl` file.

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial33.png?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=2086a4b64e305383e5b0343f31ae4f47" alt="Screenshot of the FlexiLayout tab of the Section Properties dialog box in the ABBYY FlexiCapture Document Definition Editor showing the Load button used to load an AFL file." width="525" height="510" data-path="images/flexi-capture/fls/tutorial33.png" />
    </Frame>
  </Step>
</Steps>

After you load the FlexiLayout, FlexiCapture creates the required Document Definition blocks automatically. To view the blocks, select **Tools → Match Section**.
