I want to get items from the List which matches my filter criteria and write these items into word document in tabular format.
For example, if i have courseID
,studentname
,studentid
as columns in my list, I want to write those items which matches CourseID=2
into word document in a tabular format and automatically upload it into document library.
I want to achieve this in SharePoint Online. I tried doing it with javascript, I found few code snippets to write to text file and upload it to document library.