cancel
Showing results for 
Search instead for 
Did you mean: 

Finding a tenant name given the ID of a document

leey522
Champ in-the-making
Champ in-the-making
Given a document ID, is there a way to find out which tenant the document belongs to?

Thanks in advance


Lee
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Dbid or node ref?    Node ref requires tennant Id / repoid to be unique.

Dbid requires repoid to be unique.

So you may be able to find the tennant I'd from the dbid.      (I.e.  it's theoretically possible)

You can probably find some tennant ids from node ref however note that that's plural.

leey522
Champ in-the-making
Champ in-the-making
Both id and nodeRef properties of the document are available at the time. 
Is there a SQL that I can run to find the tenant that the document belongs to?

Thanks.

Lee