<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I want to create a new browse view based by document language, but I
    can't figure out what field to call, and I can't find any references
    in the documentation. I keep getting variations of the error:
    Dataset eprint does not have a field 'language'<br>
    <br>
    My code looks like this:<br>
    <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id =&gt; "doclang",<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; menus =&gt; [<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; fields =&gt; [ "language" ],<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new_column_at =&gt; [10,10],<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ],<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order =&gt; "-date/title",<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; variations =&gt; [<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "creators_name;first_letter",<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "date",<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "projects",<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "DEFAULT" ],<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<br>
    <br>
    I have also tried document.language, and a few other options, that
    seemed logical.<br>
    <br>
    Which field should I call? I found an old thread on the subject with
    a hack that might work, but the thread also mentioned, that the
    feature was on the road map, so I guess it would be implemented by
    know.<br>
    <br>
    Help would be greatly appreciated.<br>
    <div class="moz-signature">-- <br>
      <p style="color:#999;"><strong>Med venlig hilsen/Best regards</strong></p>
      <p style="color:#999;"><strong>JACOB WENZEL<br>
          Projektleder</strong></p>
      <p style="color:#999;"><strong>ENERGIAKADEMIET</strong><br>
        Strandengen 1<br>
        8305 SAMS&Oslash;<br>
        +45 60 61 15 97<br>
        <a style="color:#999; text-decoration:none;"
          href="mailto:jw@energiakademiet.dk">jw@energiakademiet.dk</a><br>
        <a style="color:#999; text-decoration:none;"
          href="http://energiakademiet.dk">www.energiakademiet.dk</a><br>
      </p>
    </div>
  </body>
</html>