putFile(filename, objectName, folderLogicalId, notation [, objType])
|
|
Parameters
|
Stringfilename
Specifies the path name to store. Because the adapter may create a file mapping entry, this path should be normalized. See the getFileMappingEntry for more details.
StringobjectName
Specifies the name of the CMS object to create. This is the suggested name. The adapter is allowed to use a variant of this name if, for example, the CMS disallows two objects with the same name in the same folder. The actual name used can be obtained by calling the Application.constructObject method with the returned Logical ID and accessing that object's name attribute.
StringfolderLogicalId
Specifies the location of the new object in the CMS. This may be the Logical ID of a folder or it may be in an adapter-specific path format.
Stringnotation
Specifies the graphic file format. This is optional.
StringobjType
[optional] Specifies the CMS object type for new object. If not supplied, the bursting rules are consulted to determine the object type.
|
Returns
|
String. The Logical ID of the new object.
|
Throws
|
CMSException
If an error occurs.
|