<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
<meta content="text/html; charset=UTF-8">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="">
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
Hi,</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
Nice mini-project :) and something we need for teaching purposes. We need to show students offentlig journal&nbsp;<span style="font-size:12pt">and this is a nice thing to be able to show them.</span></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
<span style="font-size:12pt"><br>
</span></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
<span style="font-size:12pt">The missing&nbsp;</span><a href="http://rel.kxml.no/noark5/v4/api/sakarkiv/saksmappe/" class="x_OWAAutoLink" id="LPlnk63238" style="font-size:12pt" previewremoved="true">http://rel.kxml.no/noark5/v4/api/sakarkiv/saksmappe/</a>&nbsp;<span style="font-size:12pt">is
 something that just needs to be fixed. But the REL is not&nbsp;</span>officially<span style="font-size:12pt">&nbsp;associated with a series from what I remember. So we have to add it as a nikita REL. I can look at this once I finish correspondencePart. It has proved
 to be difficult. I&nbsp;added a mangelmelding on this that describes how we implement the solution.</span></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
I am surprised that there is a problem with&nbsp;<span>/sakarkiv/saksmappe/&lt;id&gt;/journalpost/ . I'll take a look at it once I finish with&nbsp;</span>&nbsp;<span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">correspondencePart.</span></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"><br>
</span></p>
<p style="">But the proper solution for&nbsp;what you are trying to do is an OData request. &nbsp;Implementing OData is&nbsp;beginning&nbsp;to become more and more important. Unfortunately a&nbsp;OData implementation might be bigger than nikita itself. So we have to see if we can integrate
 apache olingo .</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 12pt;">
<span style="font-size:12pt">&nbsp;- Tom</span></p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> nikita-noark-bounces@nuug.no &lt;nikita-noark-bounces@nuug.no&gt; on behalf of Petter Reinholdtsen &lt;pere@hungry.com&gt;<br>
<b>Sent:</b> Monday, May 22, 2017 2:00:03 PM<br>
<b>To:</b> nikita-noark@nuug.no<br>
<b>Subject:</b> First draft for public mail journal view - demo but not yet working</font>
<div>&nbsp;</div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText"><br>
I had a look at how to create a public mail journal view for the API,<br>
and pushed web/postliste.html to test this.&nbsp; The javascript code is in<br>
javascript/client.js alongside the the code for the API browser.<br>
<br>
It will show a HTML select option for fonds (arkiv) and series<br>
(arkivdel), and show files for the selected fonds and series as a simple<br>
table.<br>
<br>
I tried to show the case file list instead, but the endpoint for the<br>
<a href="http://rel.kxml.no/noark5/v4/api/sakarkiv/saksmappe/" id="LPlnk3652" previewremoved="true">http://rel.kxml.no/noark5/v4/api/sakarkiv/saksmappe/</a> relation is not<br>
<br>
working for series, so I could not get the relevant case files for a<br>
given series.<br>
<br>
A more serious problem is that I actually want to show the latest<br>
registry entry (journalpost) set, but did not figure a sensible way to<br>
get that list for a given fonds or series.&nbsp; The only way I could think<br>
of is to ask for all files, check their 'self' link to see if it is a<br>
sakarkiv/saksmappe href, and then look up all journalpost entries<br>
associated with a given case file.&nbsp; This stranded because<br>
.../sakarkiv/saksmappe/&lt;id&gt;/journalpost/ do not work, so I do not know<br>
how to find all registry entries for a given case file.<br>
<br>
Input needed. :)<br>
<br>
-- <br>
Happy hacking<br>
Petter Reinholdtsen<br>
_______________________________________________<br>
nikita-noark mailing list<br>
nikita-noark@nuug.no<br>
<a href="https://lists.nuug.no/mailman/listinfo/nikita-noark" id="LPlnk653892" previewremoved="true">https://lists.nuug.no/mailman/listinfo/nikita-noark</a>
<div id="LPBorder_GT_14954558053290.1997039740615607" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14954558053230.8759033044868509" role="presentation" cellspacing="0" style="width: 90%; position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top-width: 1px; border-top-style: dotted; border-top-color: rgb(200, 200, 200); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(200, 200, 200); background-color: rgb(255, 255, 255);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14954558053240.22193137592323953" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14954558053250.43463106269746854"></div>
<div id="LPTitle_14954558053250.01095973097592795" style="top: 0px; color: rgb(0, 114, 198); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, 'Segoe UI Light', 'Segoe WP Light', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14954558053260.9403201394036071" href="https://lists.nuug.no/mailman/listinfo/nikita-noark" target="_blank" style="text-decoration: none;">nikita-noark Info Page - NUUG</a></div>
<div id="LPMetadata_14954558053270.7799297769027234" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.nuug.no</div>
<div id="LPDescription_14954558053280.870484553323005" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
To see the collection of prior postings to the list, visit the nikita-noark Archives. Using nikita-noark: To post a message to all the list members ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
</span></font></div>
</body>
</html>