DM_SetObjectName

Sets the name of the file that you are uploading as it appears in the Documentum repository.

Syntax

bool DM_SetObjectName (StrParam)

Parameters

The name for the uploaded file as it will appear in repository. Smart parameters are supported.

Returns

Always True.

Level

Any level.

Details

This action is used to set the name of the uploaded file. This is not the file name as it exists in the batch, but the final name that will be used when viewed in the repository.

This action must be called prior to DM_UploadPage or DM_UploadDocument.

Example:
DM_SetFolderName("/folder1/folder2")
DM_SetContentType("tiff")
DM_SetObjectName("@ID")
DM_UploadDocument()