Refresh item explorer via api

Refresh item explorer via api

Anonymous
Not applicable
742 Views
3 Replies
Message 1 of 4

Refresh item explorer via api

Anonymous
Not applicable

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

0 Likes
743 Views
3 Replies
Replies (3)
Message 2 of 4

marco.mirandola
Advocate
Advocate
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
0 Likes
Message 3 of 4

thomas_otto
Participant
Participant

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.

0 Likes
Message 4 of 4

dave_taylor
Advocate
Advocate

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

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

 


Dave Taylor
MCAD Solutions Engineer
Hagerman & Co.


Autodesk Certified Instructor - Platinum



*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.
0 Likes