Re: [OPEN-ILS-GENERAL] Conditional hold notification messages

2020-07-10 Thread Beth Longwell
Michele and Jennifer,

Thanks for the examples - I will give them a try right away.

And thanks for the link to the presentation - I've been waiting for things
to slow down enough to watch the online sessions and this one will
definitely be on the list.

Beth

On Fri, Jul 10, 2020 at 1:53 PM Morgan, Michele 
wrote:

> Hi Beth,
>
> We have done this for overdue notices but not hold pickup notices. The
> setup should be similar, though.
>
> For hold notices, we have done what Terran suggests, cloning the action
> trigger so there is one for each library. We did this mostly because
> libraries have different start dates for services. One thing to know if you
> clone email triggers, they need to have the check_email_notify parameter,
> which doesn't get copied automatically when cloning.
>
> Here is an example of conditional logic for our overdue notices from a
> presentation I did at the Evergreen Online Conference:
>
> [%- IF target.0.circ_lib.parent_ou.id == 58 -%]
>
> The following item(s) are fourteen days overdue. Please return the item
> below as soon as possible. If you have any questions or concerns about the
> overdue material do not hesitate to contact the library directly. Thank
> you!
>
> Follow us on Facebook, Twitter, or sign up for RPL News email alerts.
> [%- ELSIF target.0.circ_lib.parent_ou.id == 67 -%]
>
> Our records show that the following items are overdue. Please call for
> renewal or return as soon as possible.
> [%- ELSE -%]
>
> Our records indicate the following items are 14 days overdue. Please
> return them as soon as possible. Please call the library if you have any
> questions about this notice.  Thank you.
>
> [%- END -%]
>
> I haven't tested this, but for hold notices, I think the IF would need to
> be  [%- IF hold.pickup_lib ==  -%]
>
> If you are interested, here is the link to the full presentation from the
> 2020 online conference:
>
>
> https://www.youtube.com/watch?v=7ptdKkeGuBU=PLsktT5b82paWzb6R_C_0pJ4pf_eo9xOGJ=17=0s
>
>
> Hope this is helpful,
> Michele
>
> --
> Michele M. Morgan, Technical Support Analyst
> North of Boston Library Exchange, Danvers Massachusetts
> mmor...@noblenet.org
>
>
>
> On Fri, Jul 10, 2020 at 3:01 PM Terran McCanna <
> tmcca...@georgialibraries.org> wrote:
>
>> I haven't tried this, but it looks like the easiest thing to do would be
>> to clone your existing one and change the owning library to the branch you
>> wish to have the alternate text for.
>>
>> However, if you want to do an IF statement, you should be able to do that
>> too. I don't have an example based on library ID, but I have one I did
>> based on permission group ID here:
>>
>>
>> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:notification-wording#new_user_created_welcome_notice
>>
>>
>>
>>
>>
>> Terran McCanna, PINES Program Manager
>> --
>>
>> Georgia Public Library Service | University System of Georgia
>>
>> 2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
>>
>> (404) 235-7138 | tmcca...@georgialibraries.org
>>
>> http://help.georgialibraries.org | h...@help.georgialibraries.org
>>
>> 
>> 
>>
>> Join our email list  for stories of Georgia
>> libraries making an impact in our communities.
>>
>>
>>
>> On Fri, Jul 10, 2020 at 2:01 PM Beth Longwell  wrote:
>>
>>> Evergreen library staff,
>>>
>>> We would like to customize our consortia-wide hold pickup notification
>>> message for a couple libraries. Has anyone added IF logic to their hold
>>> notification for a specific org unit to change the notice text? If so, I
>>> would love to see an example.
>>>
>>> Thanks,
>>>
>>> Beth Ross
>>> Sage Library System
>>>
>>


Re: [OPEN-ILS-GENERAL] Conditional hold notification messages

2020-07-10 Thread Morgan, Michele
Hi Beth,

We have done this for overdue notices but not hold pickup notices. The
setup should be similar, though.

For hold notices, we have done what Terran suggests, cloning the action
trigger so there is one for each library. We did this mostly because
libraries have different start dates for services. One thing to know if you
clone email triggers, they need to have the check_email_notify parameter,
which doesn't get copied automatically when cloning.

Here is an example of conditional logic for our overdue notices from a
presentation I did at the Evergreen Online Conference:

[%- IF target.0.circ_lib.parent_ou.id == 58 -%]

The following item(s) are fourteen days overdue. Please return the item
below as soon as possible. If you have any questions or concerns about the
overdue material do not hesitate to contact the library directly. Thank
you!

Follow us on Facebook, Twitter, or sign up for RPL News email alerts.
[%- ELSIF target.0.circ_lib.parent_ou.id == 67 -%]

Our records show that the following items are overdue. Please call for
renewal or return as soon as possible.
[%- ELSE -%]

Our records indicate the following items are 14 days overdue. Please return
them as soon as possible. Please call the library if you have any questions
about this notice.  Thank you.

[%- END -%]

I haven't tested this, but for hold notices, I think the IF would need to
be  [%- IF hold.pickup_lib ==  -%]

If you are interested, here is the link to the full presentation from the
2020 online conference:

https://www.youtube.com/watch?v=7ptdKkeGuBU=PLsktT5b82paWzb6R_C_0pJ4pf_eo9xOGJ=17=0s


Hope this is helpful,
Michele

--
Michele M. Morgan, Technical Support Analyst
North of Boston Library Exchange, Danvers Massachusetts
mmor...@noblenet.org



On Fri, Jul 10, 2020 at 3:01 PM Terran McCanna <
tmcca...@georgialibraries.org> wrote:

> I haven't tried this, but it looks like the easiest thing to do would be
> to clone your existing one and change the owning library to the branch you
> wish to have the alternate text for.
>
> However, if you want to do an IF statement, you should be able to do that
> too. I don't have an example based on library ID, but I have one I did
> based on permission group ID here:
>
>
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:notification-wording#new_user_created_welcome_notice
>
>
>
>
>
> Terran McCanna, PINES Program Manager
> --
>
> Georgia Public Library Service | University System of Georgia
>
> 2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
>
> (404) 235-7138 | tmcca...@georgialibraries.org
>
> http://help.georgialibraries.org | h...@help.georgialibraries.org
>
> 
> 
>
> Join our email list  for stories of Georgia
> libraries making an impact in our communities.
>
>
>
> On Fri, Jul 10, 2020 at 2:01 PM Beth Longwell  wrote:
>
>> Evergreen library staff,
>>
>> We would like to customize our consortia-wide hold pickup notification
>> message for a couple libraries. Has anyone added IF logic to their hold
>> notification for a specific org unit to change the notice text? If so, I
>> would love to see an example.
>>
>> Thanks,
>>
>> Beth Ross
>> Sage Library System
>>
>


Re: [OPEN-ILS-GENERAL] Conditional hold notification messages

2020-07-10 Thread Terran McCanna
Ah - my assumption would be that it would work like Library Settings in
that it would look for a branch level one first and only look higher in the
hierarchy if it didn't find a branch one, but I could be totally wrong.



Terran McCanna, PINES Program Manager
--

Georgia Public Library Service | University System of Georgia

2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341

(404) 235-7138 | tmcca...@georgialibraries.org

http://help.georgialibraries.org | h...@help.georgialibraries.org




Join our email list  for stories of Georgia
libraries making an impact in our communities.



On Fri, Jul 10, 2020 at 3:23 PM Beth Longwell  wrote:

> Terran,
>
> Thanks! My concern by cloning and creating one specific to the library,
> was that they would get two notices, one for the consortia-wide
> notification and one for their library.
>
> I will glean some ideas from the example you sent.
>
> Take care,
>
> Beth
>
> On Fri, Jul 10, 2020 at 1:01 PM Terran McCanna <
> tmcca...@georgialibraries.org> wrote:
>
>> I haven't tried this, but it looks like the easiest thing to do would be
>> to clone your existing one and change the owning library to the branch you
>> wish to have the alternate text for.
>>
>> However, if you want to do an IF statement, you should be able to do that
>> too. I don't have an example based on library ID, but I have one I did
>> based on permission group ID here:
>>
>>
>> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:notification-wording#new_user_created_welcome_notice
>>
>>
>>
>>
>>
>> Terran McCanna, PINES Program Manager
>> --
>>
>> Georgia Public Library Service | University System of Georgia
>>
>> 2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
>>
>> (404) 235-7138 | tmcca...@georgialibraries.org
>>
>> http://help.georgialibraries.org | h...@help.georgialibraries.org
>>
>> 
>> 
>>
>> Join our email list  for stories of Georgia
>> libraries making an impact in our communities.
>>
>>
>>
>> On Fri, Jul 10, 2020 at 2:01 PM Beth Longwell  wrote:
>>
>>> Evergreen library staff,
>>>
>>> We would like to customize our consortia-wide hold pickup notification
>>> message for a couple libraries. Has anyone added IF logic to their hold
>>> notification for a specific org unit to change the notice text? If so, I
>>> would love to see an example.
>>>
>>> Thanks,
>>>
>>> Beth Ross
>>> Sage Library System
>>>
>>


Re: [OPEN-ILS-GENERAL] Conditional hold notification messages

2020-07-10 Thread Jennifer Bruch
We have been using this with success on some welcome notices.

[%- IF (user.home_ou.shortname == 'EXAMPLE') -%]
Your pin/password defaults to the last four digits of your barcode. You can 
change it in your account.
[%- ELSE -%]
Your pin/password defaults to the last four digits of your phone number. You 
can change it in your account.
[%- END -%]


Jennifer Bruch

ILS Application Specialist

Pennsylvania Integrated Library System

717-818-2703

supp...@sparkpa.org


Submit a SPARK Support 
Request<https://sparkpa.helpspot.com/index.php?pg=request>


From: Open-ils-general  on 
behalf of Terran McCanna 
Sent: Friday, July 10, 2020 3:00 PM
To: Evergreen Discussion Group 
Subject: Re: [OPEN-ILS-GENERAL] Conditional hold notification messages

I haven't tried this, but it looks like the easiest thing to do would be to 
clone your existing one and change the owning library to the branch you wish to 
have the alternate text for.

However, if you want to do an IF statement, you should be able to do that too. 
I don't have an example based on library ID, but I have one I did based on 
permission group ID here:

https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:notification-wording#new_user_created_welcome_notice






[https://lh3.googleusercontent.com/1dQZFKZrN_h1nAVv7EB9VmFYBGsfiOmL3Yec9IzIlL7YztuUoci9JMwC2Fb6h1vqlBSlyslKe_N7vSMNF1FaiUIrY6tVC41zt8iLssfRtJbhdGOpDPFgvjyFXgCzNOmQaD9gEgOW]

Terran McCanna, PINES Program Manager



Georgia Public Library Service | University System of Georgia

2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341

(404) 235-7138 | 
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>

http://help.georgialibraries.org | 
h...@help.georgialibraries.org<mailto:h...@help.georgialibraries.org>


[https://lh6.googleusercontent.com/t7rbwMx5NBGCEplmiJgNe2sRZGRgzqVS8d9k3yg-mR-UhThtZVNUiZe419YuwVyLjZ6QZKFAeQGFYcEgO6MtVjPlCrQ5CPYc4h56OEKnldS32D8FYMvQRAmQYZH9pCsHZjVDSQpU]<https://www.facebook.com/georgialibraries>
  
[https://lh5.googleusercontent.com/3BiTrvd-MM4iD8ytwlQc0_q928anCSry4UO21hcYQV_FPcmhq0Ov9toQ9gv4mmxQLUS2iV4cXDEPUEweGu75_jIH_WX1xDe119BcHfFCzinWfbKuK6NeTXYdO5PU2HRfXAS-Vq1R]
 <https://www.twitter.com/georgialibs>

Join our email list<http://georgialibraries.org> for stories of Georgia 
libraries making an impact in our communities.



On Fri, Jul 10, 2020 at 2:01 PM Beth Longwell 
mailto:blong...@eou.edu>> wrote:
Evergreen library staff,

We would like to customize our consortia-wide hold pickup notification message 
for a couple libraries. Has anyone added IF logic to their hold notification 
for a specific org unit to change the notice text? If so, I would love to see 
an example.

Thanks,

Beth Ross
Sage Library System


Re: [OPEN-ILS-GENERAL] Conditional hold notification messages

2020-07-10 Thread Beth Longwell
Terran,

Thanks! My concern by cloning and creating one specific to the library, was
that they would get two notices, one for the consortia-wide notification
and one for their library.

I will glean some ideas from the example you sent.

Take care,

Beth

On Fri, Jul 10, 2020 at 1:01 PM Terran McCanna <
tmcca...@georgialibraries.org> wrote:

> I haven't tried this, but it looks like the easiest thing to do would be
> to clone your existing one and change the owning library to the branch you
> wish to have the alternate text for.
>
> However, if you want to do an IF statement, you should be able to do that
> too. I don't have an example based on library ID, but I have one I did
> based on permission group ID here:
>
>
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:notification-wording#new_user_created_welcome_notice
>
>
>
>
>
> Terran McCanna, PINES Program Manager
> --
>
> Georgia Public Library Service | University System of Georgia
>
> 2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
>
> (404) 235-7138 | tmcca...@georgialibraries.org
>
> http://help.georgialibraries.org | h...@help.georgialibraries.org
>
> 
> 
>
> Join our email list  for stories of Georgia
> libraries making an impact in our communities.
>
>
>
> On Fri, Jul 10, 2020 at 2:01 PM Beth Longwell  wrote:
>
>> Evergreen library staff,
>>
>> We would like to customize our consortia-wide hold pickup notification
>> message for a couple libraries. Has anyone added IF logic to their hold
>> notification for a specific org unit to change the notice text? If so, I
>> would love to see an example.
>>
>> Thanks,
>>
>> Beth Ross
>> Sage Library System
>>
>


Re: [OPEN-ILS-GENERAL] Conditional hold notification messages

2020-07-10 Thread Terran McCanna
I haven't tried this, but it looks like the easiest thing to do would be to
clone your existing one and change the owning library to the branch you
wish to have the alternate text for.

However, if you want to do an IF statement, you should be able to do that
too. I don't have an example based on library ID, but I have one I did
based on permission group ID here:

https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:notification-wording#new_user_created_welcome_notice





Terran McCanna, PINES Program Manager
--

Georgia Public Library Service | University System of Georgia

2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341

(404) 235-7138 | tmcca...@georgialibraries.org

http://help.georgialibraries.org | h...@help.georgialibraries.org




Join our email list  for stories of Georgia
libraries making an impact in our communities.



On Fri, Jul 10, 2020 at 2:01 PM Beth Longwell  wrote:

> Evergreen library staff,
>
> We would like to customize our consortia-wide hold pickup notification
> message for a couple libraries. Has anyone added IF logic to their hold
> notification for a specific org unit to change the notice text? If so, I
> would love to see an example.
>
> Thanks,
>
> Beth Ross
> Sage Library System
>


[OPEN-ILS-GENERAL] Conditional hold notification messages

2020-07-10 Thread Beth Longwell
Evergreen library staff,

We would like to customize our consortia-wide hold pickup notification
message for a couple libraries. Has anyone added IF logic to their hold
notification for a specific org unit to change the notice text? If so, I
would love to see an example.

Thanks,

Beth Ross
Sage Library System