Quantcast
Channel: Manufacturing DevBlog
Viewing all articles
Browse latest Browse all 516

Vault Browser control – icon column incorrect – call .Library.Initialize()

$
0
0

By Wayne Brill

This Login method used to log in to the Vault does not support a read-only login. 

Autodesk.DataManagement.Client.Framework.Vault.Forms Namespace > Library  Login Method

To log in read only you could use:

Autodesk.DataManagement.Client.Framework.Vault.Services Namespace > IVaultConnectionManagerService Interface > LogIn Method

Logging in this way adversely effects the Vault Browser control. Instead of the getting the icons in the icon column you get text with the ImageInfo type. (this behavior has been reported to Vault engineering).

The solution is to Initialize the library before logging in by making this call:

Autodesk.DataManagement.Client.Framework.Vault.Forms.Library.Initialize()


Viewing all articles
Browse latest Browse all 516

Trending Articles