On Thu, Apr 12, 2012 at 12:37, Shanu Jha <[email protected]> wrote:
> I am using import class to submit items.Is there any way by which I can get
> the handle for last submitted item?

One way to get the gandle is to generate a mapfile when calling the
importer, which is a text file containg your handle (see
[dspace]/bin/dspace import -h).

If you want to get the handle from within the ItemImport class, I
believe you can find the handles in the dircontents array in the
addItems() method. But don't take my word for it, I don't use this
importer.

Regards,
~~helix84

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to