-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAD-ActiveStudents.xml
45 lines (41 loc) · 3.07 KB
/
AD-ActiveStudents.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
<?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
===========================================================================
-->
<export table-id="tblStudent" header-row="true" value-delimiter=",">
<!-- Only get active students -->
<filter field="stdEnrStatus" operator="equals" value="Active" />
<filter field="stdEnrStatus" operator="equals" value="Active No Primary" connector="or" />
<!-- Don't pull students from schools that are inactive or archived -->
<filter field="relStdSklOid.sklArchiveInd" operator="equals" value="false" />
<filter field="relStdSklOid.sklInactiveInd" operator="equals" value="false" />
<sort field="relStfSklOid.sklSchoolName" direction="asc" />
<sort field="relStfPsnOid.psnNameLast" direction="asc" />
<sort field="relStfPsnOid.psnNameFirst" direction="asc" />
<field id="stdIDLocal" header-source="constant" header-value="PupilNo" />
<field id="stdIDState" header-source="constant" header-value="SaskLearningID" />
<field id="relStdPsnOid.psnNameFirst" header-source="constant" header-value="LegalFirstName" />
<field id="relStdPsnOid.psnNameLast" header-source="constant" header-value="LegalLastName" />
<field id="relStdPsnOid.psnNameMiddle" header-source="constant" header-value="LegalMiddleName" />
<field id="relStdPsnOid.psnFieldC001" header-source="constant" header-value="PreferredFirstName" />
<field id="relStdPsnOid.psnFieldC003" header-source="constant" header-value="PreferredLastName" />
<field id="relStdPsnOid.psnFieldC002" header-source="constant" header-value="PreferredMiddleName" />
<field id="relStdPsnOid.psnEmail01" header-source="constant" header-value="PrimaryEmail" />
<field id="relStdPsnOid.psnEmail02" header-source="constant" header-value="AlternateEmail" />
<field id="relStdSklOid.sklSchoolName" header-source="constant" header-value="BaseSchoolName" />
<field id="relStdSklOid.sklSchoolID" header-source="constant" header-value="BaseSchoolDAN" />
<field id="stdEnrStatus" header-source="constant" header-value="EnrollmentStatus" />
<field id="stdGradeLevel" header-source="constant" header-value="GradeLevel" find="^0" replaceAll="" />
<field id="stdYog" header-source="constant" header-value="YOG" />
<field id="stdFieldA026" header-source="constant" header-value="O365Authorisation" />
<field id="stdFieldA005" header-source="constant" header-value="AcceptableUsePolicy" />
<field id="stdFieldC002" header-source="constant" header-value="LegacyStudentID" />
<field id="relStdPsnOid.psnEmailG" header-source="constant" header-value="GoogleDocsEmail" />
</export>