Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
How to determine if a folder is set to default or alternate working folder via SDK?
While using SDK, are there any attributes
or methods to determine if a folder"s working folder is set to
Default or Alternate?
Currently, there are no direct attributes or methods to
retrieve the working folder settings in StFolder object. However,
this can easily be determined by using existing attributes. Below
VB code snippets will demonstrate how this can be done.
If
(folder.PathFragment = folder.AlternatePathFragment)
"Alternate
working folder is enabled
End If
If (folder.PathFragment =
folder.DefaultPathFragment)
"Default working
folder is enabled
End If
Author: Dixon Chan