Saves a document to the application server and specifies the document’s content type and privacy flag.
To save a document without specifying its content type and privacy flag, use SaveDocument. |
<HsvReports>.SaveDocumentEx bstrPath, bstrName, bstrDescription, lDocumentType, lDocumentFileType, lSecurityClass, varabyDocument, vbIsPrivate, lContentType, vbOverwriteExisting
String (ByVal). The path of the folder containing the documents. The folders in the path are delimited by backslashes ( \ ). | |
Long (ByVal). The document type. Valid values are represented by the HFMConstants type library constants listed in Document Type Constants. | |
Long (ByVal). The file type of the document. Valid values are represented by the HFMConstants type library constants listed in Document File Type Constants. | |
Long (ByVal). The ID of the document’s security class. You can get the ID from a security class name with GetSecurityClassID. | |
Byte array (ByVal). The document’s definition as an array of Bytes. | |
Boolean (ByVal). Specifies whether the folder is public or private. Pass TRUE for private, FALSE for public. | |
Long (ByVal). The type of documents that the folder can store, if you are saving a folder. If are saving a document type other than a folder, you can pass any Long, as SaveDocumentEx will ignore this argument’s value in that case. Valid values are represented by the HFMConstants type library constants listed in Document Type Constants. | |
Boolean (ByVal). Determines whether to overwrite a document of the same name on the application server. Pass TRUE to overwrite existing documents, FALSE otherwise. |