File Loader Modal
The initialization methods cvjs_setServerFileLocation() and cvjs_setServerFileLocation_AbsolutePaths() controls the path to the file location, that links with the File Loader Modal.
// NOTE BELOW: THESE SETTINGS ARE FOR SERVER CONTROLS FOR UPLOAD OF FILES AND FILE MANAGER | |
// I am setting the full path to the location of the floorplan drawings (typically /home/myserver/drawings/floorplans/) | |
// and the relative location of floorplans drawings relative to my current location | |
// as well as the URL to the location of floorplan drawings with username and password if it is protected "" "" if not | |
// cvjs_setServerFileLocation(ServerLocation+'/content/drawings/dwg/', '../content/drawings/dwg/', ServerUrl+'/content/drawings/dwg/',"",""); | |
cvjs_setServerFileLocation_AbsolutePaths(ServerLocation+'/content/drawings/dwg/', ServerUrl+'content/drawings/dwg/',"",""); | |
// NOTE ABOVE: THESE SETTINGS ARE FOR SERVER CONTROLS FOR UPLOAD OF FILES AND FILE MANAGER | |
Click on the method to open the API documentation.
-
cvjs_setServerFileLocation() - optional
-
cvjs_setServerFileLocation_AbsolutePaths() - optional
NOTE: If ServerLocation is set to “", the back-end converter will concatenate to the back-end installation path.