-
Is there an easy way to convert html that points to image on SharePoint? I tried test code like this as a way to get around using SharePoint image url, which in this case would most likely be possible
results in
so that is working. As I'm doing some other stuff with the document and just taking InnerXML of the body, at least that is my plan for now - where can I find image attachment in the documentFormat.openXml WordprocessingDocument package? I guess maybe better way to ask - what is the easiest way i can get /media/image.png from the zip stream and keep xml pointing to it in working in different openXml document? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can implement your own version of IWebRequestor and provide it to the constructor of HtmlConverter. |
Beta Was this translation helpful? Give feedback.
You can implement your own version of IWebRequestor and provide it to the constructor of HtmlConverter.
There are so many authentication mode in SharePoint (on prem vs online) but by rolling out your own webRequestor class, you can control the SP ClientContext.