Export not working
#6
oh duh. I thought the default value at the beginning of the table in the export file (ssBig GrinefaultColumnWidth="60") catches this and assumes that value for all non-defined variables.

anyhow, this works:
xml:

<Worksheet ss:Name="movielist">
  <Table x:FullColumns="1" x:FullRows="1" ssBig GrinefaultColumnWidth="60">

   <Column ss:Width="200.00"/>
   <Column ss:Width="33.00" ss:StyleID="s22" />
   <Column ss:Width="70.00" ss:StyleID="s23" />
   <Column ss:Width="100.00"/>
   <Column ss:Width="100.00"/>
   <Column ss:Width="300.00"/>

${foreach movies movie}
   <Row>
    <Cell><Data ss:Type="String">${movie.title}</Data></Cell>
    <Cell><Data ss:Type="Number">${movie.year}</Data></Cell>
    <Cell><Data ss:Type="DateTime">${movie.dateAdded;date(yyyy-MM-dd)}T00:00:00.000</Data></Cell>
    <Cell><Data ss:Type="Number">${movie.ratings.imdb.rating}</Data></Cell>
    <Cell><Data ss:Type="Number">${movie.ratings.imdb.votes}</Data></Cell>
    <Cell><Data ss:Type="String">${movie.path}</Data></Cell>
   </Row>
${end}
and yay! :-)

now that this works, is there a way I can get metacritic values and rottentomatos values too? thanks so far!


Messages In This Thread
Export not working - by loungebob - 2018-04-11, 01:17
RE: Export not working - by mlaggner - 2018-04-11, 07:42
RE: Export not working - by loungebob - 2018-04-11, 08:38
RE: Export not working - by mlaggner - 2018-04-11, 08:49
RE: Export not working - by Klojum - 2018-04-11, 08:55
RE: Export not working - by loungebob - 2018-04-11, 10:01
RE: Export not working - by thwaller - 2018-07-07, 20:43
RE: Export not working - by Klojum - 2018-07-07, 20:59
Logout Mark Read Team Forum Stats Members Help
Export not working0