-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Title field issue: allow configuration of subfields to include. #117
Comments
HI @Anchi77... If the bib_data.title is included in a template, and a non-zero and non-negative number is supplied for the "Truncate title characters" field, then the title will be truncated to the specified length on the label. For example, if the title is "Medical progress.", and the "Truncate title characters" is 3, then only "Med" will be printed on the label. If 0 or a negative number is supplied for the "Truncate title characters" field, then it is ignored and the entire title will print on the label. |
Hi @Anchi77... I believe the REST API that the SpineOMatic Cloud App uses gets the full title subfield a in the response. If you specify a negative number or a 0 for the "Truncate title characters", it is ignored, and the entire title (subfield a) should print on the label. I tested with my title subfield a set to 泰坦尼克号 [音像制品] and my "Truncate title characters" set to 5. This resulted in 泰坦尼克号 printing on the label. This is the expected behavior. It appears you want print the title subfield a up to a certain character. Is that correct? If so, this option is not supported in the SpineOMatic Cloud App. |
Hi Support, You mentioned that We would like to only get the whole "subfield a" value, do not need to add any condition. For now, it displays Is it possible? Many thanks, |
Hi @Anchi77, You've included {{field:bib_data.title}} in your template, and you are getting more than the 245a for this field on your label? Interesting. I wonder if there is some configuration setting in Alma giving you this behavior. In my test templates which include {{field:bib_data.title}}, I only get the 245a on my labels. Let me check if there is some other setting in Alma that could be affecting the behavior. |
Hi @Anchi77. I haven't yet learned why the API that the SpineOMatic Cloud App uses would return more than the 245a for the bib_data.title field. The Cloud App prints on the label whatever is returned. It isn't aware that the value is more than the 245a. I will work with Support to find out what setting in Alma is causing this behavior. Once we find the setting, if it is changed to only return the 245a, it will affect other places that are expecting more than the 245a, too. So while it might fix it for spine labels, it might have an adverse effect somewhere else. |
Hello Support, Sorry for chasing this case, do you have any update about this case? Thank you so much! |
Hi @Anchi77. |
Hi Support,
I would like to check about the "title" field, in the article, it mentioned that "Title has special formatting options available. Click the Title dropdown to select any special formatting."
https://github.com/ExLibrisGroup/spineomatic-cloudapp/wiki/Help
It seems we can only use numbers to truncate title?
what does the negative number mean in the field?
different titles have different numbers. Is it okay to specifically only display $a (245$a or 200$a)?
Many thanks,
Anchi
The text was updated successfully, but these errors were encountered: