Hi,
Please let me know is that the correct approach to submit the item(From
other web apps):
1. Getting matadat through form.
2. creating dublin_core.xml using form data.
3. uploading files in a location.
4. calling import class from struts action.
Please suggest if there is other way to accomplish this.
Amit
On Thu, Apr 12, 2012 at 5:16 PM, helix84 <[email protected]> wrote:
> 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