cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Java API to get folder.id from OIR

Highlighted
Aquamarine

Java API to get folder.id from OIR

Hi.

 

I need java api to get context-dependent "folder.id" from soft type OIR.

I have soft type id looking like "wt.doc.WTDocument|ru.pts.TechDoc|ru.pts.DesignDoc".

 

I found two methods:

   

    FolderContextHelper.getServerAssignedOIRFolder(typeInstance)
    FolderContextHelper.getPregeneratedOIRFolder(typeInstance)

 

but they require TypeInstance and i don't know how to get it without object.

 

There is posibility to get folder by PersistableAdapter, but the result is context-independent.

 

Thanks.