Hi,
I'm getting below error when I export my data to word document and its working fine in AX 2012 but the problem in D365.
please help to solve this.
Thanks in Advance.
*This post is locked for comments
Dynamics 365 for Operations is running server-side only, so it is looking for a Word application on your AX AOS instance, which is obviously not there, so your AX 2012 examples would not work, which uses a client executable and local Office deployment.
Refer to the documentation for Office integration in D365fO:
docs.microsoft.com/.../office-integration-tutorial
Thank you Vilmos,
I will install word application in D365 AX AOS Instance and try it.
That is likely not going to work. Read the documentation first, and understand the information described in there.
I can able to export form data to word or excel by using Open Office Integration option from D365
but I'm facing problem with my custom data export to word by X++ coding.
Again, interacting from the browser with locally deployed components is unsupported, it is not like previous versions.
Can you please make sure you tick the checkboxes for helpful answers next to each post, so the topic gets resolved? Thank you.
Sorry, still I'm facing an issue to sign-in Microsoft Dynamics Add-Ins.
Hello,
I would like to know, how to export data to word document by X++ coding in D365(AX7) like in AX 2012.
I tried it with below code on both D365(AX 7) and AX 2012 version.
Code is working fine on AX 2012 but on D365(AX 7) I’m getting below error,
In our server, we have latest version of MS Office which is activated.
Please help me, is it possible to get its result without Microsoft Dynamics Add-Ins and Data Entity.
Thanks in Advance!!!
This is the same topic of what you already had here:
community.dynamics.com/.../238441
Asking the same multiple times will most likely not lead to a different answer.
You cannot interact from a code running server-side (D365 for Operations) with an application running client side via a browser (Word on local computer), since this is now a completely different architecture compared to AX 2012.
Also you will most likely not be able to interface with COM on server-side, because that is supposed to be a client-tier call, while AX is running now in a web process.
Thank you,
From my last post, I learned the ways we can export data to word or excel.
Now, I would like to know is it possible to get data to word from Code?
And, I got the answer because of server side.
Thanks for your time to clarify my doubts.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Nayyar Siddiqi 2
NNaumenko 2