Extract bookmarks (Word) to a list
Description
You can extract word bookmarks from a Word DOCX to a list.
Input Arguments
Input Argument | Type | Description | Required? | Advanced Option? | Default |
---|---|---|---|---|---|
File | File in Word DOCX format. | The Word DOCX file from which the information shall be extracted. File only – no string/Base64 allowed | ✔️ | ❌ | - |
Include Hidden Bookmarks? | Boolean | Whether to include bookmarks that are marked as hidden in the Word document. | ❌ | ✔️ | - |
Search Name | String | Search for text in the bookmark name | ❌ | ✔️ | - |
Search Content | String | Search for text in the bookmark content | ❌ | ✔️ | - |
Output
Response | Type | Description |
---|---|---|
Body | Object | Full response object. Contains the array wordBookmarks with all bookmarks. |
Key | String | The name of the bookmark. |
Value | String | The content/text within the bookmark. |
Item | Object | An individual bookmark object containing key and value. |
Power Automate Examples
Extract bookmarks (Word) to a list
We use the OneDrive Get file content using path action to retrieve a Word document. Therafter, we use a Compose action to show which information may be used. Since there are multiple outputs possible, an Apply to each was automatically applied.
💡
Looking for the response to this example? Scroll up to see the Output tab.
Known Limitations
⚠️
If you experienced other limitations please get in touch with us!