VaultFileProperties.SharedPaths

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
Nihimon
Posts: 68
Joined: Wed Sep 12, 2007 1:23 pm

VaultFileProperties.SharedPaths

Post by Nihimon » Mon Jun 01, 2009 3:56 pm

I'm trying to create an automated process using VaultClientIntegrationLib.

VaultClientOperationsLib.VaultClientFile.GetProperties() returns a VaultLib.VaultFilePropeties object, but the SharedPaths array is null, even when the file in question has Share Links. Is there something extra that must be done to load the Share Links?

I'm positive I'm using the correct VaultClientFile instance, because I'm getting the exact path match and the correct check-in datetime.

Unfortunately, the VaultClientIntegrationLib.chm doesn't cover any of the objects in the VaultClientOperationsLib or the VaultLib.

shannon

Re: VaultFileProperties.SharedPaths

Post by shannon » Mon Jun 01, 2009 6:20 pm

The VaultFileProperties object you're getting back is only partially populated.

Try using this method ServerOperations.client.ClientInstance.GetSharedPaths

Nihimon
Posts: 68
Joined: Wed Sep 12, 2007 1:23 pm

Re: VaultFileProperties.SharedPaths

Post by Nihimon » Wed Jun 03, 2009 7:42 am

Thanks, Shannon, that gave me exactly what I needed.

shannon

Re: VaultFileProperties.SharedPaths

Post by shannon » Wed Jun 03, 2009 7:52 am

Great, let us know if you have any other questions.

Post Reply