[EP-tech] Export::MultilineCSV

Matthew Brady via Eprints-tech <[email protected]> Thu, 19 Dec 2019 05:42:08 +0000
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|4dbbdfa404883394a21f753f32ad8817vBI5gX14eprints-tech-bounces|ecs.soton.ac.uk|MEAPR01MB4039E7FAEF1864ED58B9030FD9520@MEAPR01MB4039.ausprd01.prod.outlook.com>
--===============2637222694420202102==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_MEAPR01MB4039E7FAEF1864ED58B9030FD9520MEAPR01MB4039ausp_"

--_000_MEAPR01MB4039E7FAEF1864ED58B9030FD9520MEAPR01MB4039ausp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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 e=
xpected... 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 dat=
a fields are provided in the CSV file, but obviously only for the single it=
em...

The discrepancy is...
Scenario 1 provides a Header row, field names etc... , while Scenario 2 doe=
s not.


Any hints/explanations would be most appreciated..

Cheers,
Matt.

__________________________________________________________________
This email (including any attached files) is confidential and is=20
for the intended recipient(s) only. If you received this email by=20
mistake, please, as a courtesy, tell the sender, then delete this=20
email.

The views and opinions are the originator's and do not necessarily=20
reflect those of the University of Southern Queensland. Although=20
all reasonable precautions were taken to ensure that this email=20
contained no viruses at the time it was sent we accept no=20
liability for any losses arising from its receipt.

The University of Southern Queensland is a registered provider=20
of education with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )


--_000_MEAPR01MB4039E7FAEF1864ED58B9030FD9520MEAPR01MB4039ausp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Verdana",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-AU" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Hi All,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Staff have come across a discrepancy, with Multilin=
eCSV exports, and I can&#8217;t seem to track down the cause and/or a viabl=
e resolution&#8230;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Scenario 1) &nbsp;Perform an item search, get a lis=
t of results returned, select MultilineCSV, --&gt; Export&#8230;&nbsp; The =
resulting CSV file, contains everything expected&#8230; for each item in
 the search result list&#8230; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Scenario 2)&nbsp; While Logged in, performing edito=
rial tasks, on the &#8216;Actions&#8217; tab, there is an Export option..&n=
bsp; Generating the CSV this way, the same data fields are provided
 in the CSV file, but obviously only for the single item&#8230;<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">The discrepancy is&#8230;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Scenario 1 provides a Header row, field names etc&#=
8230; , while Scenario 2 does not.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Any hints/explanations would be most appreciated..<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Cheers,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Matt.<o:p></o:p></span></p>
</div>
<PRE>__________________________________________________________________
This email (including any attached files) is confidential and is=20
for the intended recipient(s) only. If you received this email by=20
mistake, please, as a courtesy, tell the sender, then delete this=20
email.

The views and opinions are the originator's and do not necessarily=20
reflect those of the University of Southern Queensland. Although=20
all reasonable precautions were taken to ensure that this email=20
contained no viruses at the time it was sent we accept no=20
liability for any losses arising from its receipt.

The University of Southern Queensland is a registered provider=20
of education with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )
</PRE></body>
</html>

--_000_MEAPR01MB4039E7FAEF1864ED58B9030FD9520MEAPR01MB4039ausp_--

--===============2637222694420202102==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

--===============2637222694420202102==--