[Archivesspace_Users_Group] FYI: Custom reports
Majewski, Steven Dennis (sdm7g)
sdm7g at virginia.edu
Wed Apr 3 17:18:35 EDT 2019
Followup to my comments on todays Reports call: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/834994187/2019-04-03+UAC+Reports+Open+Call <https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/834994187/2019-04-03+UAC+Reports+Open+Call>
A number of custom sub reports are available in https://github.com/archivesspace/archivesspace/tree/master/reports/custom <https://github.com/archivesspace/archivesspace/tree/master/reports/custom>, but the facility to create custom reports has not yet been released. ( Reasons for this was discussed on the call. )
I found it was quite easy to add one of these custom sub reports to existing reports.
We wanted to add the collections_management_subreport to the resources_list_report and the accession_report.
This was a pretty trivial set of changes to implement:
https://github.com/archivesspace/archivesspace/compare/master...uvalib:collmgmt_subreports <https://github.com/archivesspace/archivesspace/compare/master...uvalib:collmgmt_subreports>
https://github.com/archivesspace/archivesspace/compare/master...uvalib:collmgmt_subreports.patch <https://github.com/archivesspace/archivesspace/compare/master...uvalib:collmgmt_subreports.patch>
And if some of the proper defaults like additions to the locales files were added to the distribution, it would have been only two one-line additions.
Adds these fields to the reports if a collection management record exists:
collection_management_subreport:
processing_funding_source: Funding Source
processing_hours_total: Total Hours
processing_plan: Processing Plan
processing_priority: Processing Priority
processing_status: Processing Status
processors: Processors
rights_determined: Rights Determined?
Reports, like plugins, do not require a new build: you can just drop modified reports into archivesspace/reports/ directories and restart to take effect.
We have also added a custom report on users and permission groups, which is very handy due to the limited staff web app view of users. I’ve submitted a pull request to add this to the next release.
https://github.com/archivesspace/archivesspace/pull/1502 <https://github.com/archivesspace/archivesspace/pull/1502>
https://github.com/archivesspace/archivesspace/pull/1502/files <https://github.com/archivesspace/archivesspace/pull/1502/files>
— Steve Majewski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20190403/daddbd57/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3598 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20190403/daddbd57/attachment.bin>
More information about the Archivesspace_Users_Group
mailing list