4D v16WP Import document |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
WP Import document
WP Import document
The WP Import document command converts an existing 4D Write Pro or 4D Write document (.4wp, .4w7 or .4wt) to a new 4D Write Pro object. In the filePath parameter, pass the path of a document stored on disk. The following types of documents are supported:
You must pass a complete path, unless the document is located at the same level as the structure file, in which case you can just pass its name. After execution, the command returns the 4D Write Pro object resulting from this conversion. Note: If you want to import a document stored in a 4D BLOB field, you can also consider using the WP New command. An error is returned if the filePath parameter is invalid, or if the file is missing or the file format is not supported. C_OBJECT(WPDoc)
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v14 R5 ARTICLE USAGE
4D Write Pro Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||