-
Notifications
You must be signed in to change notification settings - Fork 120
insertFileFromBase64 does not preserve Textbox Content (Title Missing) #6601
Copy link
Copy link
Open
Labels
Area: WordIssue related to Word add-insIssue related to Word add-insNeeds: attention 👋Waiting on Microsoft to provide feedbackWaiting on Microsoft to provide feedback
Description
insertFileFromBase64 does not preserve Textbox content (Title missing)
When inserting a Word document using insertFileFromBase64, textbox content is not preserved. In my case, a textbox used as a document title in the source file does not appear after insertion.
Your Environment
- Platform [PC desktop, Mac, iOS, Office on the web]: PC Desktop (also reproducible on Mac & Web)
- Host [Excel, Word, PowerPoint, etc.]: Word
- Office version number: Latest (Microsoft 365)
- Operating System: Windows 10 / Windows 11
- Browser (if using Office on the web): Chrome
Expected behavior
Textbox content (used as a title in the document) should be preserved and visible after inserting the document using insertFileFromBase64.
Current behavior
Textbox content is missing after insertion.
The rest of the document content (paragraphs, text) is inserted correctly, but the textbox and its content do not appear at all.
Steps to reproduce
- Create a Word document with a textbox (Insert → Text Box) and add text inside it (e.g., a title)
- Convert the document to base64
- Insert it using
insertFileFromBase64
Provide additional details
- No errors are thrown during insertion
- The textbox is part of the original
.docxfile and visible when opened normally in Word - Issue occurs consistently across multiple documents with textboxes
Context
I am building a Word Add-in that inserts template documents dynamically.
Textboxes are used in templates for titles and layout, but since they are not preserved, the document structure breaks and important content is lost.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: WordIssue related to Word add-insIssue related to Word add-insNeeds: attention 👋Waiting on Microsoft to provide feedbackWaiting on Microsoft to provide feedback