Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to paste image to public Word Template

Posted on by 276

Hello everyone.

I have faced the problem that I can`t past into my Word Template an image.

Does anybody use the image in word template?

How to paste an image to word template?

I`ve try to use default entityimage field but an image in world template was cut and resized to small size.

Is there any solution to past image to word template from other apps (OneNote, OneDrive, SharePoint)?

Hope for your help

*This post is locked for comments

  • Hodayas Profile Picture
    Hodayas 10 on at
    RE: How to paste image to public Word Template

    Hi

    i need exactly the same

    what is the code for comparing pic to code?

    thanks

    Hod

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to paste image to public Word Template

    Thanks Roman.

    I thought this would be tricky but it's fine.

    If like me you have some application that already has the image in base64, then rather than encode it into a file and upload it as a deep insert to an annotation in your JSON, it's better to not encode it at all, simlpy leave it as a base 64 string and upload it to a text field. I used the 'Multiple Lines of text' data type set to max size - 1,048,576. Then as Roman pointed out, you can just insert this field (insert content control >picture) into your template and it will render as an image from the string.

  • fariba Profile Picture
    fariba 40 on at
    RE: How to paste image to public Word Template

    Hi Roman

    I don't know how write this script.

    Can you help me?

  • Muhammad Naderi Profile Picture
    Muhammad Naderi 135 on at
    RE: How to paste image to public Word Template

    do you mean vbscript? is it possible to add macro and/or vbscript to word template?

  • ronsonpetrenko Profile Picture
    ronsonpetrenko 276 on at
    RE: How to paste image to public Word Template

    Hi Debster25, its Ukranian ;)

    As I wrote before I`ve resolve this problem by developing.

    You need to create a script that convert image to text and past converted text to some text field.

    The next stages in the post above.

  • Debster25 Profile Picture
    Debster25 275 on at
    RE: How to paste image to public Word Template

    Hi Roman,

    I don't read Russian ;-) But I would reallly love to know how you convert images into code using a workflow. Can you please explain?

    Thanks,

    Debbie

  • ronsonpetrenko Profile Picture
    ronsonpetrenko 276 on at
    RE: How to paste image to public Word Template

    Hi MANIKANTA,

    1. Add the images to Note
    2. Run the workflow that convert images to code, and past code to some fields4380.2.jpg
    3. Download the Word template
    4. Past the fields with image code as Picture

    4380.2.jpg

  • MMK Profile Picture
    MMK 745 on at
    RE: How to paste image to public Word Template

    xxCapture.PNG

    By adding that image  field as picture it will paste the image

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to paste image to public Word Template

    hi roman can u pls brief it with screen shots

  • Verified answer
    ronsonpetrenko Profile Picture
    ronsonpetrenko 276 on at
    RE: How to paste image to public Word Template

    Hello,

    I`ve resolve this problem by developing. I attach the image to Note, than start workflow that translate an image to symbols and past symbols plane text to some fild. After that in Word template I past that text fild as image.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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