Item.setFileProperty()
Copy
The Item function setFileProperty()takes in 2 parameters: property and file path.
- Property – The property of type file for which you want to set the file item for add
- File path – The file path to the file on the file system
Example:
Item cadItem = inn.newItem(“CAD”, “add”);
cadItem.setFileProperty(“native_file”, filePath);
...