Community
Vault Forum
Welcome to Autodesk’s Vault Forums. Share your knowledge, ask questions, and explore popular Vault topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create new property for a File in autodesk Vault 2012 in VB.net

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
sabuj.saha
816 Views, 6 Replies

Create new property for a File in autodesk Vault 2012 in VB.net

I am wanting to create a new property for a file in vault. I could not find any code sample to start with.

Any idea how can I do it...

6 REPLIES 6
Message 2 of 7
FarrenYoung
in reply to: sabuj.saha

Hi Sabuj,

 

You will likely get more results in the Vault Customization forum.  You are in the general forum.

http://forums.autodesk.com/t5/Autodesk-Vault-Customization/bd-p/301

 

Have you seen the AddPropertyDefinition function on the PropertyService class?

 

Thanks,

 

--Farren

************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************
Message 3 of 7
FarrenYoung
in reply to: sabuj.saha

I found the following via www.google.com

 

http://adndevblog.typepad.com/manufacturing/2012/06/add-user-defined-property-by-vault-api.html

 

Thanks,

--Farren

************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************
Message 4 of 7
sabuj.saha
in reply to: FarrenYoung

I found that after I posted this thread...

Thanks For the link...

Message 5 of 7
sabuj.saha
in reply to: FarrenYoung

The property mapping in that example is write.. I am needing a property that will do both ways.

Do you know how that can be done?

 

Regards

Sabuj

Message 6 of 7
FarrenYoung
in reply to: sabuj.saha

Do you have the vault api help file?  You should be able to search that and see:

AllowedMappingDirection Enum

Summary

The allowed property mapping direction values.


ValuesNone
Read
ReadAndWrite
Write
 
Also, if you use Visual Studio you should have intellisense that would show you the options...
 
Thanks,
--Farren

************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************
Message 7 of 7
sabuj.saha
in reply to: FarrenYoung

Thanks you so much..I will try that and get back to you on that....

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

Post to forums  

Autodesk Design & Make Report