Displaying the Hospitality field on the Weekend Only Report

The ‘Hospitality’ field does not show up on the Weekend Only Report. Speaker, Subject, Congregation, Chairman, Watchtower subject, Watchtower conductor, and Watchtower reader appear but not the ‘Hospitality’ field.Paul

It is possible to change the information that is displayed on this report. Detailed information can be found towards the end of the Advanced Customisation help topic.

Sample Weekend Only Report that includes the Hospitality assignment.
Sample Customised Schedule

How To Do It

Step 1

Bring up your File Explorer and navigate to your User Application Data folder. The easiest way to do this is to simply type %appdata% in the address bar and hit the Enter key:

Ste 1 - File Explorer - Navigate to User Application Data folder.
Step 1 – Navigate to the User Application Data folder

Step 2

Locate the Meeting Schedule Assistant sub-folder and double-click:

Step 2 - File Explorer - Double-click the Meeting Schedule Assistant folder.
Step 2 – Select the Meeting Schedule Assistant folder

Step 3

Next, you need to locate the Workbook-S-140-Weekend Meeting Only.xsl file and duplicate it with a new name. Always change the name by adding a suffix. For example:

Step 3 - File Explorer - Duplicate and rename the script.
Step 3 – Duplicate the script and rename it

Step 4

Right-click the new file and select Properties. On the popup window un-tick the Read-Only attribute:

Step 4 - File Explorer - Change properties.
Step 4 – Right-click the new file and select Properties. Then …
Step 4 - File Explorer - Remove the Read-only attribute.
Step 4 – … un-tick the Read-only attribute and click OK.

Step 5

Now you use a text editor to customise the new file. One good editor is Notepad++ and my personal favourite is Microsoft Visual Studio. Using the text editor you need to modify the <xsl:template match="HomeTalk"> section so that it looks like this:

207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!--Displays the home talk speaker details-->
<xsl:template match="HomeTalk">
  <tr>
    <xsl:apply-templates select="Time" mode="End"/>
    <td class="cellWEEKENDText">
      <div class="floatRight">
        <xsl:value-of select="//Labels/PTS_Congregation"/>:
      </div>
      <span class="textPTSLabel">
        <xsl:value-of select="//Labels/PTS_Speaker"/>:
      </span>
      &#160;<span class="textPTSValue">
        <xsl:value-of select="Speaker"/>
      </span>
    </td>
    <td class="cellName">
      <xsl:value-of select="Congregation"/>
    </td>
  </tr>
  <tr>
    <td class="cellWEEKENDText" colspan="3">
      <span class="textPTSLabel">
        <xsl:value-of select="//Labels/PTS_Theme"/>:
      </span>
      &#160;<span class="textPTSValue">
        <xsl:value-of select="Theme"/>
      </span>
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <div class="floatRight">
        <xsl:value-of select="//Labels/PTS_Hospitality"/>:
      </div>
    </td>
    <td  class="cellName">
      <xsl:value-of select="../Assignments/Hospitality"/>
    </td>
  </tr>
</xsl:template>

Save the file once the changes have been made and close the editor.

Step 6

Finally, start Meeting Schedule Assistant and create or open your schedule. Now you can select your newly customised style from the drop-down list:

Step 6 - Midweek editor - Select the new style from drop-down list.
Step 6 – Select the newly customised style

That should be it! The newly customised style can also be directly downloaded from here for your convenience.

Download

Weekend Only Report with Hospitality

Customised scripts can be easily imported into the Midweek Editor. Just remember to unzip the download first.

Size: 3KB
Version: v1.0
Published: 25/02/2019
[Total: 1    Average: 4/5]

Leave a Reply

Your e-mail address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.