I was exploring a way which allow me to export a list item as .docx
file. And i keep trying and searching till i find this appraoch which sound promising to me link.
This approach mainly include creating a word document, based on the list item fields using workflow. so i created the workflow, and i added the columns to the document template. and it worked well.
But when i did more deep testing i realize that if the list item have a column of type Rich Text (which is named "Project overview" in my case), and i will populate the column inside my workflow as follow:-
Then the rich text value inside the new document file will be displayed with all the HTML tags, as follow:-
and if the Rich Text column have images inside it, then inside the word document the image will be shown as <img>
instead of showing the actual image? so can anyone advice if i can show the Rich Text content including images inside my word document, using the above appraoch ?
Thanks
<>
a valid option to try ? Second question. now my main requirement is that i want to export the list item as.docx
file, regardless of following my above appraoch or not so is there a way to achieve this requirement inside sharepoint, using java-script or other methods ? i always got surprised how i can find technical articles over the web as the one I followed and it is being rated by users, but at the same time it have major bugs in it! – john Gu Jun 13 '17 at 14:01<div
anddiv>
tags, as there are several<
s and>
s in your example. 2: I believe you have already found a blog post doing the .docx exporting. It's hard to provide a 100% universally working solution. I understand your need is to have a completely content extracting and to .docx importing solution, but expecting e.g.<img>
-contents to be formatted as Word's images is almost absurd. There are limitations which can't be surpassed without an external help - which in this case would be a 3rd party tool to handle the conversion. – moe Jun 13 '17 at 14:09