Properties ID + API documentation

Properties ID + API documentation

PLM-Sylvain.Bailly
Collaborator Collaborator
1,387 Views
2 Replies
Message 1 of 3

Properties ID + API documentation

PLM-Sylvain.Bailly
Collaborator
Collaborator

Hello guys,

 

Sorry to ask this question because I think that it is a basic one.

Where can I find the properties ID for Vault. For example I would like to know the ID of the property "Part Number", "File Extension", my UDP,... and in the meantime, where is the API to have all the functions explained. It could help!

 

Thank you very much,

Best regards,

Sylvain

0 Likes
Accepted solutions (1)
1,388 Views
2 Replies
Replies (2)
Message 2 of 3

psaarloos
Collaborator
Collaborator
Accepted solution

Hi Sylvain,

 

You can find the Vault SDK in the Program Files\Autodesk\Vault Workgroup or Vault Professional folder, or the Program Files

\Autodesk\ADMS Console folder on your Vault server.

 

After installing the SDK, you'll find everything in the Program Files (x86)\Autodesk\Autodesk Vault SDK 201x. The docs folder in there contains a good help file. The vs15 folder contains quite some sample.

 

I think these souces should give you a start on how to connect with Vault. Take a look at the PropertyService in the help file to learn more about property handling.

 

Below a very small sample on how to get a PropDef object of a certain property :

 

PropDef[] props = Connection.WebServiceManager.PropertyService.FindPropertyDefinitionsBySystemNames(
                "FILE", new string [] {"CheckInDate"});

 

Hope this helps!

Regards,
Pim Saarloos
Product Manager
If my post answers your question, please click the "Accept as Solution" button. Kudos are much appreciated!
Message 3 of 3

PLM-Sylvain.Bailly
Collaborator
Collaborator

Hi Pim,

 

I will check on the server but for the moment the IT service block all access.

When I have some news about it I will come back.

 

Have a nice day,

Sylvain

0 Likes