Post

3 followers Follow
1

Export Workspace Name and ID

To make use of the URL that opens a Workspace, you need to know the Workspace ID.   Currently this can only be obtained on an individual Workspace basis. 

It would be useful if ALL Workspace Names and Workspace IDs could be exported as a CSV file.  This would enable external applications that reference the Workspace Name to open the related Workspace. 

 

Status: None

Please sign in to leave a comment.

7 comments

0
Avatar

Hi Ron,

I believe Todd is referring to the goId.aspx page in our Interactive API described here (see the "Navigate to Workspace" section):

https://vault.netvoyage.com/neWeb2/delView.aspx?env=%2FQ2%2Fs%2Fe%2Fd%2F4%2FNetDocuments%20APIs.nev&dn=4&v=12&dl=1&p=0&e=20191231&t=h4zjjL8JR2yR%2FoRLrVKXFFb9SS4%3D&cg=NG-AAFK5DY7&hd=1&nf=N&s=VAULT-rduncan

So if you were basing your Workspaces on a Parent/Child attribute relationship and you were looking for a Workspace with a parent value of 00001 and a child value of 12345, you could use this URL:

https://vault.netvoyage.com/neWeb2/goId.aspx?ws=12345&wsParent=00001

You would also need to specify the cabinet if you have access to multiple cabinets that use Workspaces.

0 votes
0
Avatar

Dan is correct, that is what I was referring to.

If you really wanted to use the workspace ID you could use the REST API to search for and obtain the workspace ID's, with a couple of caveats.

  1. Workspaces don't exist until someone accesses them for the first time, so you won't get any search results for workspaces that have not been accessed yet
  2. I believe when workspaces are reset, they are actually deleted and recreated, and so in this case they would get new ID's
  3. At one point a long time ago there was bug which occasionally caused multiple workspace objects to be created for a workspace, so you would get multiple workspace ID's returned in a search if that were the case
0 votes
0
Avatar

Thanks Dan, that almost solved my problem.   This works for the ProdOrg-Case Cabinet:

https://vault.netvoyage.com/neWeb2/goId.aspx?ws=00001015  

but this does not work for the ProdOrg-Policy Cabinet.

https://vault.netvoyage.com/neWeb2/goId.aspx?ws=PN-001507 

nor does this (it returns a Server Error): 

https://vault.netvoyage.com/neWeb2/goId.aspx?ws=PN-001507&cabinet=ProdOrg-Policy 

How do I specify the cabinet name in the URL? 

0 votes
0
Avatar

Hi Ron,

You would specify the cabinet using the cabinet GUID. For example, if your ProdOrg-Policy cab GUID was NG-1234ABCD then your URl should look like this:

https://vault.netvoyage.com/neWeb2/goId.aspx?ws=PN-001507&cabinet=NG-1234ABCD

An easy way to find your cabinet GUID is by going to the Cabinet Admin page and pulling it out of the browser address bar. It will start with NG- followed by 8 digits.

Todd, as for your item #2 in your last response, a WS Refresh/Reset should retain the same WS ID. 

0 votes