ExLibrisGroup / spineomatic-cloudapp

Cloud App version of SpineOMatic
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Add label prefixes for specific combinations of library code/location code #22

Closed SWITCHconsortium closed 3 years ago

SWITCHconsortium commented 3 years ago

The windows application for Spine-O-Matic enables us to configure prefixes for specific combinations of library and location. For example, an item held by a library with code MMU and a location code CD will print the prefix AV two lines before the call number begins on the spine label.

Hence this item: MMU CD Call number: 385.26 L548 2002

Will print a spine label like this:

            AV

            385.26
            L548
            2002

But this item: MMU MAIN 385.26 L548 2002

Will print a spine label like this:

          385.26
          L548
          2002

Is this feature currently under development in the cloud app? Any ETA?

tmarnell commented 3 years ago

This feature is in the Orbis Cascade Label Printer, if it would be helpful to the SpineOMatic app developer for reference: https://github.com/alliance-pcsg/orbis-label-printer#configure-prefixes

Prefixes are saved by users in the Configuration component, then prepended to the spine label with the code block here that traverses the lines and looks for the location: https://github.com/alliance-pcsg/orbis-label-printer/blob/main/cloudapp/src/app/main/main.component.ts#L114-L125

jweisman commented 3 years ago

Thanks for reporting this @SWITCHconsortium and for suggestion @tmarnell . We'll see what can be done.

jweisman commented 3 years ago

We added an option for label prefixes in the latest release and to the documentation.

Please let us know how it works for you.

SWITCHconsortium commented 3 years ago

Thanks for adding in a label prefix option – and so quickly!

I was playing around with the formatting of the labels (left-align, font, font-size), but I am not sure how I would apply those settings to the label prefixes?

@.***D74B00.A88A7B50] If I am missing something obvious, please advise.

Thank you!

Katie

From: Josh Weisman @.> Sent: Sunday, May 16, 2021 11:14 AM To: ExLibrisGroup/spineomatic-cloudapp @.> Cc: Katie Utschig @.>; Mention @.> Subject: Re: [ExLibrisGroup/spineomatic-cloudapp] Add label prefixes for specific combinations of library code/location code (#22)

We added an option for label prefixes in the latest releasehttps://github.com/ExLibrisGroup/spineomatic-cloudapp/releases/tag/v0.6.0 and to the documentationhttps://github.com/ExLibrisGroup/spineomatic-cloudapp/wiki/Help#templates.

Please let us know how it works for you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ExLibrisGroup/spineomatic-cloudapp/issues/22#issuecomment-841838731, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUBGRR5QO3D65R3GZMJYGXTTN7VNDANCNFSM44WYUVUQ.

jweisman commented 3 years ago

Hi- you're right. It's better to make the label prefix a standard field that can be formatted like all fields. It was now added to the field list- go ahead and insert it into your template and you should be able to format it.

Screen Shot 2021-05-18 at 19 00 25

Let us know how that works for you.

SWITCHconsortium commented 3 years ago

Perfect! This will also satisfy the libraries that like to format the prefix a little differently (e.g. bold, larger font, etc.). Thanks so much – this is perfect for us.

Katie

From: Josh Weisman @.> Sent: Tuesday, May 18, 2021 1:08 PM To: ExLibrisGroup/spineomatic-cloudapp @.> Cc: Katie Utschig @.>; Mention @.> Subject: Re: [ExLibrisGroup/spineomatic-cloudapp] Add label prefixes for specific combinations of library code/location code (#22)

Hi- you're right. It's better to make the label prefix a standard field that can be formatted like all fields. It was now added to the field list- go ahead and insert it into your template and you should be able to format it.

[Image removed by sender. Screen Shot 2021-05-18 at 19 00 25]https://user-images.githubusercontent.com/80420/118685052-6dba2980-b80b-11eb-97a2-7e7c418528bf.png

Let us know how that works for you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ExLibrisGroup/spineomatic-cloudapp/issues/22#issuecomment-843411704, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUBGRR666G536IO5NDITNL3TOKUJVANCNFSM44WYUVUQ.

mck1777 commented 3 years ago

I am unable to get the Label Prefix option to work. Can you tell me if I am doing anything wrong

prefix question.pdf

any suggestions? what did I fail to do?

mck

SWITCHconsortium commented 3 years ago

In addition to adding the label prefix field in the formatting box, you need to define which library/location combination = a label prefix value in the label prefix section. Happy to send a picture if this does not make sense.

Katie

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: mck1777 @.> Sent: Tuesday, May 18, 2021 2:27:19 PM To: ExLibrisGroup/spineomatic-cloudapp @.> Cc: Katie Utschig @.>; Mention @.> Subject: Re: [ExLibrisGroup/spineomatic-cloudapp] Add label prefixes for specific combinations of library code/location code (#22)

I am unable to get the Label Prefix option to work. Can you tell me if I am doing anything wrong

prefix question.pdfhttps://github.com/ExLibrisGroup/spineomatic-cloudapp/files/6503805/prefix.question.pdf

any suggestions? what did I fail to do?

mck

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ExLibrisGroup/spineomatic-cloudapp/issues/22#issuecomment-843472895, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUBGRR5PSI7BWM2CT2TCBTTTOK5RPANCNFSM44WYUVUQ.

mck1777 commented 3 years ago

is that not what I did here image

image

SWITCHconsortium commented 3 years ago

Sorry – I was looking at the message on my phone and did not see your original pdf.

In addition to setting up the prefixes, you also need to add the new {{field:prefix}} to the Label contents. This enables you to format the prefix. @.***D74BF8.402EF1F0]

Katie

From: mck1777 @.> Sent: Tuesday, May 18, 2021 2:27 PM To: ExLibrisGroup/spineomatic-cloudapp @.> Cc: Katie Utschig @.>; Mention @.> Subject: Re: [ExLibrisGroup/spineomatic-cloudapp] Add label prefixes for specific combinations of library code/location code (#22)

I am unable to get the Label Prefix option to work. Can you tell me if I am doing anything wrong

prefix question.pdfhttps://github.com/ExLibrisGroup/spineomatic-cloudapp/files/6503805/prefix.question.pdf

any suggestions? what did I fail to do?

mck

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ExLibrisGroup/spineomatic-cloudapp/issues/22#issuecomment-843472895, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUBGRR5PSI7BWM2CT2TCBTTTOK5RPANCNFSM44WYUVUQ.

jweisman commented 3 years ago

Glad the feature is useful! And we updated the documentation to indicate the label prefix field needs to be added to the template.

Thanks for the feedback.