We need to download a MS-Word Document from a Visualforce page which needs to contain the information from the Browser Local Storage as well. How can we fetch and download the value from Browser local storage to a MS-Word file?
Currently we using contentType="application/msWord#test.doc" for downloading the VF page as msWord file but not able add the values fetched from Browser Local Storage the VF page so that the downloaded file can also be updated from the data fetched from browser local storage.
Also, if we can achieve through lightning component and VF page, do share your thoughts as we need to provide around 50000 character length from local storage download in msWord file using a VF page.
Also, just to share we will use this feature for a managed package(if this would make any difference in the solution or workaround).