p_cir_10: How to get different courtesy notice text for faculty, staff &students
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
We would like to send out courtesy notices to our faculty, staff and eventually students. I have been testing this letter and have found that it sends out the same letter (loan-notice-letter.xsl) to all 3 report formats (professor, student, lecturer). We would like to send out 3 different letters.
1) How do we add staff to the report format drop-down?
2) How do we send a different letter to faculty, staff, students (such as loan-notice-letter-00, loan-notice-letter-01, loan-notice-letter-02).
Resolution:
As described in the article " Customization of pc_b_eng and error_eng files in version 17-up **MASTER RECORD** " (KB 8192-824) , in version 17-up, the $alephe_root/pc_b_eng should contain any local, customized Service submission screens. (The $aleph_root/pc_b_eng screen is used when nothing is found in $alephe_root/pc_b_eng.)
In this case, there is no p-cir-10.xml form in $alephe_root/pc_b_eng, so you should do this:
a) cp -p $aleph_root/pc_b_eng/p-cir-10.xml $alephe_root/pc_b_eng/p-cir-10.xml
b) vi $alephe_root/pc_b_eng/p-cir-10.xml
c) You will note that the Report Format has the same value ("00") for all of the choices:
<drop_down>
<argname>F07</argname>
<label>Report Format</label>
<default>00</default>
<cbitem>
<value>00</value>
<display>Student</display>
</cbitem>
<cbitem>
<value>00</value>
<display>Lecturer</display>
</cbitem>
<cbitem>
<value>00</value>
<display>Professor</display>
</cbitem>
</drop_down>
You should modify the "<display>" text for each to whatever wording you want and change the "00" to "01", "02". For example:
<drop_down>
<argname>F07</argname>
<label>Report Format</label>
<default>00</default>
<cbitem>
<value>00</value>
<display>Faculty</display>
</cbitem>
<cbitem>
<value>01</value>
<display>Staff</display>
</cbitem>
<cbitem>
<value>02</value>
<display>Student</display>
</cbitem>
</drop_down>
d) The ./abc01/form_eng directory has only the single loan-notice-letter.xsl form. You will need to do this:
1) cp -p loan-notice-letter.xsl loan-notice-letter-00.xsl
2) cp -p loan-notice-letter.xsl loan-notice-letter-01.xsl
3) cp -p loan-notice-letter.xsl loan-notice-letter-02.xsl
and then modify the text of each to whatever you want it to say.
- Article last edited: 10/8/2013