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

The FlexiLayout saved in \*.afl format can be opened in ABBYY FlexiCapture:

1. Launch ABBYY FlexiCapture.
2. Create a new project or open an existing project.
3. Create a new Document Definition or open an existing Document Definition in the Document Definition Editor.

   <Note>
     To open an existing Document Definition, go to **Project → Document Definitions...**, select the required Document Definition from the list of available Document Definitions 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>

1. In the Document Definition Editor, open the **Section Properties** dialog box (**View → Properties...**).
2. Click the **FlexiLayout** tab.
3. Click the **Load...** button.

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

1. In the **Open** dialog box, select the required \*.afl file.

<Note>
  The required Document Definition blocks will be created automatically based on the FlexiLayout. To view the blocks, select the Match Section command in the Tools menu.
</Note>
