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: 

Refresh item explorer via api

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
502 Views, 3 Replies

Refresh item explorer via api

Hello,

 

 

i use Vault 2014.


The Item explorer has over 500 items.


For selection of the last Item must push the button 'more'.


After selection, manipulate the item via API and call

e.Context.ForceRefresh = true;

The item Explorer is refreshed, but my Item is not on the visible list.


I must push the button 'more' to get the item.
Its possible to get the actual Item without 'more' button?

thanks

3 REPLIES 3
Message 2 of 4
marco.mirandola
in reply to: Anonymous

Hi, in the Context you should have also the GoToLocation. Set it to the object you like and the Vault Explorer will set the "cursor" to the according element. I never tried with item, but i guess it should work.


ciao
marco
coolOrange
www.coolorange.com
Message 3 of 4

I have set the GoToLocation Prperty and ForceRefresh = true but the selection is not on my item.
The item explorer shows only the first 100 items.

Message 4 of 4
dave_taylor
in reply to: Anonymous

I know this is a few years old, but I hope it helps others too...

e.Context.GoToLocation = New LocationContext(SelectionTypeId.Item, "<Item Number>")

 


Innovation and Development Strategist
Synergis Engineering Design Solutions
Autodesk Certified Instructor

Try out our vault add-in: Vault Sidekick
*Likes to this post are appreciated if the information I have shared is helpful to you and/or others...
**Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

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

Post to forums  

Autodesk Design & Make Report