We have a html file in a Document Library which contains a large html table with useful info. (this files is exported manually from a different app) The info would be even more useful/accessible if it was in json format. (far faster to load and more accessible) The use case would be :
- User uploads more recent file html file to the document library
- User goes to a wikipage on the sharepoint site and clicks on a large button "Update JSON"
- A javascript does the following
- reads the contents of the html file
- generates valid json
- saves this json to an existing .json file in the document library, overwriting the current contents
Any ideas ??
Thanks / Colm
P.S. Everything has to be client-side, javascript is the only option.