I have a setup where we have multiple vaults. I have a workflow where we are running VBScript actions that is logging into a separate vault. Our organization is looking to implement SSO for M-Files, and I've done a few rounds of testing to see how this will work with the VBScript we are running.
The action where we are logging into a separate vault seems to be the only area where we are seeing issues. The code block below is how we are currently logging in to the target vault.
'Instatiate Client Application Dim oClientApp : Set oClientApp = CreateObject("MFilesAPI.MFilesClientApplication") 'Connect to Vault Dim oVault : Set oVault = oClientApp.BindToVault("vaultName", 0, True, True)
And when SSO is enabled on the target vault, the script seems to just time out, and doesn't give an error.
Is it possible to log in to a vault with SSO through VBScript? And if so what is the best way to do so?