Here is what I am trying to do. I am generating some text using JS and then I want to either upload that text as a file to a document library or edit the contents of an existing file.
I've been reading that uploading is not an option. Is there anyway to edit an already existing file? Or maybe some other way I am not thinking of?