web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Word templates failing after editing document.xml

(0) ShareShare
ReportReport
Posted on by

Hi,
We have 60+ word templates and we need to change the options in a hard coded drop down list. I scripted a powershell script to step through the word templates, change the file extension to zip, export the files, change the document xml file, rezip. I tested a random sample and they all opened up in Word fine however when we try to open them up through Dynamics they fail with an error that the file format is bad. Has anyone else seen this and know what to do.

Mat

*This post is locked for comments

I have the same question (0)
  • Kokulan Profile Picture
    18,054 on at

    Are you getting this error when you upload the document to CRM or when you are generating document?

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi Pobblebonk,

    Compare the random sample against the other exported files for differences in file format and address the differences.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans