Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Dynamic image in Document Template

Posted on by 50

Hello everyone, I am currently exploring document template for a business need. Currently the business is using mail merge to perform receipt printing. The reason being is that the template contains a dynamic image (bar-code) this varies based on the address of the customer. With mail merge, we couldn't able to automate this receipt printing process. The end user needs some automation in this business process as they want to do it batch. With this business need, I am exploring Document template as one option, but in document template I couldn't able to show the bar-code image dynamic. In the existing mail merge template they used image control using INCLUDEPICTURE option. I even tried the same way it didn't work in document template.

The URL of the barcode looks something like this https;//{public facing url}/[merge field of address]  this will generate a bar-code image. I want to include this image in the document template. Anyway to achieve this?

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Dynamic image in Document Template

    Hi,

    I dont think conditional image is supporteed in document template. because it is just a replacement of mail merge.  It simply map the field value  or image into the placeholder in document.

    Document core pack would be more suitable for you in this case.

  • kailashr2k6 Profile Picture
    kailashr2k6 50 on at
    RE: Dynamic image in Document Template

    Hi Alex, Thanks for the response.

    Bar-code is just an example but there are scenario where I need to do conditional images. Is it even possible using document template?

    I know with tools like documentcorepack and experido we can able to do lot more. But with out of box feature is there any way we can achieve dynamic images in document template.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Dynamic image in Document Template

    Hi,

    you can refer to below blog , but i am not sure whether is that what you want. But worth to take a look.

    crm.fueledbysleep.com/.../how-to-create-simple-barcode-generation-reader-functionality-in-microsoft-dynamics-365

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans