These are chat archives for collectiveaccess/support

8th
Aug 2018
bowbot
@bowbot_twitter
Aug 08 2018 19:24

I have a client who wants to use a record numbering scheme that includes a 3 letter prefix, an incremental number, and then a suffix for pieces within record:
ABC-00001-01

There several 3 letter prefixes--1 for each object type--and they would like each type start at 00001 and then auto increment ie:
ABC-00001-01
ABC-00002-01
ABC-00003-01
DEF-00001-01
DEF-00002-01
DEF-00003-01

How would I set this up?

Julia
@juliaweist
Aug 08 2018 20:31
@bowbot_twitter - you would set up multipart_id_numbering.conf with different formats for each object type. The three letter prefix would be set as a CONSTANT and the incremental number as SERIAL: https://docs.collectiveaccess.org/wiki/Multipart_id_numbering.conf
bowbot
@bowbot_twitter
Aug 08 2018 20:33
@juliaweist thanks!
sheggen
@sheggen
Aug 08 2018 20:35

I'm getting much closer on the movements/storage location problem described above. It's now showing storage locations via this display template: '''<unit relativeTo="ca_movements"><unit relativeTo="ca_storage_locations">

<l>^ca_storage_locations.preferred_labels.name</l>'''. It isn't showing the hierarchy of the storage location... what's the correct relativeTo field for the full hierarchy?

sheggen
@sheggen
Aug 08 2018 20:59
Ah. I got it.