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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Exporting a Case to a Word template gives SQL error

(0) ShareShare
ReportReport
Posted on by 10

Hi everyone,

Whenever I try to convert a Case to a Word document using a Word template I get the following error:

pastedimage1683794666710v1.png

There's no error log so I cannot find the possible cause. I'm a Sysadmin so there's no issues with security.

I'm new to this so any help is welcome!

Thank you

I have the same question (0)
  • IlMS Profile Picture
    10 on at

    UPDATE:

    One of my 1:N relationships from Case was causing this issue. It was an OOTB relationship msdyn_incident_msdyn_casesuggestion_suggestedentity. I removed that relationship from the template and it was okay. Not sure what the cause is though.

  • Suggested answer
    Sayen Zhang Profile Picture
    on at

    Hi partner,

    Sorry for my late.

    It is due to system design that if we are not adding any data to word template from the virtual entity, we don't need to add the relationship to template.

    That's why we remove relationship named "msdyn_incident_msdyn_casesuggestion_suggestedentity" can resolve the issue.

    Best Regards,

    Sayen Zhang

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans