[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] UserID's on import



Cheers all who've answered this! I've got that set on the document import but not on the user import. I'll see how I get on with that.

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of John Salter
Sent: 10 May 2017 15:25
To: eprints-tech at ecs.soton.ac.uk
Subject: Re: [EP-tech] UserID's on import

Hi Andrew,

>perldoc bin/import
...
       --enable-import-fields
               Allow the import to set fields that are set as not to be imported. This is typically used to specify the imported object id.
...

Does that help at all?

Cheers,
John

From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 10 May 2017 15:14
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] UserID's on import

Hello all!

Still working on my EPrints migration. I'm trying to import an XML file with user details contained, however I'm hitting a bit of a stumbling block - the import seems to be wanting to assign the users their own ID rather than use the one that is in the XML file which means that certain relationships between users and records seem to be out of sync. Is this a thing or am I imagining it? Is there a command on the import I need to include that I'm perhaps missing? Any thoughts would be most welcome!

Andrew

The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170510/832fa4b5/attachment.html