Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UpdateFolderProperties 2016 SDK

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Littlerubarb
543 Views, 1 Reply

UpdateFolderProperties 2016 SDK

Any ideas what the new method for UpdateFolderProperties  since it was Removed from DocumentServiceExtensions class... The 2016 SDK documentation still references DocumentServiceExtensions

 

Old way:

 

myconnection.WebServiceManager.DocumentServiceExtensions.UpdateFolderProperties(New Long() {folderItem.EntityMasterId}, New Long() {propDefs.Id}, New String() {returnvalue}

 

New way: ?

 

 

1 REPLY 1
Message 2 of 2
Littlerubarb
in reply to: Littlerubarb

Must be PropInstParamArray()

 

Dim propInstParamArray As PropInstParamArray() = New PropInstParamArray() {New PropInstParamArray() With {.Items = New PropInstParam() {New PropInstParam() With {.PropDefId = propDefs.Id, .Val = returnvalue}}}}


myconnection.WebServiceMana ger.DocumentServiceExtensions.UpdateFolderProperties((New Long() {folderItem.EntityMasterId}), propInstParamArray)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report