I have created a custom content type, base content type is document to create a form. I am able to view and update field values( text and date). But, not getting image in the form.

I have tried using Developer/XML mapping and "insert field as picture" but seems it is not working. I am using SharePoint Online.

1 Answer 1


This you can do with the Word Merge option: INCLUDEPICTURE:

  1. Press CTRL + F9 it will insert { } tags

  2. Make this of it:


  3. Put you cursor between the double quotes.

  4. And go to the XML Mapping choose your picture

  5. select Url --> Insert Content Control --> Plain Text.

  6. select the whole INCLUDEPICTURE and press F9 to refresh your fields.

You should see the picture now.

  • do i need to refresh every time while opening word document? Aug 22, 2018 at 17:08
  • I think so, you can set a macro onload to refresh it for you: Private Sub Document_Open() ActiveDocument.Fields.Update End Sub
    – M.P.
    Aug 23, 2018 at 9:21
  • Macro won't work for document template in SharePoint online Dec 12, 2018 at 4:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.