First draft for public mail journal view - demo but not yet working

Thomas Sødring Thomas.Sodring at hioa.no
Mon May 22 14:27:39 CEST 2017


Hi,


Nice mini-project :) and something we need for teaching purposes. We need to show students offentlig journal and this is a nice thing to be able to show them.


The missing http://rel.kxml.no/noark5/v4/api/sakarkiv/saksmappe/ is something that just needs to be fixed. But the REL is not officially 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 added a mangelmelding on this that describes how we implement the solution.


I am surprised that there is a problem with /sakarkiv/saksmappe/<id>/journalpost/ . I'll take a look at it once I finish with  correspondencePart.


But the proper solution for what you are trying to do is an OData request.  Implementing OData is beginning to become more and more important. Unfortunately a OData implementation might be bigger than nikita itself. So we have to see if we can integrate apache olingo .


 - Tom

________________________________
From: nikita-noark-bounces at nuug.no <nikita-noark-bounces at nuug.no> on behalf of Petter Reinholdtsen <pere at hungry.com>
Sent: Monday, May 22, 2017 2:00:03 PM
To: nikita-noark at nuug.no
Subject: First draft for public mail journal view - demo but not yet working


I had a look at how to create a public mail journal view for the API,
and pushed web/postliste.html to test this.  The javascript code is in
javascript/client.js alongside the the code for the API browser.

It will show a HTML select option for fonds (arkiv) and series
(arkivdel), and show files for the selected fonds and series as a simple
table.

I tried to show the case file list instead, but the endpoint for the
http://rel.kxml.no/noark5/v4/api/sakarkiv/saksmappe/ relation is not

working for series, so I could not get the relevant case files for a
given series.

A more serious problem is that I actually want to show the latest
registry entry (journalpost) set, but did not figure a sensible way to
get that list for a given fonds or series.  The only way I could think
of is to ask for all files, check their 'self' link to see if it is a
sakarkiv/saksmappe href, and then look up all journalpost entries
associated with a given case file.  This stranded because
.../sakarkiv/saksmappe/<id>/journalpost/ do not work, so I do not know
how to find all registry entries for a given case file.

Input needed. :)

--
Happy hacking
Petter Reinholdtsen
_______________________________________________
nikita-noark mailing list
nikita-noark at nuug.no
https://lists.nuug.no/mailman/listinfo/nikita-noark
nikita-noark Info Page - NUUG<https://lists.nuug.no/mailman/listinfo/nikita-noark>
lists.nuug.no
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 ...



-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.nuug.no/pipermail/nikita-noark/attachments/20170522/80607416/attachment.htm 


More information about the nikita-noark mailing list