Home
TeamSite
Is it possible to generate an NRL file via the iManage API?
johnsibly
Using the Autonomy Interwoven products Desksite or Filesite, it is possible to drag a document out of the application onto the desktop, which creates a .NRL file.
This file contains metadata including the name of the Interwoven server, the document id, version of the document etc.
Assuming we have a reference to an existing IManage.IManDocument object, is it possible to generate one of these nrl files programmatically via the SDK?
The NRL format does not look too complicated and we could build it up ourselves - however using the SDK would feel a lot more robust.
Find more posts tagged with
Comments
Aphillippe
It is indeed easy to create a dynamic nrl file. I use VBA to create one.
All you need is the session name, database name, document number and version number (in fact, version number can be left at 1 and latest=Y to get the latest version). Just recreate the file exactly as the nrls generated by filesite. (watch out for the line break after the first session name, you have to use vbLf in order for filesite to read the file correctly).
If you want to do it through the SDK, I guess you would have to return a document object, retrieve the above information and create a file as above.
As our session and database never change, I just needed the document number, so no need for any sdk code.