Enterprise Administration > Windchill Data Loading > Loading Members into Context Teams: Windchill PDMLink and Windchill ProjectLink Example > Creating the Load File
  
Creating the Load File
The load file is created by exporting member data from an existing product, library, project, or program context. Use the following steps to create the load file from an exported context template:
1. Browse to the directory in which the exported context template ZIP is saved.
2. Open the TAG-0.xml file from the CONTENTS directory.
3. Create a new XML file and copy the information in the <ExportedRoleMemberMap> and <ExportedGuestMembers> tags into the new file.
4. [Optional] Add <WTPrincipalReference> elements for participants that you want to load into a context team, but did not add to the team in the context from which the template was exported. For more information, see the Windchill Context and Shared Team XML Template Reference Guide.
Each role is contained in a <projectMember> element and is specified with a <Role> tag. Participants in that role are identified by a <WTPrincipalReference> element. For more information about these elements, see the Windchill Context and Shared Team XML Template Reference Guide.
The following example load data was taken from a product with two groups in the Members role, one user in the Product Manager role, one user in the Collaboration Manager role, and one user in the Guest role. Additional roles have been removed for simplicity.
<ExportedRoleMemberMap>
<projectMember>
<Role roleType="MEMBERS"></Role>
<WTPrincipalReference classType="wt.org.WTGroup" isInternal="false">
<ufid>cn=marketing team,ou=people,cn=administrativeldap,cn=windchill_10.2,o=ptc|Ldap.ptcnet.ptc.com|Ldap.ptcnet.ptc.com</ufid>
<name>Marketing Team</name>
</WTPrincipalReference>
<WTPrincipalReference classType="wt.org.WTGroup" isInternal="false">
<ufid>cn=publications team,ou=people,cn=administrativeldap,cn=windchill_10.2,o=ptc|Ldap.ptcnet.ptc.com|Ldap.ptcnet.ptc.com</ufid>
<name>Publications Team</name>
</WTPrincipalReference>
</projectMember>
<projectMember>
<Role roleType="COLLABORATION MANAGER"></Role>
<WTPrincipalReference classType="wt.org.WTUser" fullName=
"Henrietta Jackson" isInternal="false" surname="Jackson" userEmail
="hjackson@acme.com">
<ufid>uid=hjackson,ou=people,cn=administrativeldap,cn=windchill_
10.2,o=ptc|Ldap.ptcnet.ptc.com|Ldap.ptcnet.ptc.com</ufid>
<name>hjackson</name>
</WTPrincipalReference>
</projectMember>
<projectMember>
<Role roleType="PRODUCT MANAGER"></Role>
<WTPrincipalReference classType="wt.org.WTUser" fullName="Julie Brown" isInternal="false" surname="Brown" userEmail="jbrown@acme.com">
<ufid>uid=jbrown,ou=people,cn=administrativeldap,cn=windchill_10.2,o=ptc|Ldap.ptcnet.ptc.com|Ldap.ptcnet.ptc.com</ufid>
<name>jbrown</name>
</WTPrincipalReference>
</projectMember>
</ExportedRoleMemberMap>

<ExportedGuestMembers>
<WTPrincipalReference classType="wt.org.WTUser" fullName="Paul Riley" isInternal="false" surname="Riley" userEmail="priley@acme.com">
<ufid>uid=priley,ou=people,cn=administrativeldap,cn=windchill_10.2,o=ptc|Ldap.ptcnet.ptc.com|Ldap.ptcnet.ptc.com</ufid>
<name>priley</name>
</WTPrincipalReference>
</ExportedGuestMembers>