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 :
Customer experience | Sales, Customer Insights,...
Answered

XML mapping and formulas

(0) ShareShare
ReportReport
Posted on by 15

Hello,

I am using XML mapping to create quotations from Dynamics.

What I want to do is, when I populate a table in the Word document, to make a math between different cells and show the result when the PDF of the quotation is printed.

I tried using bookmarks to the xml data and add a formula in Word like the example below, where quantity below "Prova" is a bookmark for Quantity:

pastedimage1660812154446v1.png

It doesn't work, it seems the content of the cell E2 is always zero.

Do you have any suggestion?

Many thanks in advance.

I have the same question (0)
  • Suggested answer
    Yuri ji Profile Picture
    Microsoft Employee on at

    Hi Luca,

    Unfortunately, after my testing, I also can't implement it.

    I recommend that you can try to create a calculate column directly in the entity and add this field to the word template.

    The steps I tested are listed below:

    1. Create a calculate column.

    pastedimage1660902998714v1.png

    2. Define rules.

    pastedimage1660903008787v2.png

    3. Add this column to word template.

    pastedimage1660903029167v3.png

    4. Export to PDF.

    pastedimage1660903039576v4.png

  • Luca.l182u Profile Picture
    15 on at

    Many thanks for the answer!

    I will test and let you know what I get.

    Regards,

    Luca

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 101 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 83

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans