template for a volume within a multivolume work

Jack M. shared this question 2 months ago
Answered

Hi,

Would someone be able to help me create a template with the condition that the "series title" is empty and there is information in the "volume in the series" has data. I saw there is a built in option for "series title" empty, but I did not see anything about "volume in the series" has data.

Thanks in advance

Comments (3)

photo
1

Hi Jack,

Thanks for your question.

If several conditions are selected, these are linked with "and". The built-in conditions can also be selected together with a programmed condition. Therefore, a combined programmed template is not necessary.

As explained here in our manual, when creating a programmed condition, you can use all built-in templates and make the opposite of them a condition.

In your case, please use this line of code:

  • return !BuiltInTemplateCondition.VolumeMissing.IsMet(template, citation);

Best regards

Susanne

photo
1

Hi Susanne,

Thanks, so far it is working great!


all the best,

Jack

photo
1

Hi Jack,

Thank you so much for writing back.

I'm glad to hear that I could help you.

Best regards

Susanne

Leave a Comment
 
Attach file (NO confidential documents!)