-
Notifications
You must be signed in to change notification settings - Fork 2
/
SchoolMessenger-Contacts-top3.xml
68 lines (62 loc) · 5.85 KB
/
SchoolMessenger-Contacts-top3.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<!--
===========================================================================
This export file was created by Mark Strendin, at
Living Sky School Division No 202, for the
MySchoolSask Virtual Integration Group.
Other export file definitions, documentation, issue tracking, and
most-recent copies of this export file can be found in our GitHub repository:
https://github.com/LivingSkySchoolDivision/MySchoolSaskIntegrations
===========================================================================
***** NOTE *****
This export will pull the top 3 contacts, regardless of who they are or if they should get notifications for the student.
Consider using a different method to export this data, such as the MSS Reporting Database, where you can
target contacts based on values like "lives with", "receives email", etc.
-->
<export table-id="tblStudent" header-row="true">
<sort field="stdViewName" direction="asc" />
<filter field="stdEnrStatus" operator="equals" value="Active" />
<filter field="stdEnrStatus" operator="equals" value="Active No Primary" connector="or" />
<field id="relStdSklOid.sklSchoolName" header-source="constant" header-value="SchoolName" />
<field id="relStdSklOid.sklSchoolID" header-source="constant" header-value="SchoolNumber" />
<field id="stdIDLocal" header-source="constant" header-value="LocalStudentNumber" />
<field id="stdIDState" header-source="constant" header-value="LearningID" />
<field id="relStdPsnOid.psnNameLast" header-source="constant" header-value="LegalLastName" />
<field id="relStdPsnOid.psnNameFirst" header-source="constant" header-value="LegalFirstName" />
<field id="stdGradeLevel" header-source="constant" header-value="Grade" find="^0" replaceAll="" />
<field id="relStdCtjOid1.ctjEmergncyPri" header-source="constant" header-value="Contact1Priority" />
<field id="relStdCtjOid1.ctjRelateCode" header-source="constant" header-value="EmergencyContact1Relation" />
<field id="relStdCtjOid1.relCtjCntOid.relCntPsnOid.psnNameFirst" header-source="constant" header-value="EmergencyContact1FirstName" />
<field id="relStdCtjOid1.relCtjCntOid.relCntPsnOid.psnNameLast" header-source="constant" header-value="EmergencyContact1LastName" />
<field id="relStdCtjOid1.relCtjCntOid.relCntPsnOid.psnPhone01" header-source="constant" header-value="EmergencyContact1Phone1" />
<field id="relStdCtjOid1.relCtjCntOid.relCntPsnOid.psnPhone02" header-source="constant" header-value="EmergencyContact1Phone2" />
<field id="relStdCtjOid1.relCtjCntOid.relCntPsnOid.psnPhone03" header-source="constant" header-value="EmergencyContact1Phone3" />
<field id="relStdCtjOid1.relCtjCntOid.relCntPsnOid.psnEmail01" header-source="constant" header-value="EmergencyContact1Email" />
<field id="relStdCtjOid1.ctjRecEmail" header-source="constant" header-value="EmergencyContact1ReceivesEmail" />
<field id="relStdCtjOid1.ctjLivesWith" header-source="constant" header-value="EmergencyContact1LivesWithStudent" />
<field id="relStdCtjOid2.ctjEmergncyPri" header-source="constant" header-value="Contact2Priority" />
<field id="relStdCtjOid2.ctjRelateCode" header-source="constant" header-value="EmergencyContact2Relation" />
<field id="relStdCtjOid2.relCtjCntOid.relCntPsnOid.psnNameFirst" header-source="constant" header-value="EmergencyContact2FirstName" />
<field id="relStdCtjOid2.relCtjCntOid.relCntPsnOid.psnNameLast" header-source="constant" header-value="EmergencyContact2LastName" />
<field id="relStdCtjOid2.relCtjCntOid.relCntPsnOid.psnPhone01" header-source="constant" header-value="EmergencyContact2Phone1" />
<field id="relStdCtjOid2.relCtjCntOid.relCntPsnOid.psnPhone02" header-source="constant" header-value="EmergencyContact2Phone2" />
<field id="relStdCtjOid2.relCtjCntOid.relCntPsnOid.psnPhone03" header-source="constant" header-value="EmergencyContact2Phone3" />
<field id="relStdCtjOid2.relCtjCntOid.relCntPsnOid.psnEmail01" header-source="constant" header-value="EmergencyContact2Email" />
<field id="relStdCtjOid2.ctjRecEmail" header-source="constant" header-value="EmergencyContact2ReceivesEmail" />
<field id="relStdCtjOid2.ctjLivesWith" header-source="constant" header-value="EmergencyContact2LivesWithStudent" />
<field id="relStdCtjOid3.ctjEmergncyPri" header-source="constant" header-value="Contact3Priority" />
<field id="relStdCtjOid3.ctjRelateCode" header-source="constant" header-value="EmergencyContact3Relation" />
<field id="relStdCtjOid3.relCtjCntOid.relCntPsnOid.psnNameFirst" header-source="constant" header-value="EmergencyContact3FirstName" />
<field id="relStdCtjOid3.relCtjCntOid.relCntPsnOid.psnNameLast" header-source="constant" header-value="EmergencyContact3LastName" />
<field id="relStdCtjOid3.relCtjCntOid.relCntPsnOid.psnPhone01" header-source="constant" header-value="EmergencyContact3Phone1" />
<field id="relStdCtjOid3.relCtjCntOid.relCntPsnOid.psnPhone02" header-source="constant" header-value="EmergencyContact3Phone2" />
<field id="relStdCtjOid3.relCtjCntOid.relCntPsnOid.psnPhone03" header-source="constant" header-value="EmergencyContact3Phone3" />
<field id="relStdCtjOid3.relCtjCntOid.relCntPsnOid.psnEmail01" header-source="constant" header-value="EmergencyContact3Email" />
<field id="relStdCtjOid3.ctjRecEmail" header-source="constant" header-value="EmergencyContact3ReceivesEmail" />
<field id="relStdCtjOid3.ctjLivesWith" header-source="constant" header-value="EmergencyContact3LivesWithStudent" />
<field id="stdFieldB002" header-source="constant" header-value="BusRoute1" />
<field id="stdFieldB003" header-source="constant" header-value="BusRoute2" />
<field id="stdFieldB005" header-source="constant" header-value="AltBusRoute1" />
<field id="stdFieldB006" header-source="constant" header-value="AltBusRoute2" />
<field id="stdHomeroom" header-source="constant" header-value="Homeroom" />
</export>