Using VDF in PowerShell

Using VDF in PowerShell

jbetz42
Contributor Contributor
712 Views
2 Replies
Message 1 of 3

Using VDF in PowerShell

jbetz42
Contributor
Contributor

Dear @Markus.Koechl,

may I ask you once again for your help regarding PowerShell and the Vault API? I am still working my way through the VaultSDK.chm help file. Your examples to use the WebServices API worked great but I am struggling to use the VDF with PowerShell. I could not find an example in any of the Autodesk University handouts or in this forum.

 

I'm currently trying to read property values of a file stored in Vault. From my understanding I need some kind of connection to the Autodesk.DataManagement.Client.Framework (VDF) and if this connection is established I could use the Autodesk.DataManagement.Client.Framework.Currency and in particular the PropertyDefinition Class to access property data of a document stored in Vault:

 

jbetz42_0-1719261644566.png

 

Do you have a minimal PowerShell example at hand that demonstrate the VDF initialization and how to use the PropertyDefinition Class to read property data of a file/folder?

0 Likes
713 Views
2 Replies
Replies (2)
Message 2 of 3

jbetz42
Contributor
Contributor

Can anyone else help out and provide a minimal example that demonstrates how to read property values of a file or folder in Vault using VDF in PowerShell?

0 Likes
Message 3 of 3

kefer_kb
Advocate
Advocate

Help this?

Get property value from file in Vault 

www.gfm.at
0 Likes