The import_into_this_document function imports the content of a file into a document.
import_into_this_document( doc, filename_specifier )
| Argument | Description |
|---|---|
doc
|
(LuaDocument) The document into which you want to import additional content. |
filename_specifier
|
(string) The content that you want to import into the document. You can specify:
|
Boolean. Always returns true.
The following example imports the content of a file into the document. The path or URL to the file is specified in a document field named MyField.
import_into_this_document(document, "MyField")
|
|