EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08075
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Export::MultilineCSV
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "Matthew Brady" <Matthew.Brady@usq.edu.au>
- Subject: Re: [EP-tech] Export::MultilineCSV
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Thu, 19 Dec 2019 08:34:24 +0000
Hi Matt, For multiple items this line is being called https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Plugin/Export/MultilineCSV.pm#L47 but for a single item there is no equivalent line https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Plugin/Export/MultilineCSV.pm#L60 The list function outputs a header, then calls the individual item function for each thing in the list, whilst the single item only calls the second function. Hope that explains it, if not solve your issue. Alan From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk>
On Behalf Of Matthew Brady via Eprints-tech Hi All, Staff have come across a discrepancy, with MultilineCSV exports, and I can’t seem to track down the cause and/or a viable resolution…
Scenario 1) Perform an item search, get a list of results returned, select MultilineCSV, --> Export… The resulting CSV file, contains everything expected… for
each item in the search result list… Scenario 2) While Logged in, performing editorial tasks, on the ‘Actions’ tab, there is an Export option.. Generating the CSV this way, the same data fields
are provided in the CSV file, but obviously only for the single item… The discrepancy is…
Scenario 1 provides a Header row, field names etc… , while Scenario 2 does not. Any hints/explanations would be most appreciated.. Cheers, Matt. __________________________________________________________________
This email (including any attached files) is confidential and is
for the intended recipient(s) only. If you received this email by
mistake, please, as a courtesy, tell the sender, then delete this
email.
The views and opinions are the originator's and do not necessarily
reflect those of the University of Southern Queensland. Although
all reasonable precautions were taken to ensure that this email
contained no viruses at the time it was sent we accept no
liability for any losses arising from its receipt.
The University of Southern Queensland is a registered provider
of education with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )
|
- Follow-Ups:
- Re: [EP-tech] Export::MultilineCSV
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] Export::MultilineCSV
- References:
- [EP-tech] Export::MultilineCSV
- From: Matthew Brady <Matthew.Brady@usq.edu.au>
- Re: [EP-tech] Export::MultilineCSV
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Export::MultilineCSV
- Prev by Date: [EP-tech] Export::MultilineCSV
- Next by Date: [EP-tech] Accessibility on EPrints
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):