putfile
putfile(filename, objectname, folder, rendition, ud)
This callback corresponds to the
sess_put_file function and adds a file (usually a graphic file) to the document repository.
• filename — the name of the file to add to the repository
• objectname — the name of the new object to add to the repository
• folder — the location for the new object in the repository
• rendition — the desired rendition of a graphic object; value must match one of the notations declared in your data model
• ud — user defined information; strings must match the adapter encoding
The putfile callback returns the following string:
• "IO_ERR_NOMORE" — the normal putfile routine should be performed
• If any other string is returned, the callback succeeded and the returned string represents the logical ID of the object that was created. The normal putfile function should not be performed.
Related Topics