Sep 11 2023 02:35 AM
I want to create a Worddoc where a picture changes automatically once the pic in the Sharepoint doclib is replaced. (the Worddoc and the SP have accessrights for the same group of people on the same tenant on MS365 Business Standard)
I just tried the Insert> QuickParts >Field > Links & Refernces > Include Picture. I get this error.
Even when I use the URL of a pic on a (public) website it returns the same error. While in both cases the links on themselves work fine in a browser. So I guess there is something other than the link not working. Have you got any idea on how to fix this issue? And once it works, how to preserve the sizing on updating (if anything should be done for that)?
Sep 11 2023 07:02 AM
Hi @SaraBo,
To insert a picture from a SharePoint document library hyperlink into a Word document and ensure it automatically updates when the source image changes, follow these steps:
Get the SharePoint Document Library URL:
Insert an Image Placeholder:
Select the IncludePicture Field:
Set the Field Codes:
Replace "URL" with the direct link to your image in the SharePoint library.
Preserve Image Sizing:
Replace "URL" with your SharePoint image link.
Update the Field:
Save and Share:
Now, when you replace the source image in the SharePoint library, you can update the image in your Word document by right-clicking on it and choosing "Update Field."
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
Sep 11 2023 09:03 AM
Sep 12 2023 12:07 AM
@SaraBo To update fields, you need to select them (or use CTRL+a to select everything in the document and then press F9 (or Fn+F9 on some keyboards)
Sep 12 2023 08:51 AM
Sep 12 2023 11:57 AM
@SaraBo To provide access to files (pictures) on OneDrive, they need to be "shared" As I do not use Sharepoint, I do not know anything about it, but it also may require that the file be shared.
Sep 12 2023 01:09 PM
Sep 12 2023 01:28 PM