D_pxNewFolder. The API represents the new folder as a data page when the data page is loaded.
To create a folder with this API, pass in the following parameters:
repositoryName – the name of the repository in which to create the file. For example , /defaultstore
folderPath – the path to the folder to be created relative to the root path of the repository. For Example :- /Dev
To create a folder, save the savable data page
Once the folder is created , then you can use D_pxNewFile to create file :-
Parameters used here are :-
repositoryName – the name of the repository in which to create the file.
filePath – the path, including the name of the file, to be created, relative to the root path of the repository. To find out what the path is, run D_pxListFiles against the repository and view the pyPath property.