Skip to Content
1
Former Member
Apr 11, 2016 at 07:28 AM

WebIDE Create new file

61 Views

HI,

Which API should I use in order to create/generate new file in the WebIDE ?

I've content which I want to put inside generated file.

my project is build like

myProj

folderA

fileA

FolderB

fileB

Lest assume that I need to create new html file inside folderA.

Which services I need to use ?

i've the

service.filesystem.documentProvider

I saw the service but not sure if it is the right service and how to use it inside my project for specific folder

oFolderDocument.importFile(new Blob([ my content])

Example will be very helpful

Message was edited by: Stephane Singler