**Instructions: How to Set Up 'FlowExport - Group to DOCX'**
Follow these steps to correctly install and configure the plugin in your Bubble application.
### Step 1: Install and Prepare the Content
1. Install the plugin into your application via the **Plugins tab**.
2. Designate the Bubble **Group Element** that contains all the content you wish to export (text, tables, images, etc.). This Group will become the content of your DOCX file.
### Step 2: Enable the ID Attribute Option (Crucial!)
Before you can assign an ID to the Group, you **must** enable the ID attribute setting globally:
1. Navigate to your app's **Settings** tab.
2. Go to the **General** sub-tab.
3. Scroll down to the section labeled **"Expose the option to add an ID attribute to HTML elements."**
4. Check this box. **(If this is not done, the Element ID field will not appear in the Property Editor.)**
### Step 3: Assign the Element ID
The plugin relies entirely on the Group's ID to find the content.
1. Return to the **Design** tab and select the **Group Element** you want to export.
2. In the Property Editor (on the right), scroll down to the bottom.
3. Enter a unique name (e.g., `report_container`) into the **ID Attribute** field. **Do not use spaces or special characters.**
### Step 4: Configure the Workflow
1. Create a workflow (e.g., when a **'Generate Report' Button** is clicked).
2. Add a new action and navigate to **Plugins**.
3. Select the action: **"export_docx"**.
4. **Configure the fields:**
* **Element ID:** Enter the unique ID you set in Step 3 (e.g., `report_container`).
* **File Name (Optional):** Enter the desired name for the downloaded file (e.g., `My Report - Current Date`) - You can add dynamic text here.
* **Page Width/Height (Optional):** Adjust these static number fields (in millimeters) if you need a paper size other than the default A4.
**You are now ready to test the functionality!**
* **Live Demo Page:** [Click here to see the plugin in action] (
https://flowappsbubble-44775.bubbleapps.io/version-test)
* **Editor Setup Link:** [Click here to view the editor workflow setup] (
https://bubble.io/page?name=index&id=flowappsbubble-44775&tab=tabs-1)