Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Porting image field from product to the offer export

(0) ShareShare
ReportReport
Posted on by 52

Hi everyone,

I've added a product image to a product in the product table and I would like to see this image in the quote export to word/pdf template. However, when I try to create the template, I can't connect the quote entity with products directly. Is there a way to take this field and/or some other fields from product that aren't in the quotedetail table?

The more general question is:

Can I export a word template that contains an entity not directly related to the entity from which I'm exporting? (quote, that is the table I'm exporting from, is related to quotedetail that is related to product)

If I can't, what's the best possible workaround?

  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Porting image field from product to the offer export

    Hi Lorenzo,

    It is not possible using OOB Word Template functionality. 

    Another entity must have direct relationship with current entity when you export a word template.

    pastedimage1675995306056v1.png

    Quote and quotedetail are 1:N relationship, Product and quotedetail are 1:N relationship, so there is no relationship between the offer and the product.

    If you want to include fields from Product table when you export a word template on the Quote:

    1.The easiest way is that you need to create some new fields in the quotedetail table and then copy the values from the Product table to populate these custom fields.

    --using calculated fields or flow to get data from Product table to populate these custom fields.

    https://d365goddess.com/power-automate-copy-and-paste-image-field-in-d365/ 

    2.Refer to the following blog to create custom XML fetch queries to get more data into the Word template

    --It will be too much time consuming stuff and seems much more complicated.

    https://www.crmsoftwareblog.com/2016/12/word-document-templates-that-use-fetchxml-for-complex-data-retrieval/ 

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans