Closed b2d3c closed 5 months ago
We try a new way : see https://github.com/sapa/performing-arts-ch-templates/issues/555#issuecomment-2126567849
Implemented in Dev and added to Record form. Where should the field appear in the Record Set and Record Part forms?
Questions :
?OnlineFile rico:descriptiveNote ?string
and to display it in state of the URL but with the hyperlink inside. Could you add a box in the Form. In the same way of rico:hasOrHadIdentifier
Ah so ?OnlineFile
should be the URL of the PDF and rico:descriptiveNote ?OnlineFileValue
a title for the PDF? That means two input fields?
This is how it currently is:
Ah so
?OnlineFile
should be the URL of the PDF andrico:descriptiveNote ?OnlineFileValue
a title for the PDF? That means two input fields?
I have in mind something like this, a box with to Field URL + DescriptiveNote:
In Layout only the DescriptiveNote is displayed with the link under.
This is how it currently is:
For the URI, i have think something like vimeo (DEV) :
In this way DescriptiveNote will be free for add a string like "Rapport annuel 2022".
Makes sense, I'll adjust accordingly
There is one issue with these sort of composite forms. The form represents a single URI and there is currently no good mechanism for defining the URI in the form field. In this case, the first form field would take the URI and the second one the description, which will be linked to the URI. This works when creating the statements for the first time, but it gets tricky to edit.
I will try to find a workaround. The alternative would be to have an in-between entity, e.g.
?RecordResource rico:hasInstantiation ?entity .
?entity rdf:type rico:Instantiation ;
rico:hasCarrierType <http://vocab.performing-arts.ch/fvonl> ;
rico:hasRepresentationType <http://vocab.performing-arts.ch/rttx>;
rico:descriptiveNote ?OnlineFileValue.
?entity owl:sameAs ?OnlineFile .
Reminder : URI Instantiation are modelling following .../o/....
I found an experimental field that allows editing the URI. The downside is that it does not (yet) have any checks implemented, so it currently does not verify that the URL entered is correct and corresponds to a SAPA cloud URL. Have a go, it's on DEV.
Interresting ! For me it's OK only some little modifications (see below).
I have done a try.
Record DEV
Instantiation DEV
Just some tinny modifications :
Label in Layout :
Declaration postion in Layout : in column 3 under the Treeview (Record hierarchy)
to add in Layout:RecordSet, Record and RecordPart.
In Form:RecordSet, add the SAPA Cloud box in "Additional Sources" section
In Form:RecordPart add the SAPA Cloud box with IIIF and Vimeo Section.
Changed and deployed to Dev
Es ist toll !
Es fehlt nur noch :
Layout:Record
Label in @fr and @deForm:Record/RecordPart
the SAPA Cloud box in IIIF and Vimeo Section.Done and deployed to Dev
Perfekt! You can deploy in PROD.
After to have seen the complexity to display a PDF (host on our cloud) in the Plateform #555
We would like to propose to implement in a first time the mechanism to display only the activ link to the any kind of file host on SAPA Cloud.
Forms
Add in :
The informations will be add under a label "SAPA Cloud", next to "IIIF Manifest".
Sereval statements have to be able to be introduce.
Each statement have two mandatory Fields :
The link follow the format : https://cloud.sapa.swiss/s/[...]
Exemple : https://cloud.sapa.swiss/s/Bpoo56qtRyjtWdA
The Field would create a statement :
Layout
This statement have to be display in :
Layout:RecordSet
(DEV)Layout:Record
(DEV)Layout:RecordPart
(DEV)add on the top of the Central column.
Under the label "Related documents"
The string of ?OnlineFileValue will display with the active link to the File catch in.