...
...
API to import a document by entering api and params in the Editor object.
Parameters:
Name | Type | Description |
---|
api | String | 서버로 요청할 apiAPI to request to the server |
params | Objectapi | request에 설정할 parameterParameter to set in the api request |
bOverwrite | Boolean | 임포트시 덮어쓰기 (true인 경우 덮어쓰기) |
참고) 절대 경로를 활용한 import
...
Overwrite during import (overwrite when set to true) |
Note) Import Using Absolute Path
You may import a document by receiving the document's absolute server path as params and using that in the server's import logic.
Example:
Code Block |
---|
|
const api = "./importOnServer";
const params = { path: "D:\test.docx" };
editor.openDocumentOnServer(api, params, true); |
...