DM_Logon
Creates the connection to the Documentum repository into which you can upload pages and documents.
Syntax
bool DM_Logon (string sRepositoryDomain, string sRepositoryName, string sUserID, string sPassword)
Parameters
string sRepositoryDomainstring sRepositoryName
string sUserID
String sPassword
Parameters
- sRepositoryDomain: The machine name for the repository.
- sRepositoryName: The name of the repository.
- sUserID: The userid for logon.
- sPassword: The password
The parameters cannot be blank. Smart parameters are supported.
Note: Use
a Smart parameter to obtain the password from the application service
instead of hardcoding it in the rules.
Returns
True, if the logon is successful. Otherwise, False.Level
This action can be called at any level but is recommended to be called at the batch level. It must be called only once per task.Details
Creates the connection to the repository where the pages are uploaded. This action must be called before DM_UploadPage or DM_UploadDocument. The user ID must have write permission or files cannot be uploaded.It is recommended that you create an advanced value in the custom values tab in the Application Manager to store your password.
- Example:
DM_Logon("machinename", "repository", "userid", "password") DM_Logon("machinename", "repository", "userid", "@APPVAR(values/adv/MyPassword)")This example uses the Smart parameter @APPVAR to obtain the password from the advanced value section of the application manager. The custom value name is "MyPassword".