added basic query functionality, added listsitem update for lookup items

This commit is contained in:
jomu
2015-02-03 18:20:57 +00:00
parent 9273402000
commit cae65ce01d
15 changed files with 2248 additions and 234 deletions

View File

@ -136,6 +136,20 @@
</wsdlFiles> </wsdlFiles>
</configuration> </configuration>
</execution> </execution>
<execution>
<id>search2010</id>
<phase>generate-sources</phase>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>com.microsoft.schemas.sharepoint.soap.search</packageName>
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
<wsdlFiles>
<wsdlFile>search.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>

View File

@ -1,16 +1,3 @@
/*
* File: $$RCSfile$$
*
* Copyright (c) 2011 by Wincor Nixdorf,
* Heinz-Nixdorf-Ring 1, 33106 Paderborn, Germany
*
* This software is the confidential and proprietary information
* of Wincor Nixdorf.
*
* You shall not disclose such confidential information and shall
* use it only in accordance with the terms of the license agreement
* you entered into with Wincor Nixdorf.
*/
package de.muehlencord.shared.sharepoint.api; package de.muehlencord.shared.sharepoint.api;
import java.io.IOException; import java.io.IOException;
@ -18,7 +5,6 @@ import java.io.InputStream;
import java.io.StringReader; import java.io.StringReader;
import java.io.StringWriter; import java.io.StringWriter;
import java.util.List; import java.util.List;
import java.util.logging.Level;
import javax.xml.XMLConstants; import javax.xml.XMLConstants;
import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException; import javax.xml.bind.JAXBException;
@ -81,7 +67,7 @@ public abstract class SPJaxbObject<T> extends SPObject {
return null; return null;
} }
Schema schema; Schema schema = null;
try { try {
SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
StreamSource[] streamSources = new StreamSource[schemaLocations.size()]; StreamSource[] streamSources = new StreamSource[schemaLocations.size()];
@ -93,7 +79,8 @@ public abstract class SPJaxbObject<T> extends SPObject {
} }
schema = sf.newSchema(streamSources); schema = sf.newSchema(streamSources);
} catch (Exception ex) { } catch (Exception ex) {
return null; // TODO add error handling ex.printStackTrace(); // TODO add error handling
// throw new SAXException ("Cannot convert to object. Reason: "+ex.getMessage(), ex);
} }
return schema; return schema;
} }

View File

@ -1,10 +1,11 @@
package de.muehlencord.shared.sharepoint.api.lists; package de.muehlencord.shared.sharepoint.api.lists;
import com.microsoft.schemas.sharepoint.soap.lists.GetListCollectionResponse; import com.microsoft.schemas.sharepoint.soap.lists.GetListItems;
import com.microsoft.schemas.sharepoint.soap.lists.GetListResponse.GetListResult; import com.microsoft.schemas.sharepoint.soap.lists.GetListItems.QueryOptions;
import com.microsoft.schemas.sharepoint.soap.lists.Lists; import com.microsoft.schemas.sharepoint.soap.lists.GetListItemsResponse;
import com.microsoft.schemas.sharepoint.soap.lists.GetListResponse;
import com.microsoft.schemas.sharepoint.soap.lists.ListsSoap; import com.microsoft.schemas.sharepoint.soap.lists.ListsSoap;
import com.microsoft.schemas.sharepoint.soap.lists.UpdateListItems.Updates; import com.microsoft.schemas.sharepoint.soap.lists.UpdateListItems;
import de.muehlencord.shared.sharepoint.api.SPContext; import de.muehlencord.shared.sharepoint.api.SPContext;
import de.muehlencord.shared.sharepoint.api.SPJaxbObject; import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
import de.muehlencord.shared.sharepoint.api.SPObject; import de.muehlencord.shared.sharepoint.api.SPObject;
@ -14,138 +15,184 @@ import de.muehlencord.shared.sharepoint.api.batch.Method;
import de.muehlencord.shared.sharepoint.api.batch.MethodType; import de.muehlencord.shared.sharepoint.api.batch.MethodType;
import java.io.IOException; import java.io.IOException;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL;
import java.security.KeyManagementException; import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
import java.text.ParseException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List;
import java.util.Map; import java.util.Map;
import javax.xml.bind.JAXBException; import javax.xml.bind.JAXBException;
import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.ParserConfigurationException;
import javax.xml.ws.BindingProvider; import javax.xml.ws.BindingProvider;
import javax.xml.ws.handler.Handler; import javax.xml.ws.handler.Handler;
import org.w3c.dom.Element; import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
/** /**
* *
* @author jomu * @author joern.muehlencord
*/ */
public class SPList extends SPJaxbObject<de.muehlencord.shared.sharepoint.api.lists.Lists> { public class SPList extends SPJaxbObject<List> {
public SPList(SPContext context) throws JAXBException { private String listName = null;
super(de.muehlencord.shared.sharepoint.api.lists.Lists.class, context);
public SPList(SPContext context, String listName) throws JAXBException {
super(List.class, context);
getValue().name = listName;
} }
@Override @Override
protected List getSchemaLocation() { protected java.util.List getSchemaLocation() {
List<String> schemaList = new ArrayList(); java.util.List<String> schemaList = new ArrayList();
schemaList.add("/xsd/lists.xsd"); schemaList.add("/xsd/list.xsd");
return schemaList; return schemaList;
} }
public List<String> getListNames() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, ParseException, JAXBException,
/* *** list information *** */
public String getListName() {
return getValue().name;
}
/* *** queries *** */
public java.util.List<java.util.List<String>> getListItems(java.util.List<String> listColumnNames, String rowLimit) throws NoSuchAlgorithmException,
KeyManagementException, JAXBException, MalformedURLException,
SAXException { SAXException {
if (this.getValue().lists == null) {
getValueFromSharepoint();
}
List<String> returnList = new LinkedList<>();
this.getValue().lists.stream().
forEach((currentList) -> {
returnList.add(currentList.name);
});
return returnList;
}
public String getListName(String listTitle) throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException { //Here are additional parameters that may be set
if (this.getValue().lists == null) { String viewName = null;
getValueFromSharepoint(); GetListItems.ViewFields viewFields = null;
} GetListItems.Query query = null;
QueryOptions queryOptions = new QueryOptions();
String webId = null;
for (de.muehlencord.shared.sharepoint.api.lists.List currentList : this.getValue().lists) { GetListItemsResponse.GetListItemsResult result = getListsPort().
if (currentList.title.equals(listTitle)) { getListItems(getValue().name, viewName, query, viewFields, rowLimit, queryOptions, webId);
return currentList.name;
}
}
return null;
}
public void getListColumns(String listName) throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException { java.util.List<java.util.List<String>> returnList = new LinkedList<>();
GetListResult result = getListsPort(getContext().getSiteURL()).getList(listName); if (result != null && result.getContent() != null) {
if (result.getContent() != null) {
for (Object content : result.getContent()) { for (Object content : result.getContent()) {
// TODO - handdling more than one result / should not occur // TODO - handdling more than one result / should not occur
if (content instanceof Element) { if (content instanceof Element) {
// Parse XML file
// parse XML manually. Attribute list is generated automatically as the columns
// are stored as attribute with ows_<columnname>. This makes an easy to use
// XSD generated java object unhandy.
Element rootElement = (Element) content; Element rootElement = (Element) content;
String listsString = SPObject.xmlToString(rootElement.getOwnerDocument());
System.out.println (listsString); NodeList list = rootElement.getElementsByTagName("z:row");
// TODO implement handling for (int i = 0; i < list.getLength(); i++) {
// this.setValue(listsString); java.util.List<String> rowList = new LinkedList<>();
//Gets the attributes of the current row/element
NamedNodeMap attributes = list.item(i).getAttributes();
// include all attributes which are requested by the given column names
// important - blank codes to _x0020_ as blank is not allowed in XML attribute names
for (String columnName : listColumnNames) {
String internalColumnName = "ows_" + columnName.replace(" ", "_x0020_");
if (attributes.getNamedItem(internalColumnName) != null) {
rowList.add(attributes.getNamedItem(internalColumnName).getNodeValue());
} else {
// TODO create better exception handling
throw new JAXBException("Couldn't find the '" + columnName + "' column in the '" + listName + "' list in SharePoint.\n");
}
}
returnList.add(rowList);
} }
} }
} }
} }
return returnList; // TODO either return null or return empty lists, currently handled differently
}
public void addListItem(String listName, Map<String, String> data) throws NoSuchAlgorithmException, KeyManagementException, JAXBException,
MalformedURLException, SAXException, ParserConfigurationException, IOException { /* *** manipulating list items *** */
List<Map<String, String>> dataList = new LinkedList<>(); public void addListItem(String listName, Map<String, String> data) throws NoSuchAlgorithmException, KeyManagementException,
JAXBException, MalformedURLException, SAXException, ParserConfigurationException, IOException {
java.util.List<Map<String, String>> dataList = new LinkedList<>();
dataList.add(data); dataList.add(data);
addListItems(listName, dataList); addListItems(listName, dataList);
} }
public void addListItemByTitle(String listTitle, Map<String, String> data) throws NoSuchAlgorithmException, KeyManagementException, JAXBException, public void addListItems(String listName, java.util.List<Map<String, String>> dataList) throws NoSuchAlgorithmException,
MalformedURLException, SAXException, ParserConfigurationException, IOException { KeyManagementException, JAXBException, MalformedURLException, SAXException, ParserConfigurationException, IOException {
List<Map<String, String>> dataList = new LinkedList<>();
dataList.add(data);
addListItems(getListName(listTitle), dataList);
}
public void addListItems(String listName, List<Map<String, String>> dataList) throws NoSuchAlgorithmException, KeyManagementException, JAXBException,
MalformedURLException, SAXException, ParserConfigurationException, IOException {
if (this.getValue().lists == null) {
getValueFromSharepoint();
}
// prepare batch to be posted to sharepoint server
SPBatch batch = new SPBatch(getContext()); SPBatch batch = new SPBatch(getContext());
for (Integer batchId = 1; batchId <= dataList.size(); batchId++) { for (Integer batchId = 1; batchId <= dataList.size();
batchId++) {
Method method = new Method(); Method method = new Method();
method.setID(batchId); method.setID(batchId);
method.setCmd(MethodType.NEW); method.setCmd(MethodType.NEW);
Map<String, String> data = dataList.get(batchId - 1); Map<String, String> data = dataList.get(batchId - 1);
data.keySet().stream(). data.keySet().stream().
map((key) -> { map((String key) -> {
Field field = new Field(); Field field = new Field();
field.setName(key); field.setName(key.replace(" ", "_x0020_"));
field.setContent(data.get(key)); field.setContent(data.get(key));
return field; return field;
}). }).
forEach((field) -> { forEach((Field field) -> {
method.getFields().add(field); method.getFields().add(field);
}); });
batch.addMethod(method); batch.addMethod(method);
} }
UpdateListItems.Updates updates = new UpdateListItems.Updates();
// convert batch to node and attach it to update to be executed
Updates updates = new Updates();
String batchXML = batch.getValueXmlString();
System.out.println(batchXML);
Node node = batch.createSharePointCAMLNode(); Node node = batch.createSharePointCAMLNode();
updates.getContent().add(node); updates.getContent().add(node);
getListsPort().updateListItems(listName, updates);
// use created update object to execute on sharepoint
getListsPort(getContext().getSiteURL()).updateListItems(listName, updates);
} }
private ListsSoap getListsPort(URL webUrl) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException { /* *** information & tools *** */
URL wsURL = new URL(webUrl.toString() + "/_vti_bin/Lists.asmx"); public Map<String, String> getLookupValueMap(String value, String rowLimit) throws NoSuchAlgorithmException,
URL wsdlURL = new URL(SPContext.class.getResource("/2010/wsdl/lists.wsdl").toExternalForm()); KeyManagementException, JAXBException, MalformedURLException, SAXException {
Lists service = new Lists(wsdlURL);
// get list values from sharepoint
java.util.List<String> listColumnNames = new ArrayList<>();
listColumnNames.add("ID");
listColumnNames.add(value);
java.util.List<java.util.List<String>> listItems = getListItems(listColumnNames, rowLimit);
// convert to map from value to <ID>;#<value>
Map<String, String> returnMap = new HashMap<>();
for (java.util.List<String> row : listItems) {
String rowId = row.get(0);
String rowValue = row.get(1);
String rowLookupValue = rowId + ";#" + rowValue;
if (returnMap.containsKey(rowValue)) {
throw new SAXException("Key " + rowValue + " already exists - key values must be unique");
} else {
returnMap.put(rowValue, rowLookupValue);
}
}
return returnMap;
}
public String getColumnNameByDisplayName(String columnDisplayName) throws NoSuchAlgorithmException,
KeyManagementException, JAXBException, MalformedURLException, SAXException {
if (getValue().fields == null) {
getListFromSharepoint(getValue().name);
}
Fields fields = getValue().fields;
for (de.muehlencord.shared.sharepoint.api.lists.Field field : fields.getFields()) {
if (field.getDisplayName().equals(columnDisplayName)) {
return field.getName();
}
}
return null;
}
/* *** private helper methods *** */
private ListsSoap getListsPort() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
java.net.URL contextURL = getContext().getSiteURL();
java.net.URL wsURL = new java.net.URL(contextURL.toString() + "/_vti_bin/Lists.asmx");
java.net.URL wsdlURL = new java.net.URL(SPContext.class.getResource("/2010/wsdl/lists.wsdl").toExternalForm());
com.microsoft.schemas.sharepoint.soap.lists.Lists service = new com.microsoft.schemas.sharepoint.soap.lists.Lists(wsdlURL);
ListsSoap listsPort = service.getListsSoap(); ListsSoap listsPort = service.getListsSoap();
((BindingProvider) listsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString()); ((BindingProvider) listsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
@ -157,8 +204,10 @@ public class SPList extends SPJaxbObject<de.muehlencord.shared.sharepoint.api.li
return listsPort; return listsPort;
} }
/*
private void getValueFromSharepoint() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException { private void getValueFromSharepoint() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException {
GetListCollectionResponse.GetListCollectionResult result = getListsPort(getContext().getSiteURL()).getListCollection();
GetListResponse.GetListResult result = getListsPort().getList(listName);
if (result.getContent() != null) { if (result.getContent() != null) {
for (Object content : result.getContent()) { for (Object content : result.getContent()) {
@ -167,10 +216,36 @@ public class SPList extends SPJaxbObject<de.muehlencord.shared.sharepoint.api.li
// Parse XML file // Parse XML file
Element rootElement = (Element) content; Element rootElement = (Element) content;
String listsString = SPObject.xmlToString(rootElement.getOwnerDocument()); String listsString = SPObject.xmlToString(rootElement.getOwnerDocument());
System.out.println (listsString);
this.setValue(listsString);
}
}
}
}
*/
private void getListFromSharepoint(String listName) throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException {
GetListResponse.GetListResult result = getListsPort().getList(listName);
if (result.getContent() != null) {
for (Object content : result.getContent()) {
// TODO - handdling more than one result / should not occur
if (content instanceof Element) {
// Parse XML file
Element rootElement = (Element) content;
String listsString = SPObject.xmlToString(rootElement.getOwnerDocument());
System.out.println(listsString);
this.setValue(listsString); this.setValue(listsString);
} }
} }
} }
} }
/* *** unsorted *** */
} }
/**
* History:
*
* $$Log$$
*
*/

View File

@ -0,0 +1,138 @@
package de.muehlencord.shared.sharepoint.api.lists;
import com.microsoft.schemas.sharepoint.soap.lists.GetListCollectionResponse;
import com.microsoft.schemas.sharepoint.soap.lists.GetListResponse.GetListResult;
import com.microsoft.schemas.sharepoint.soap.lists.Lists;
import com.microsoft.schemas.sharepoint.soap.lists.ListsSoap;
import de.muehlencord.shared.sharepoint.api.SPContext;
import de.muehlencord.shared.sharepoint.api.SPJaxbObject;
import de.muehlencord.shared.sharepoint.api.SPObject;
import de.muehlencord.shared.sharepoint.api.ServiceLogHandler;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.LinkedList;
import javax.xml.bind.JAXBException;
import javax.xml.ws.BindingProvider;
import javax.xml.ws.handler.Handler;
import org.w3c.dom.Element;
import org.xml.sax.SAXException;
/**
*
* @author jomu
*/
public class SPLists extends SPJaxbObject<de.muehlencord.shared.sharepoint.api.lists.Lists> {
/* *** constructors & object methods needed *** */
public SPLists(SPContext context) throws JAXBException {
super(de.muehlencord.shared.sharepoint.api.lists.Lists.class, context);
}
@Override
protected java.util.List getSchemaLocation() {
java.util.List<String> schemaList = new ArrayList();
schemaList.add("/xsd/lists.xsd");
return schemaList;
}
/* ** get list objects *** */
public SPList getSpListByTitle(String listName) throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException {
if (this.getValue().lists == null) {
getValueFromSharepoint();
}
List list = getListByTitle(listName);
SPList returnList = new SPList(getContext(), listName);
returnList.setValue(list);
return returnList;
}
/* *** get lists information *** */
public java.util.List<String> getListNames() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, ParseException, JAXBException,
SAXException {
if (this.getValue().lists == null) {
getValueFromSharepoint();
}
java.util.List<String> returnList = new LinkedList<>();
this.getValue().lists.stream().
forEach((currentList) -> {
returnList.add(currentList.name);
});
return returnList;
}
public String getListNameByTitle(String listTitle) throws NoSuchAlgorithmException, KeyManagementException, JAXBException,
MalformedURLException, SAXException {
if (this.getValue().lists == null) {
getValueFromSharepoint();
}
for (List list : getValue().lists) {
if (list.title.equals(listTitle)) {
return list.name;
}
}
return null;
}
/* *** private helper methods *** */
private ListsSoap getListsPort() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
URL wsURL = new URL(getContext().getSiteURL().toString() + "/_vti_bin/Lists.asmx");
URL wsdlURL = new URL(SPContext.class.getResource("/2010/wsdl/lists.wsdl").toExternalForm());
Lists service = new Lists(wsdlURL);
ListsSoap listsPort = service.getListsSoap();
((BindingProvider) listsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
// log all incoming and outgoing communication - TODO make this configurable by DEBUG switch
java.util.List<Handler> handlers = ((BindingProvider) listsPort).getBinding().getHandlerChain();
handlers.add(new ServiceLogHandler());
((BindingProvider) listsPort).getBinding().setHandlerChain(handlers);
return listsPort;
}
private void getValueFromSharepoint() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, MalformedURLException, SAXException {
GetListCollectionResponse.GetListCollectionResult result = getListsPort().getListCollection();
if (result.getContent() != null) {
for (Object content : result.getContent()) {
// TODO - handdling more than one result / should not occur
if (content instanceof Element) {
// Parse XML file
Element rootElement = (Element) content;
String listsString = SPObject.xmlToString(rootElement.getOwnerDocument());
System.out.println(listsString);
this.setValue(listsString);
}
}
}
}
private List getListByTitle(String listTitle) {
for (List list : this.getValue().lists) {
if (list.getTitle().equals(listTitle)) {
return list;
}
}
// return null, if list is not found
return null;
}
private List getListByName(String listName) {
for (List list : this.getValue().lists) {
if (list.getName().equals(listName)) {
return list;
}
}
// return null, if list is not found
return null;
}
}

View File

@ -184,7 +184,7 @@
</s:complexType> </s:complexType>
</s:element> </s:element>
<s:element minOccurs="0" maxOccurs="1" name="rowLimit" type="s:string"/> <s:element minOccurs="0" maxOccurs="1" name="rowLimit" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="queryOptions"> <s:element minOccurs="0" maxOccurs="1" name="QueryOptions">
<s:complexType mixed="true"> <s:complexType mixed="true">
<s:sequence> <s:sequence>
<s:any/> <s:any/>
@ -263,7 +263,7 @@
</s:complexType> </s:complexType>
</s:element> </s:element>
<s:element minOccurs="0" maxOccurs="1" name="rowLimit" type="s:string"/> <s:element minOccurs="0" maxOccurs="1" name="rowLimit" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="queryOptions"> <s:element minOccurs="0" maxOccurs="1" name="QueryOptions">
<s:complexType mixed="true"> <s:complexType mixed="true">
<s:sequence> <s:sequence>
<s:any/> <s:any/>

View File

@ -0,0 +1,366 @@
<wsdl:definitions xmlns:s0="urn:Microsoft.Search" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://microsoft.com/webservices/OfficeServer/QueryService" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://microsoft.com/webservices/OfficeServer/QueryService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Microsoft SharePoint Server 2013 Preview Search Query Web Service</wsdl:documentation>
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="urn:Microsoft.Search">
<s:element name="Query">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="queryXml" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="QueryResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="QueryResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Registration">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="registrationXml" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="RegistrationResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="RegistrationResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Status">
<s:complexType />
</s:element>
<s:element name="StatusResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="StatusResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="RecordClick">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="clickInfoXml" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="RecordClickResponse">
<s:complexType />
</s:element>
</s:schema>
<s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/webservices/OfficeServer/QueryService">
<s:element name="QueryEx">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="queryXml" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="QueryExResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="QueryExResult">
<s:complexType>
<s:sequence>
<!-- <s:element ref="s:schema" /> -->
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetPortalSearchInfo">
<s:complexType />
</s:element>
<s:element name="GetPortalSearchInfoResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetPortalSearchInfoResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetSearchMetadata">
<s:complexType />
</s:element>
<s:element name="GetSearchMetadataResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetSearchMetadataResult">
<s:complexType>
<s:sequence>
<!-- <s:element ref="s:schema" /> -->
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetQuerySuggestions">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="queryXml" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetQuerySuggestionsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetQuerySuggestionsResult" type="tns:ArrayOfString" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfString">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="QuerySoapIn">
<wsdl:part name="parameters" element="s0:Query" />
</wsdl:message>
<wsdl:message name="QuerySoapOut">
<wsdl:part name="parameters" element="s0:QueryResponse" />
</wsdl:message>
<wsdl:message name="QueryExSoapIn">
<wsdl:part name="parameters" element="tns:QueryEx" />
</wsdl:message>
<wsdl:message name="QueryExSoapOut">
<wsdl:part name="parameters" element="tns:QueryExResponse" />
</wsdl:message>
<wsdl:message name="RegistrationSoapIn">
<wsdl:part name="parameters" element="s0:Registration" />
</wsdl:message>
<wsdl:message name="RegistrationSoapOut">
<wsdl:part name="parameters" element="s0:RegistrationResponse" />
</wsdl:message>
<wsdl:message name="StatusSoapIn">
<wsdl:part name="parameters" element="s0:Status" />
</wsdl:message>
<wsdl:message name="StatusSoapOut">
<wsdl:part name="parameters" element="s0:StatusResponse" />
</wsdl:message>
<wsdl:message name="GetPortalSearchInfoSoapIn">
<wsdl:part name="parameters" element="tns:GetPortalSearchInfo" />
</wsdl:message>
<wsdl:message name="GetPortalSearchInfoSoapOut">
<wsdl:part name="parameters" element="tns:GetPortalSearchInfoResponse" />
</wsdl:message>
<wsdl:message name="GetSearchMetadataSoapIn">
<wsdl:part name="parameters" element="tns:GetSearchMetadata" />
</wsdl:message>
<wsdl:message name="GetSearchMetadataSoapOut">
<wsdl:part name="parameters" element="tns:GetSearchMetadataResponse" />
</wsdl:message>
<wsdl:message name="RecordClickSoapIn">
<wsdl:part name="parameters" element="s0:RecordClick" />
</wsdl:message>
<wsdl:message name="RecordClickSoapOut">
<wsdl:part name="parameters" element="s0:RecordClickResponse" />
</wsdl:message>
<wsdl:message name="GetQuerySuggestionsSoapIn">
<wsdl:part name="parameters" element="tns:GetQuerySuggestions" />
</wsdl:message>
<wsdl:message name="GetQuerySuggestionsSoapOut">
<wsdl:part name="parameters" element="tns:GetQuerySuggestionsResponse" />
</wsdl:message>
<wsdl:portType name="QueryServiceSoap">
<wsdl:operation name="Query">
<wsdl:input message="tns:QuerySoapIn" />
<wsdl:output message="tns:QuerySoapOut" />
</wsdl:operation>
<wsdl:operation name="QueryEx">
<wsdl:input message="tns:QueryExSoapIn" />
<wsdl:output message="tns:QueryExSoapOut" />
</wsdl:operation>
<wsdl:operation name="Registration">
<wsdl:input message="tns:RegistrationSoapIn" />
<wsdl:output message="tns:RegistrationSoapOut" />
</wsdl:operation>
<wsdl:operation name="Status">
<wsdl:input message="tns:StatusSoapIn" />
<wsdl:output message="tns:StatusSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetPortalSearchInfo">
<wsdl:input message="tns:GetPortalSearchInfoSoapIn" />
<wsdl:output message="tns:GetPortalSearchInfoSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetSearchMetadata">
<wsdl:input message="tns:GetSearchMetadataSoapIn" />
<wsdl:output message="tns:GetSearchMetadataSoapOut" />
</wsdl:operation>
<wsdl:operation name="RecordClick">
<wsdl:input message="tns:RecordClickSoapIn" />
<wsdl:output message="tns:RecordClickSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetQuerySuggestions">
<wsdl:input message="tns:GetQuerySuggestionsSoapIn" />
<wsdl:output message="tns:GetQuerySuggestionsSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="QueryServiceSoap" type="tns:QueryServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Query">
<soap:operation soapAction="urn:Microsoft.Search/Query" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="QueryEx">
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/QueryEx" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Registration">
<soap:operation soapAction="urn:Microsoft.Search/Registration" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Status">
<soap:operation soapAction="urn:Microsoft.Search/Status" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetPortalSearchInfo">
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetPortalSearchInfo" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSearchMetadata">
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetSearchMetadata" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="RecordClick">
<soap:operation soapAction="urn:Microsoft.Search/RecordClick" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuerySuggestions">
<soap:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetQuerySuggestions" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="QueryServiceSoap12" type="tns:QueryServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Query">
<soap12:operation soapAction="urn:Microsoft.Search/Query" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="QueryEx">
<soap12:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/QueryEx" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Registration">
<soap12:operation soapAction="urn:Microsoft.Search/Registration" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Status">
<soap12:operation soapAction="urn:Microsoft.Search/Status" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetPortalSearchInfo">
<soap12:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetPortalSearchInfo" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSearchMetadata">
<soap12:operation soapAction="http://microsoft.com/webservices/OfficeServer/QueryService/GetSearchMetadata" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="RecordClick">
<soap12:operation soapAction="urn:Microsoft.Search/RecordClick" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuerySuggestions">
<soap:operation soapAction="urn:Microsoft.Search/GetQuerySuggestions" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="QueryService">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Microsoft SharePoint Server 2013 Preview Search Query Web Service</wsdl:documentation>
<wsdl:port name="QueryServiceSoap" binding="tns:QueryServiceSoap">
<soap:address location="" />
</wsdl:port>
<wsdl:port name="QueryServiceSoap12" binding="tns:QueryServiceSoap12">
<soap12:address location="" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
jxb:extensionBindingPrefixes="xjc">
<jxb:bindings schemaLocation="../xsd/listitems.xsd"
node="/xs:schema">
<jxb:globalBindings>
<xjc:simple />
<xjc:serializable uid="100" />
</jxb:globalBindings>
</jxb:bindings>
</jxb:bindings>

View File

@ -0,0 +1,570 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
<xs:element name="List">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="soap:Fields"/>
<xs:element minOccurs="0" ref="soap:RegionalSettings"/>
<xs:element minOccurs="0" ref="soap:ServerSettings"/>
</xs:sequence>
<xs:attribute name="AllowDeletion" use="required" type="xs:string"/>
<xs:attribute name="AllowMultiResponses" use="required" type="xs:string"/>
<xs:attribute name="AnonymousPermMask" use="required" type="xs:int"/>
<xs:attribute name="Author" use="required" type="xs:int"/>
<xs:attribute name="BaseType" use="required" type="xs:int"/>
<xs:attribute name="CanOpenFileAsync" use="required" type="xs:string"/>
<xs:attribute name="Created" use="required"/>
<xs:attribute name="DefaultViewUrl" use="required"/>
<xs:attribute name="Description" use="required"/>
<xs:attribute name="Direction" use="required" type="xs:string"/>
<xs:attribute name="DocTemplateUrl" use="required"/>
<xs:attribute name="EmailAlias" use="required"/>
<xs:attribute name="EnableAttachments" use="required" type="xs:string"/>
<xs:attribute name="EnableFolderCreation" use="required" type="xs:string"/>
<xs:attribute name="EnableMinorVersion" use="required" type="xs:string"/>
<xs:attribute name="EnableModeration" use="required" type="xs:string"/>
<xs:attribute name="EnablePeopleSelector" use="required" type="xs:string"/>
<xs:attribute name="EnableResourceSelector" use="required" type="xs:string"/>
<xs:attribute name="EnableVersioning" use="required" type="xs:string"/>
<xs:attribute name="EnforceDataValidation" use="required" type="xs:string"/>
<xs:attribute name="EventSinkAssembly" use="required"/>
<xs:attribute name="EventSinkClass" use="required"/>
<xs:attribute name="EventSinkData" use="required"/>
<xs:attribute name="ExcludeFromOfflineClient" use="required" type="xs:string"/>
<xs:attribute name="FeatureId" use="required"/>
<xs:attribute name="Flags" use="required" type="xs:int"/>
<xs:attribute name="Followable" use="required" type="xs:string"/>
<xs:attribute name="HasExternalDataSource" use="required" type="xs:string"/>
<xs:attribute name="HasRelatedLists" use="required" type="xs:string"/>
<xs:attribute name="HasUniqueScopes" use="required" type="xs:string"/>
<xs:attribute name="Hidden" use="required" type="xs:string"/>
<xs:attribute name="ID" use="required"/>
<xs:attribute name="ImageUrl" use="required"/>
<xs:attribute name="IrmEnabled" use="required" type="xs:string"/>
<xs:attribute name="IsApplicationList" use="required" type="xs:string"/>
<xs:attribute name="ItemCount" use="required" type="xs:int"/>
<xs:attribute name="LastDeleted" use="required"/>
<xs:attribute name="MajorVersionLimit" use="required" type="xs:int"/>
<xs:attribute name="MajorWithMinorVersionsLimit" use="required" type="xs:int"/>
<xs:attribute name="MaxItemsPerThrottledOperation" use="required" type="xs:int"/>
<xs:attribute name="MobileDefaultViewUrl" use="required"/>
<xs:attribute name="Modified" use="required"/>
<xs:attribute name="MultipleDataList" use="required" type="xs:string"/>
<xs:attribute name="Name" use="required"/>
<xs:attribute name="RelationshipDeleteBehavior" use="optional" type="soap:RelationshipDeleteBehavior"
<xs:attribute name="NoThrottleListOperations" use="required" type="xs:string"/>
<xs:attribute name="Ordered" use="required" type="xs:string"/>
<xs:attribute name="PreserveEmptyValues" use="required" type="xs:string"/>
<xs:attribute name="ReadSecurity" use="required" type="xs:int"/>
<xs:attribute name="RequireCheckout" use="required" type="xs:string"/>
<xs:attribute name="RootFolder" use="required"/>
<xs:attribute name="ScopeId" use="required"/>
<xs:attribute name="SendToLocation" use="required"/>
<xs:attribute name="ServerTemplate" use="required" type="xs:int"/>
<xs:attribute name="ShowUser" use="required" type="xs:string"/>
<xs:attribute name="StrictTypeCoercion" use="required" type="xs:string"/>
<xs:attribute name="ThrottleListOperations" use="required" type="xs:string"/>
<xs:attribute name="ThumbnailSize" use="required">
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:length value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base='xs:int'>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Title" use="required" type="xs:string"/>
<xs:attribute name="Version" use="required" type="xs:int"/>
<xs:attribute name="WebFullUrl" use="required"/>
<xs:attribute name="WebId" use="required"/>
<xs:attribute name="WebImageHeight" use="required">
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:length value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base='xs:int'>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="WebImageWidth" use="required">
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base='xs:string'>
<xs:length value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base='xs:int'>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="WorkFlowId" use="required"/>
<xs:attribute name="WriteSecurity" use="required" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:element name="Fields">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="soap:Field"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegionalSettings">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:Language"/>
<xs:element ref="soap:Locale"/>
<xs:element ref="soap:AdvanceHijri"/>
<xs:element ref="soap:CalendarType"/>
<xs:element ref="soap:Time24"/>
<xs:element ref="soap:TimeZone"/>
<xs:element ref="soap:SortOrder"/>
<xs:element ref="soap:Presence"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Language" type="xs:int"/>
<xs:element name="Locale" type="xs:int"/>
<xs:element name="AdvanceHijri" type="xs:int"/>
<xs:element name="CalendarType" type="xs:int"/>
<xs:element name="Time24" type="xs:string"/>
<xs:element name="TimeZone" type="xs:int"/>
<xs:element name="SortOrder" type="xs:int"/>
<xs:element name="Presence" type="xs:string"/>
<xs:element name="ServerSettings">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:ServerVersion"/>
<xs:element ref="soap:RecycleBinEnabled"/>
<xs:element ref="soap:ServerRelativeUrl"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ServerVersion" type="xs:NMTOKEN"/>
<xs:element name="RecycleBinEnabled" type="xs:string"/>
<xs:element name="ServerRelativeUrl" type="xs:string"/>
<xs:element name="Field">
<xs:complexType>
<xs:sequence>
<xs:sequence minOccurs="0">
<xs:element ref="soap:CHOICES"/>
<xs:element ref="soap:Default"/>
</xs:sequence>
<xs:element minOccurs="0" ref="soap:FieldRefs"/>
<xs:element minOccurs="0" ref="soap:DisplayPattern"/>
</xs:sequence>
<xs:attribute name="AuthoringInfo"/>
<xs:attribute name="CanToggleHidden" type="xs:string"/>
<xs:attribute name="ClassInfo" type="xs:string"/>
<xs:attribute name="ColName" type="xs:string"/>
<xs:attribute name="Description"/>
<xs:attribute name="Dir"/>
<xs:attribute name="DisplaceOnUpgrade" type="xs:string"/>
<xs:attribute name="DisplayName"/>
<xs:attribute name="DisplayNameSrcField" type="xs:string"/>
<xs:attribute name="EnableLookup" type="xs:string"/>
<xs:attribute name="EnforceUniqueValues" type="xs:string"/>
<xs:attribute name="FieldRef" type="xs:string"/>
<xs:attribute name="Filterable" type="xs:string"/>
<xs:attribute name="Format" type="xs:string"/>
<xs:attribute name="FromBaseType" type="xs:string"/>
<xs:attribute name="Group" type="xs:string"/>
<xs:attribute name="HeaderImage" type="xs:string"/>
<xs:attribute name="Hidden" type="xs:string"/>
<xs:attribute name="ID"/>
<xs:attribute name="Indexed" type="xs:string"/>
<xs:attribute name="JoinColName" type="xs:string"/>
<xs:attribute name="JoinRowOrdinal" type="xs:int"/>
<xs:attribute name="JoinType" type="xs:string"/>
<xs:attribute name="LinkToItemAllowed" type="xs:string"/>
<xs:attribute name="List" type="xs:string"/>
<xs:attribute name="ListItemMenuAllowed" type="xs:string"/>
<xs:attribute name="Max" type="xs:int"/>
<xs:attribute name="MaxLength" type="xs:int"/>
<xs:attribute name="Min" type="xs:int"/>
<xs:attribute name="Name" use="required" type="xs:string"/>
<xs:attribute name="PIAttribute" type="xs:string"/>
<xs:attribute name="PITarget"/>
<xs:attribute name="PrimaryKey" type="xs:string"/>
<xs:attribute name="ReadOnly" type="xs:string"/>
<xs:attribute name="RenderXMLUsingPattern" type="xs:string"/>
<xs:attribute name="Required" type="xs:string"/>
<xs:attribute name="RowOrdinal" type="xs:int"/>
<xs:attribute name="Sealed" type="xs:string"/>
<xs:attribute name="SetAs" type="xs:string"/>
<xs:attribute name="ShowField" type="xs:string"/>
<xs:attribute name="ShowInFileDlg" type="xs:string"/>
<xs:attribute name="ShowInVersionHistory" type="xs:string"/>
<xs:attribute name="Sortable" type="xs:string"/>
<xs:attribute name="SourceID" type="xs:anyURI"/>
<xs:attribute name="StaticName" type="xs:string"/>
<xs:attribute name="StorageTZ" type="xs:string"/>
<xs:attribute name="TextOnly" type="xs:string"/>
<xs:attribute name="Type" type="xs:string"/>
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
<xs:attribute name="Version" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:element name="CHOICES">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="soap:CHOICE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CHOICE" type="xs:string"/>
<xs:element name="FieldRefs">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="soap:FieldRef"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FieldRef">
<xs:complexType>
<xs:attribute name="Name" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="DisplayPattern">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="soap:CurrentRights"/>
<xs:element minOccurs="0" ref="soap:HttpHost"/>
<xs:choice>
<xs:element ref="soap:FieldSwitch"/>
<xs:element ref="soap:IfHasRights"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Column"/>
<xs:element ref="soap:Counter"/>
<xs:element ref="soap:Field"/>
<xs:element ref="soap:GetVar"/>
<xs:element ref="soap:HTML"/>
<xs:element ref="soap:LookupColumn"/>
<xs:element ref="soap:MapToAll"/>
</xs:choice>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="soap:SetVar"/>
<xs:choice minOccurs="0">
<xs:element ref="soap:IfEqual"/>
<xs:element ref="soap:MapToContentType"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CurrentRights">
<xs:complexType/>
</xs:element>
<xs:element name="HttpHost">
<xs:complexType>
<xs:attribute name="URLEncodeAsURL" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="IfHasRights">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:RightsChoices"/>
<xs:element ref="soap:Then"/>
<xs:element ref="soap:Else"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RightsChoices">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:RightsGroup"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RightsGroup">
<xs:complexType>
<xs:attribute name="PermEditListItems" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MapToAll">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="soap:Column"/>
<xs:element ref="soap:HTML"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="MapToContentType">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:Column"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Default">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Field"/>
<xs:element ref="soap:FieldSwitch"/>
<xs:element ref="soap:GetVar"/>
<xs:element ref="soap:HTML"/>
<xs:element ref="soap:IfEqual"/>
<xs:element ref="soap:LookupColumn"/>
<xs:element ref="soap:ScriptQuote"/>
<xs:element ref="soap:SetVar"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="HTML" type="xs:string"/>
<xs:element name="Column">
<xs:complexType>
<xs:attribute name="Default"/>
<xs:attribute name="HTMLEncode" type="xs:string"/>
<xs:attribute name="Name" use="required" type="xs:string"/>
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="LookupColumn">
<xs:complexType>
<xs:attribute name="HTMLEncode" type="xs:string"/>
<xs:attribute name="IncludeVersions" type="xs:string"/>
<xs:attribute name="Name" use="required" type="xs:string"/>
<xs:attribute name="URLEncodeAsURL" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="GetVar">
<xs:complexType>
<xs:attribute name="HTMLEncode" type="xs:string"/>
<xs:attribute name="Name" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="Counter">
<xs:complexType>
<xs:attribute name="Type" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="FieldSwitch">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Default"/>
<xs:element ref="soap:Case"/>
<xs:element ref="soap:Expr"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="Case">
<xs:complexType>
<xs:choice>
<xs:element ref="soap:Column"/>
<xs:element ref="soap:Field"/>
<xs:element ref="soap:LookupColumn"/>
<xs:element maxOccurs="unbounded" ref="soap:GetVar"/>
</xs:choice>
<xs:attribute name="Value" use="required" type="xs:NMTOKEN"/>
</xs:complexType>
</xs:element>
<xs:element name="Expr">
<xs:complexType>
<xs:choice>
<xs:element ref="soap:GetVar"/>
<xs:element ref="soap:ListProperty"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="Then">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="soap:IfEqual"/>
<xs:element minOccurs="0" ref="soap:Field"/>
<xs:choice minOccurs="0">
<xs:element ref="soap:FieldSwitch"/>
<xs:element ref="soap:IfSubString"/>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Counter"/>
<xs:element ref="soap:HTML"/>
<xs:element ref="soap:URL"/>
</xs:choice>
<xs:element minOccurs="0" ref="soap:LookupColumn"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="IfSubString">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:Expr1"/>
<xs:element ref="soap:Expr2"/>
<xs:element ref="soap:Then"/>
<xs:element ref="soap:Else"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Else">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="soap:MapToIcon"/>
<xs:element minOccurs="0" ref="soap:SetVar"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Column"/>
<xs:element ref="soap:Counter"/>
<xs:element ref="soap:Field"/>
<xs:element ref="soap:GetVar"/>
<xs:element ref="soap:HTML"/>
<xs:element ref="soap:IfEqual"/>
<xs:element ref="soap:ScriptQuote"/>
<xs:element ref="soap:URL"/>
<xs:element ref="soap:MapToOverlay"/>
<xs:element ref="soap:UrlBaseName"/>
</xs:choice>
<xs:choice minOccurs="0">
<xs:element ref="soap:LookupColumn"/>
<xs:element ref="soap:IfNew"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MapToOverlay">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:Column"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UrlBaseName">
<xs:complexType>
<xs:sequence>
<xs:element ref="soap:LookupColumn"/>
</xs:sequence>
<xs:attribute name="HTMLEncode" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="IfNew">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="soap:HTML"/>
</xs:sequence>
<xs:attribute name="Name" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="SetVar">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:FieldSwitch"/>
<xs:element ref="soap:GetVar"/>
<xs:element ref="soap:HTML"/>
<xs:element ref="soap:IfEqual"/>
<xs:element ref="soap:LookupColumn"/>
<xs:element ref="soap:MapToIcon"/>
<xs:element ref="soap:SetVar"/>
<xs:element ref="soap:FilterLink"/>
</xs:choice>
<xs:attribute name="Name" use="required" type="xs:string"/>
<xs:attribute name="Value" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:element name="FilterLink">
<xs:complexType>
<xs:attribute name="Default" use="required"/>
<xs:attribute name="Paged" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="IfEqual">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Else"/>
<xs:element ref="soap:Expr1"/>
<xs:element ref="soap:Expr2"/>
<xs:element ref="soap:Then"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="ScriptQuote">
<xs:complexType>
<xs:choice>
<xs:element ref="soap:Column"/>
<xs:element ref="soap:Field"/>
<xs:element ref="soap:GetVar"/>
<xs:element ref="soap:ListProperty"/>
<xs:element ref="soap:MapToControl"/>
<xs:element ref="soap:ServerProperty"/>
<xs:element ref="soap:UserID"/>
</xs:choice>
<xs:attribute name="NotAddingQuote" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MapToControl">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="soap:Column"/>
<xs:element ref="soap:HTML"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="ServerProperty">
<xs:complexType>
<xs:attribute name="Select" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="UserID">
<xs:complexType>
<xs:attribute name="AllowAnonymous" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="ListProperty">
<xs:complexType>
<xs:attribute name="Select" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="Expr1">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Column"/>
<xs:element ref="soap:GetVar"/>
<xs:element ref="soap:HTML"/>
<xs:element ref="soap:LookupColumn"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="Expr2">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Column"/>
<xs:element ref="soap:HTML"/>
<xs:element ref="soap:MapToIcon"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="URL">
<xs:complexType>
<xs:attribute name="Cmd" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MapToIcon">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="soap:Column"/>
<xs:element ref="soap:HTML"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="RelationshipDeleteBehavior">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration>Restrict</xs:enumeration>
<xs:enumeration>Cascade</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
<xs:include schemaLocation="list.xsd" />
<xs:element name="Lists"> <xs:element name="Lists">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
@ -7,73 +10,5 @@
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="List">
<xs:complexType>
<xs:attribute name="AllowDeletion" use="required" type="xs:NCName"/>
<xs:attribute name="AllowMultiResponses" use="required" type="xs:NCName"/>
<xs:attribute name="AnonymousPermMask" use="required" type="xs:integer"/>
<xs:attribute name="Author" use="required" type="xs:integer"/>
<xs:attribute name="BaseType" use="required" type="xs:integer"/>
<xs:attribute name="CanOpenFileAsync" use="required" type="xs:NCName"/>
<xs:attribute name="Created" use="required"/>
<xs:attribute name="DefaultViewUrl" use="required"/>
<xs:attribute name="Description" use="required"/>
<xs:attribute name="Direction" use="required" type="xs:NCName"/>
<xs:attribute name="DocTemplateUrl" use="required"/>
<xs:attribute name="EmailAlias" use="required"/>
<xs:attribute name="EnableAttachments" use="required" type="xs:NCName"/>
<xs:attribute name="EnableFolderCreation" use="required" type="xs:NCName"/>
<xs:attribute name="EnableMinorVersion" use="required" type="xs:NCName"/>
<xs:attribute name="EnableModeration" use="required" type="xs:NCName"/>
<xs:attribute name="EnablePeopleSelector" use="required" type="xs:NCName"/>
<xs:attribute name="EnableResourceSelector" use="required" type="xs:NCName"/>
<xs:attribute name="EnableVersioning" use="required" type="xs:NCName"/>
<xs:attribute name="EnforceDataValidation" use="required" type="xs:NCName"/>
<xs:attribute name="EventSinkAssembly" use="required"/>
<xs:attribute name="EventSinkClass" use="required"/>
<xs:attribute name="EventSinkData" use="required"/>
<xs:attribute name="ExcludeFromOfflineClient" use="required" type="xs:NCName"/>
<xs:attribute name="FeatureId" use="required"/>
<xs:attribute name="Flags" use="required" type="xs:integer"/>
<xs:attribute name="Followable" use="required" type="xs:NCName"/>
<xs:attribute name="HasExternalDataSource" use="required" type="xs:NCName"/>
<xs:attribute name="HasRelatedLists" use="required"/>
<xs:attribute name="HasUniqueScopes" use="required" type="xs:NCName"/>
<xs:attribute name="Hidden" use="required" type="xs:NCName"/>
<xs:attribute name="ID" use="required"/>
<xs:attribute name="ImageUrl" use="required"/>
<xs:attribute name="IrmEnabled" use="required" type="xs:NCName"/>
<xs:attribute name="IsApplicationList" use="required" type="xs:NCName"/>
<xs:attribute name="ItemCount" use="required" type="xs:integer"/>
<xs:attribute name="LastDeleted" use="required"/>
<xs:attribute name="MajorVersionLimit" use="required" type="xs:integer"/>
<xs:attribute name="MajorWithMinorVersionsLimit" use="required" type="xs:integer"/>
<xs:attribute name="MaxItemsPerThrottledOperation" use="required" type="xs:integer"/>
<xs:attribute name="MobileDefaultViewUrl" use="required"/>
<xs:attribute name="Modified" use="required"/>
<xs:attribute name="MultipleDataList" use="required" type="xs:NCName"/>
<xs:attribute name="Name" use="required"/>
<xs:attribute name="NoThrottleListOperations" use="required" type="xs:NCName"/>
<xs:attribute name="Ordered" use="required" type="xs:NCName"/>
<xs:attribute name="PreserveEmptyValues" use="required" type="xs:NCName"/>
<xs:attribute name="ReadSecurity" use="required" type="xs:integer"/>
<xs:attribute name="RequireCheckout" use="required" type="xs:NCName"/>
<xs:attribute name="RootFolder" use="required"/>
<xs:attribute name="ScopeId" use="required"/>
<xs:attribute name="SendToLocation" use="required"/>
<xs:attribute name="ServerTemplate" use="required" type="xs:integer"/>
<xs:attribute name="ShowUser" use="required" type="xs:NCName"/>
<xs:attribute name="StrictTypeCoercion" use="required" type="xs:NCName"/>
<xs:attribute name="ThrottleListOperations" use="required" type="xs:NCName"/>
<xs:attribute name="ThumbnailSize" use="required"/>
<xs:attribute name="Title" use="required"/>
<xs:attribute name="Version" use="required" type="xs:integer"/>
<xs:attribute name="WebFullUrl" use="required"/>
<xs:attribute name="WebId" use="required"/>
<xs:attribute name="WebImageHeight" use="required"/>
<xs:attribute name="WebImageWidth" use="required"/>
<xs:attribute name="WorkFlowId" use="required"/>
<xs:attribute name="WriteSecurity" use="required" type="xs:integer"/>
</xs:complexType>
</xs:element>
</xs:schema> </xs:schema>

View File

@ -2,24 +2,21 @@ package de.muehlencord.shared.sharepoint.api;
import de.muehlencord.shared.sharepoint.api.sites.SPSite; import de.muehlencord.shared.sharepoint.api.sites.SPSite;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import org.junit.Test; import org.junit.Test;
/** /**
* *
* @author jomu * @author jomu
*/ */
public class NtlmAuthenticatorTest { public class NtlmAuthenticatorTest extends BaseTest {
@Test @Test
public void testAuthentication() throws MalformedURLException { public void testAuthentication() throws MalformedURLException, NoSuchAlgorithmException, KeyManagementException {
// Create NTLM v2 credentials (authenticator) & setup context
NtlmAuthenticator credentials = new NtlmAuthenticator("DOMAIN", "username", "password");
SPContext context = new SPContext(new URL ("http://localhost:8088/"), credentials, SPVersion.SP2010);
// Connect to Sharepoint
SPSite instance = new SPSite(context); SPSite instance = new SPSite(context);
instance.getRootWeb();
} }
} }

View File

@ -1,18 +1,17 @@
package de.muehlencord.shared.sharepoint.api.lists; package de.muehlencord.shared.sharepoint.api.lists;
import de.muehlencord.shared.sharepoint.api.NtlmAuthenticator; import de.muehlencord.shared.sharepoint.api.BaseTest;
import de.muehlencord.shared.sharepoint.api.SPContext;
import de.muehlencord.shared.sharepoint.api.SPVersion;
import java.io.IOException; import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.KeyManagementException; import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
import java.text.ParseException; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import javax.xml.bind.JAXBException; import javax.xml.bind.JAXBException;
import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.ParserConfigurationException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
@ -20,56 +19,111 @@ import org.xml.sax.SAXException;
* *
* @author joern.muehlencord * @author joern.muehlencord
*/ */
public class SPListTest { public class SPListTest extends BaseTest {
public SPListTest() { @Test
public void testFromXML() throws Exception {
String xmlString = readFileContentFromTest("lists/testlist.xml", "UTF-8");
SPList list = new SPList(context, "{924883B9-41B7-430C-8206-151786A67319}");
assertNotNull(xmlString);
list.setValue(xmlString);
} }
@Test @Test
public void testSPList() throws MalformedURLException, NoSuchAlgorithmException, KeyManagementException, ParseException, JAXBException, SAXException, @Ignore // Depends on available sharepoint currently
ParserConfigurationException, IOException { public void addListItemByTitle() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, SAXException, ParserConfigurationException,
// Create NTLM v2 credentials (authenticator) & setup context IOException {
// FIXME - needs to be implemented using mock; replace with real data but make sure password is not commited SPLists instance = new SPLists(context);
NtlmAuthenticator credentials = null; SPList list = instance.getSpListByTitle("Test");
SPContext context = null; assertNotNull(list);
// Connect to Sharepoint String listName = list.getListName();
// SPSite instance = new SPSite(context); assertEquals("Listname", "{D8C8D97E-1065-4674-A8F2-026D6D478794}", listName);
SPList instance = new SPList(context);
// System.out.println (instance.getListNames());
// System.out.println (instance.getListName("Test"));
// instance.getListColumns(instance.getListName("Questionnaire Test"));
// Map<String, String> data = new HashMap<>(); // get list of all country codes
// data.put("Country", "DE"); java.util.List<String> columns = new ArrayList<>();
// data.put("WNRegion", "DACH"); columns.add("Title");
// data.put("AccountManager", "Jörn"); columns.add("ID");
// data.put("Customer", "Mühlencord"); java.util.List<java.util.List<String>> countryCodes = list.getListItems(columns, "300");
// data.put("Current OS", "Windows XP");
// data.put("PlannedOS", "migrate to Windows 7");
// data.put("RolloutStart", "in 2014");
// data.put("RolloutEnd", "in 2015");
// data.put("InstalledBase", "2000");
// data.put("IbaseMigrated", "1000");
// data.put("IbaseOrdered", "500");
// data.put("IbaseNotOrdered", "500");
// data.put("IbaseNotMigrated", "0");
// data.put("ReaseonNotMigrated", "");
// data.put("Platform", "ProBase/C");
// data.put("IbaseOldPlatform", "0");
// data.put("Application", "ProFlex4");
// data.put("IbaseOldApplication", "0");
// data.put("MaintenanceContract", "none");
// data.put("Comments", "This is a test");
// instance.addListItemByTitle("Questionnaire Test", data);
Map<String, String> data = new HashMap<>(); Map<String, String> data = new HashMap<>();
data.put("Title", "Test"); data.put("Title", "Test");
data.put ("Choice", "Enter Choice #1"); // is not check, possible to add wrong value data.put("Choice", "Enter Choice #1"); // is not checked, possible to add wrong value
// data.put ("Country", "DE"); // reference needed, need to implement lookup data.put("Country", "357;#DE"); // reference taken from testGetLookupValuesMap
data.put("Number", "17"); // is validating data.put("Number", "17"); // is validating
data.put("Lines", "Long text<br>with line breaks"); // line breaks using <br> data.put("Lines", "Long text<br>with line breaks"); // line breaks using <br>
instance.addListItemByTitle("Test", data); list.addListItem(listName, data);
} }
@Test
// @Ignore // Depends on available sharepoint currently
public void addListItemBigList() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, SAXException, ParserConfigurationException,
IOException {
SPLists instance = new SPLists(context);
SPList list = instance.getSpListByTitle("Questionnaire");
assertNotNull(list);
String listName = list.getListName();
assertEquals ("Listname", "{4728157C-CFA4-447E-8863-170133FDC351}", listName);
Map<String, String> data = new HashMap<>();
data.put(list.getColumnNameByDisplayName("Country"), "357;#DE");
data.put(list.getColumnNameByDisplayName("WNRegion"), "DACH");
data.put(list.getColumnNameByDisplayName("AccountManager"), "Jörn");
data.put(list.getColumnNameByDisplayName("Customer"), "Mühlencord");
data.put(list.getColumnNameByDisplayName("Current OS"), "Windows XP");
data.put(list.getColumnNameByDisplayName("PlannedOS"), "migrate to Windows 7");
data.put(list.getColumnNameByDisplayName("RolloutStart"), "in 2014");
data.put(list.getColumnNameByDisplayName("RolloutEnd"), "in 2015");
data.put(list.getColumnNameByDisplayName("InstalledBase"), "2000");
data.put(list.getColumnNameByDisplayName("IbaseMigrated"), "1000");
data.put(list.getColumnNameByDisplayName("IbaseOrdered"), "500");
data.put(list.getColumnNameByDisplayName("IbaseNotOrdered"), "500");
data.put(list.getColumnNameByDisplayName("IbaseNotMigrated"), "0");
data.put(list.getColumnNameByDisplayName("ReaseonNotMigrated"), "");
data.put(list.getColumnNameByDisplayName("Platform"), "ProBase/C");
data.put(list.getColumnNameByDisplayName("IbaseOldPlatform"), "0");
data.put(list.getColumnNameByDisplayName("Application"), "ProFlex4");
data.put(list.getColumnNameByDisplayName("IbaseOldApplication"), "0");
data.put(list.getColumnNameByDisplayName("MaintenanceContract"), "none");
data.put(list.getColumnNameByDisplayName("Comments"), "This is a test");
list.addListItem(listName, data);
}
@Test
@Ignore // Depends on available sharepoint currently
public void testGetListItems() throws Exception {
SPLists instance = new SPLists(context);
SPList list = instance.getSpListByTitle("Questionnaire_Countries");
assertNotNull(list);
java.util.List<String> columns = new ArrayList<>();
// columns.add("CountryCode");
columns.add("Title");
columns.add("ID");
java.util.List<java.util.List<String>> smallList = list.getListItems(columns, "30");
assertNotNull(smallList);
assertEquals("Size smallList", 30, smallList.size());
java.util.List<java.util.List<String>> bigList = list.getListItems(columns, "300");
assertNotNull(bigList);
assertEquals("Size bigList", 250, bigList.size());
}
@Test
@Ignore // Depends on available sharepoint currently
public void testGetLookupValueMap() throws Exception {
SPLists instance = new SPLists(context);
SPList list = instance.getSpListByTitle("Questionnaire_Countries");
Map<String, String> lookupValues = list.getLookupValueMap("Title", "0");
System.out.println(lookupValues);
}
@Test
@Ignore // Depends on available sharepoint currently
public void testGetColumnNameByDisplayName() throws Exception {
SPLists instance = new SPLists(context);
SPList list = instance.getSpListByTitle("Questionnaire");
assertEquals ("Displayname of Current OS", "Current_x0020_OS", list.getColumnNameByDisplayName("Current OS"));
}
} }

View File

@ -0,0 +1,41 @@
package de.muehlencord.shared.sharepoint.api.lists;
import de.muehlencord.shared.sharepoint.api.BaseTest;
import static de.muehlencord.shared.sharepoint.api.BaseTest.readFileContentFromTest;
import java.io.IOException;
import java.net.MalformedURLException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import javax.xml.bind.JAXBException;
import static org.junit.Assert.assertEquals;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.xml.sax.SAXException;
/**
*
* @author joern.muehlencord
*/
public class SPListsTest extends BaseTest {
@Test
//@Ignore
public void testFromXML() throws IOException, JAXBException, SAXException {
String xmlString = readFileContentFromTest("lists/testlists.xml", "UTF-8");
SPLists lists = new SPLists(context);
lists.setValue (xmlString);
System.out.println(xmlString);
}
@Test
@Ignore // Depends on available sharepoint currently
public void testGetListName() throws Exception {
SPLists instance = new SPLists(context);
String listName = instance.getListNameByTitle("Questionnaire");
assertEquals("Listname", "{4728157C-CFA4-447E-8863-170133FDC351}", listName);
}
}

View File

@ -0,0 +1,811 @@
<?xml version="1.0" encoding="UTF-8"?>
<List xmlns="http://schemas.microsoft.com/sharepoint/soap/" AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150129 12:16:04" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire_Countries/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="{00BFEA71-DE22-43B2-A848-C05709900100}" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="True" HasUniqueScopes="False" Hidden="False" ID="{924883B9-41B7-430C-8206-151786A67319}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="250" LastDeleted="20150129 12:36:51" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 12:40:02" MultipleDataList="False" Name="{924883B9-41B7-430C-8206-151786A67319}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire_Countries" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="0" Title="Questionnaire_Countries" Version="2" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="0" WebImageWidth="0" WorkFlowId="00000000-0000-0000-0000-000000000000" WriteSecurity="1">
<Fields>
<Field ColName="tp_ContentTypeId" DisplaceOnUpgrade="TRUE" DisplayName="Content Type ID" FromBaseType="TRUE" Hidden="TRUE" ID="{03e45e84-1992-4d42-9116-26f756012634}" Name="ContentTypeId" ReadOnly="TRUE" RowOrdinal="0" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentTypeId" Type="ContentTypeId"/>
<Field ColName="nvarchar1" Description="ISO-3166-1 country code" DisplayName="CountryCode" EnforceUniqueValues="FALSE" FromBaseType="TRUE" ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Indexed="FALSE" MaxLength="2" Name="Title" Required="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" Type="Text" Version="1"/>
<Field CanToggleHidden="TRUE" ColName="ntext1" DisplayName="Approver Comments" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{34ad21eb-75bd-4544-8c73-0e08330291fe}" Name="_ModerationComments" ReadOnly="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationComments" Type="Note"/>
<Field AuthoringInfo="(linked to item)" Dir="" DisplayName="CountryCode" DisplayNameSrcField="Title" EnableLookup="TRUE" FromBaseType="TRUE" ID="{bc91a437-52e7-49e1-8c4e-4698904b2b6d}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Prohibited" Name="LinkTitleNoMenu" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitleNoMenu" Type="Computed">
<FieldRefs>
<FieldRef Name="Title"/>
<FieldRef Name="LinkFilenameNoMenu"/>
</FieldRefs>
<DisplayPattern>
<IfEqual>
<Expr1>
<LookupColumn Name="FSObjType"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<Field Name="LinkFilenameNoMenu"/>
</Then>
<Else>
<HTML>&lt;a onfocus="OnLink(this)" href="</HTML>
<URL/>
<HTML>" onclick="EditLink2(this,</HTML>
<Counter Type="View"/>
<HTML>);return false;" target="_self"&gt;</HTML>
<Column Default="(no title)" HTMLEncode="TRUE" Name="Title"/>
<IfEqual>
<Expr1>
<GetVar Name="ShowAccessibleIcon"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<HTML>&lt;img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/&gt;</HTML>
</Then>
</IfEqual>
<HTML>&lt;/a&gt;</HTML>
<IfNew>
<HTML>&lt;img src="/_layouts/1033/images/new.gif" alt="</HTML>
<HTML>New</HTML>
<HTML>" class="ms-newgif" /&gt;</HTML>
</IfNew>
</Else>
</IfEqual>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(linked to item with edit menu)" ClassInfo="Menu" DisplayName="CountryCode" DisplayNameSrcField="Title" FromBaseType="TRUE" ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Required" Name="LinkTitle" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitle" Type="Computed">
<FieldRefs>
<FieldRef Name="Title"/>
<FieldRef Name="LinkTitleNoMenu"/>
<FieldRef Name="_EditMenuTableStart2"/>
<FieldRef Name="_EditMenuTableEnd"/>
</FieldRefs>
<DisplayPattern>
<FieldSwitch>
<Expr>
<GetVar Name="FreeForm"/>
</Expr>
<Case Value="TRUE">
<Field Name="LinkTitleNoMenu"/>
</Case>
<Default>
<HTML>&lt;div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx</HTML>
<Field Name="_EditMenuTableStart2"/>
<HTML>"&gt;</HTML>
<Field Name="LinkTitleNoMenu"/>
<HTML>&lt;/div&gt;</HTML>
<HTML>&lt;div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"&gt;</HTML>
<HTML>&lt;span&gt;&amp;nbsp;&lt;/span&gt;</HTML>
<HTML>&lt;a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"&gt;&lt;/a&gt;</HTML>
<HTML>&lt;span&gt;&amp;nbsp;&lt;/span&gt;</HTML>
<HTML>&lt;/div&gt;</HTML>
</Default>
</FieldSwitch>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(linked to item with edit menu) (old)" ClassInfo="Menu" DisplayName="CountryCode" DisplayNameSrcField="Title" FromBaseType="TRUE" Hidden="TRUE" ID="{5f190d91-3dbc-4489-9878-3c092caf35b6}" Name="LinkTitle2" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitle2" Type="Computed">
<FieldRefs>
<FieldRef Name="Title"/>
<FieldRef Name="LinkTitleNoMenu"/>
<FieldRef Name="_EditMenuTableStart"/>
<FieldRef Name="_EditMenuTableEnd"/>
</FieldRefs>
<DisplayPattern>
<FieldSwitch>
<Expr>
<GetVar Name="FreeForm"/>
</Expr>
<Case Value="TRUE">
<Field Name="LinkTitleNoMenu"/>
</Case>
<Default>
<Field Name="_EditMenuTableStart"/>
<SetVar Name="ShowAccessibleIcon" Value="1"/>
<Field Name="LinkTitleNoMenu"/>
<SetVar Name="ShowAccessibleIcon" Value="0"/>
<Field Name="_EditMenuTableEnd"/>
</Default>
</FieldSwitch>
</DisplayPattern>
</Field>
<Field ColName="nvarchar2" DisplaceOnUpgrade="TRUE" DisplayName="File Type" FromBaseType="TRUE" Hidden="TRUE" ID="{39360f11-34cf-4356-9945-25c44e68dade}" Name="File_x0020_Type" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="File_x0020_Type" Type="Text"/>
<Field ColName="tp_ID" DisplayName="ID" FromBaseType="TRUE" ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Name="ID" PrimaryKey="TRUE" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ID" Type="Counter"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Content Type" FromBaseType="TRUE" Group="_Hidden" ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" PIAttribute="ContentTypeID" PITarget="MicrosoftWindowsSharePointServices" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Type="Computed">
<FieldRefs>
<FieldRef Name="ContentTypeId"/>
</FieldRefs>
<DisplayPattern>
<MapToContentType>
<Column Name="ContentTypeId"/>
</MapToContentType>
</DisplayPattern>
</Field>
<Field ColName="tp_Modified" DisplayName="Modified" FromBaseType="TRUE" ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Name="Modified" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Modified" StorageTZ="TRUE" Type="DateTime"/>
<Field ColName="tp_Created" DisplayName="Created" FromBaseType="TRUE" ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Name="Created" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created" StorageTZ="TRUE" Type="DateTime"/>
<Field ColName="tp_Author" DisplayName="Created By" FromBaseType="TRUE" ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" List="UserInfo" Name="Author" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Author" Type="User"/>
<Field ColName="tp_Editor" DisplayName="Modified By" FromBaseType="TRUE" ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" List="UserInfo" Name="Editor" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Editor" Type="User"/>
<Field ColName="tp_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Has Copy Destinations" FromBaseType="TRUE" Hidden="TRUE" ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" Name="_HasCopyDestinations" ReadOnly="TRUE" RowOrdinal="0" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_HasCopyDestinations" Type="Boolean"/>
<Field ColName="tp_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Copy Source" FromBaseType="TRUE" Hidden="TRUE" ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" Name="_CopySource" ReadOnly="TRUE" RowOrdinal="0" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_CopySource" Type="Text"/>
<Field ColName="tp_Version" DisplayName="owshiddenversion" FromBaseType="TRUE" Hidden="TRUE" ID="{d4e44a66-ee3a-4d02-88c9-4ec5ff3f4cd5}" Name="owshiddenversion" ReadOnly="TRUE" RowOrdinal="0" SetAs="owshiddenversion" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="owshiddenversion" Type="Integer"/>
<Field ColName="tp_WorkflowVersion" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Version" FromBaseType="TRUE" Hidden="TRUE" ID="{f1e020bc-ba26-443f-bf2f-b68715017bbc}" Name="WorkflowVersion" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="WorkflowVersion" Type="Integer"/>
<Field CanToggleHidden="TRUE" ColName="tp_UIVersion" DisplaceOnUpgrade="TRUE" DisplayName="UI Version" FromBaseType="TRUE" Hidden="TRUE" ID="{7841bf41-43d0-4434-9f50-a673baef7631}" Name="_UIVersion" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_UIVersion" Type="Integer"/>
<Field CanToggleHidden="TRUE" ColName="tp_UIVersionString" DisplaceOnUpgrade="TRUE" DisplayName="Version" FromBaseType="TRUE" ID="{dce8262a-3ae9-45aa-aab4-83bd75fb738a}" Name="_UIVersionString" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_UIVersionString" Type="Text"/>
<Field ColName="tp_HasAttachment" DisplayName="Attachments" FromBaseType="TRUE" ID="{67df98f4-9dec-48ff-a553-29bece9c5bf4}" Name="Attachments" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Attachments" Type="Attachments"/>
<Field CanToggleHidden="TRUE" ColName="tp_ModerationStatus" DisplayName="Approval Status" FromBaseType="TRUE" Hidden="TRUE" ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" Name="_ModerationStatus" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationStatus" Type="ModStat">
<CHOICES>
<CHOICE>0;#Approved</CHOICE>
<CHOICE>1;#Rejected</CHOICE>
<CHOICE>2;#Pending</CHOICE>
<CHOICE>3;#Draft</CHOICE>
<CHOICE>4;#Scheduled</CHOICE>
</CHOICES>
<Default>0</Default>
</Field>
<Field AuthoringInfo="(link to edit item)" ClassInfo="Icon" DisplayName="Edit" Filterable="FALSE" FromBaseType="TRUE" ID="{503f1caa-358e-4918-9094-4a2cdc4bc034}" Name="Edit" ReadOnly="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Edit" Type="Computed">
<DisplayPattern>
<IfHasRights>
<RightsChoices>
<RightsGroup PermEditListItems="required"/>
</RightsChoices>
<Then>
<HTML>&lt;a href="</HTML>
<URL Cmd="Edit"/>
<HTML>" onclick="EditLink(this, </HTML>
<Counter Type="View"/>
<HTML>);return false;" target="_self"&gt;</HTML>
<HTML>&lt;img border="0" alt="</HTML>
<HTML>Edit</HTML>
<HTML>" src="/_layouts/15/images/edititem.gif?rev=23"/&gt;</HTML>
<HTML>&lt;/a&gt;</HTML>
</Then>
<Else>
<HTML>&amp;#160;</HTML>
</Else>
</IfHasRights>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(web part connection)" CanToggleHidden="TRUE" Dir="" DisplayName="Select" Filterable="FALSE" FromBaseType="TRUE" HeaderImage="blank.gif" Hidden="TRUE" ID="{b1f7969b-ea65-42e1-8b54-b588292635f2}" Name="SelectTitle" ReadOnly="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SelectTitle" Type="Computed">
<FieldRefs>
<FieldRef Name="ID"/>
</FieldRefs>
<DisplayPattern>
<IfEqual>
<Expr1>
<GetVar Name="SelectedID"/>
</Expr1>
<Expr2>
<Column Name="ID"/>
</Expr2>
<Then>
<HTML>&lt;img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbsel.gif?rev=23" alt="</HTML>
<HTML>Selected</HTML>
<HTML>"/&gt;</HTML>
</Then>
<Else>
<HTML>&lt;a href="javascript:SelectField('</HTML>
<GetVar Name="View"/>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<Column Name="ID"/>
</ScriptQuote>
<HTML>');return false;" onclick="javascript:SelectField('</HTML>
<GetVar Name="View"/>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<Column Name="ID"/>
</ScriptQuote>
<HTML>');return false;" target="_self"&gt;</HTML>
<HTML>&lt;img border="0" align="absmiddle" style="cursor: pointer" src="/_layouts/15/images/rbunsel.gif?rev=23" alt="</HTML>
<HTML>Normal</HTML>
<HTML>"/&gt;</HTML>
<HTML>&lt;/a&gt;</HTML>
</Else>
</IfEqual>
</DisplayPattern>
</Field>
<Field ColName="tp_InstanceID" DisplayName="Instance ID" Filterable="TRUE" FromBaseType="TRUE" Hidden="TRUE" ID="{50a54da4-1528-4e67-954a-e2d24f1e9efb}" Max="99991231" Min="0" Name="InstanceID" ReadOnly="TRUE" RowOrdinal="0" Sortable="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="InstanceID" Type="Integer"/>
<Field ColName="tp_ItemOrder" DisplayName="Order" FromBaseType="TRUE" Hidden="TRUE" ID="{ca4addac-796f-4b23-b093-d2a3f65c0774}" Name="Order" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Order" Type="Number"/>
<Field ColName="tp_GUID" DisplayName="GUID" FromBaseType="TRUE" Hidden="TRUE" ID="{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}" Name="GUID" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="GUID" Type="Guid"/>
<Field ColName="tp_WorkflowInstanceID" DisplaceOnUpgrade="TRUE" DisplayName="Workflow Instance ID" FromBaseType="TRUE" Hidden="TRUE" ID="{de8beacf-5505-47cd-80a6-aa44e7ffe2f4}" Name="WorkflowInstanceID" ReadOnly="TRUE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="WorkflowInstanceID" Type="Guid"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="URL Path" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FileRef" ReadOnly="TRUE" ShowField="FullUrl" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileRef" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Path" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{56605df6-8fa1-47e4-a04c-5b384d59609f}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FileDirRef" ReadOnly="TRUE" ShowField="DirName" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileDirRef" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Modified" FieldRef="ID" Format="TRUE" FromBaseType="TRUE" Hidden="TRUE" ID="{173f76c8-aebd-446a-9bc9-769a2bd2c18f}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="Last_x0020_Modified" ReadOnly="TRUE" ShowField="TimeLastModified" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Last_x0020_Modified" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Created" FieldRef="ID" Format="TRUE" FromBaseType="TRUE" Hidden="TRUE" ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="Created_x0020_Date" ReadOnly="TRUE" ShowField="TimeCreated" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created_x0020_Date" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Item Type" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FSObjType" ReadOnly="TRUE" ShowField="FSType" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FSObjType" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Sort Type" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{423874f8-c300-4bfb-b7a1-42e2159e3b19}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="SortBehavior" ReadOnly="TRUE" ShowField="SortBehavior" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SortBehavior" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Effective Permissions Mask" FromBaseType="TRUE" Hidden="TRUE" ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Name="PermMask" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="PermMask" Type="Computed">
<FieldRefs>
<FieldRef Name="ID"/>
</FieldRefs>
<DisplayPattern>
<CurrentRights/>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(for use in forms)" DisplaceOnUpgrade="TRUE" DisplayName="Name" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FileLeafRef" ShowField="LeafName" ShowInFileDlg="FALSE" ShowInVersionHistory="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileLeafRef" Type="File"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Unique Id" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{4b7403de-8d94-43e8-9f0f-137a3e298126}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="UniqueId" ReadOnly="TRUE" ShowField="UniqueId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="UniqueId" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Client Id" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="SyncClientId" ReadOnly="TRUE" ShowField="SyncClientId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SyncClientId" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="ProgId" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="ProgId" ReadOnly="TRUE" ShowField="ProgId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ProgId" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="ScopeId" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{dddd2420-b270-4735-93b5-92b713d0944d}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="ScopeId" ReadOnly="TRUE" ShowField="ScopeId" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ScopeId" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="HTML File Type" FromBaseType="TRUE" Hidden="TRUE" ID="{4ef1b78f-fdba-48dc-b8ab-3fa06a0c9804}" Name="HTML_x0020_File_x0020_Type" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="HTML_x0020_File_x0020_Type" Type="Computed">
<FieldRefs>
<FieldRef Name="File_x0020_Type"/>
</FieldRefs>
<DisplayPattern/>
</Field>
<Field ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" FromBaseType="TRUE" Hidden="TRUE" ID="{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}" Name="_EditMenuTableStart" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableStart" Type="Computed">
<FieldRefs>
<FieldRef Name="FileLeafRef"/>
<FieldRef Name="FileDirRef"/>
<FieldRef Name="FSObjType"/>
<FieldRef Name="ID"/>
<FieldRef Name="ServerUrl"/>
<FieldRef Name="HTML_x0020_File_x0020_Type"/>
<FieldRef Name="File_x0020_Type"/>
<FieldRef Name="PermMask"/>
<FieldRef Name="_HasCopyDestinations"/>
<FieldRef Name="_CopySource"/>
<FieldRef Name="ContentType"/>
<FieldRef Name="ContentTypeId"/>
<FieldRef Name="_ModerationStatus"/>
<FieldRef Name="_UIVersion"/>
</FieldRefs>
<DisplayPattern>
<HTML>&lt;div class="ms-vb" onmouseover="OnItem(this)" CTXName="ctx</HTML>
<Counter Type="View"/>
<HTML>" id="</HTML>
<Column HTMLEncode="TRUE" Name="ID"/>
<HTML>" Url="</HTML>
<Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>
<HTML>" DRef="</HTML>
<Field Name="FileDirRef"/>
<HTML>" Perm="</HTML>
<Field Name="PermMask"/>
<HTML>" type="</HTML>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>" Ext="</HTML>
<Column Name="File_x0020_Type"/>
<HTML>" Icon="</HTML>
<MapToAll>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>|</HTML>
<Column Name="File_x0020_Type"/>
</MapToAll>
<HTML>" OType="</HTML>
<LookupColumn Name="FSObjType"/>
<HTML>" COUId="</HTML>
<HTML>" HCD="</HTML>
<Column Name="_HasCopyDestinations"/>
<HTML>" CSrc="</HTML>
<Column Name="_CopySource" URLEncodeAsURL="TRUE"/>
<HTML>" MS="</HTML>
<Column Name="_ModerationStatus"/>
<HTML>" CType="</HTML>
<Column HTMLEncode="TRUE" Name="ContentType"/>
<HTML>" CId="</HTML>
<Column Name="ContentTypeId"/>
<HTML>" UIS="</HTML>
<Column Name="_UIVersion"/>
<GetVar Name="_EditMenuTableExtra"/>
<HTML>" SUrl="</HTML>
<HTML>"&gt;</HTML>
</DisplayPattern>
</Field>
<Field ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" FromBaseType="TRUE" Hidden="TRUE" ID="{1344423c-c7f9-4134-88e4-ad842e2d723c}" Name="_EditMenuTableStart2" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableStart2" Type="Computed">
<FieldRefs>
<FieldRef Name="ID"/>
</FieldRefs>
<DisplayPattern>
<Counter Type="View"/>
<HTML>" id="</HTML>
<Column HTMLEncode="TRUE" Name="ID"/>
</DisplayPattern>
</Field>
<Field ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table End" FromBaseType="TRUE" Hidden="TRUE" ID="{2ea78cef-1bf9-4019-960a-02c41636cb47}" Name="_EditMenuTableEnd" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableEnd" Type="Computed">
<FieldRefs>
<FieldRef Name="ID"/>
</FieldRefs>
<DisplayPattern>
<HTML>&lt;/div&gt;</HTML>
<HTML>&lt;div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"&gt;</HTML>
<HTML>&lt;span&gt;&amp;nbsp;&lt;/span&gt;</HTML>
<HTML>&lt;a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"&gt;&lt;/a&gt;</HTML>
<HTML>&lt;span&gt;&amp;nbsp;&lt;/span&gt;</HTML>
<HTML>&lt;/div&gt;</HTML>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(linked to document)" DisplaceOnUpgrade="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{9d30f126-ba48-446b-b8f9-83745f322ebe}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Prohibited" Name="LinkFilenameNoMenu" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkFilenameNoMenu" Type="Computed">
<FieldRefs>
<FieldRef Name="FileLeafRef"/>
<FieldRef Name="FSObjType"/>
<FieldRef Name="Created_x0020_Date"/>
<FieldRef Name="FileRef"/>
<FieldRef Name="File_x0020_Type"/>
<FieldRef Name="HTML_x0020_File_x0020_Type"/>
<FieldRef Name="ContentTypeId"/>
<FieldRef Name="PermMask"/>
</FieldRefs>
<DisplayPattern>
<IfEqual>
<Expr1>
<LookupColumn Name="FSObjType"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<FieldSwitch>
<Expr>
<GetVar Name="RecursiveView"/>
</Expr>
<Case Value="1">
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
</Case>
<Default>
<SetVar Name="UnencodedFilterLink">
<SetVar Name="RootFolder">
<HTML>/</HTML>
<LookupColumn Name="FileRef"/>
</SetVar>
<SetVar Name="SkipHost">1</SetVar>
<SetVar Name="FolderCTID">
<FieldSwitch>
<Expr>
<ListProperty Select="EnableContentTypes"/>
</Expr>
<Case Value="1">
<Column Name="ContentTypeId"/>
</Case>
</FieldSwitch>
</SetVar>
<FilterLink Default="" Paged="FALSE"/>
</SetVar>
<HTML>&lt;a onfocus="OnLink(this)" href="</HTML>
<GetVar HTMLEncode="TRUE" Name="UnencodedFilterLink"/>
<HTML>" onmousedown="javascript:VerifyFolderHref(this,event, '</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<GetVar Name="UnencodedFilterLink"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<ListProperty Select="DefaultItemOpen"/>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<MapToControl>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>|</HTML>
<Column Name="File_x0020_Type"/>
</MapToControl>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<Column Name="HTML_x0020_File_x0020_Type"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>')"</HTML>
<HTML>" onclick="return HandleFolder(this,event, '</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<GetVar Name="UnencodedFilterLink"/>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<ServerProperty Select="HtmlTransform"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>','</HTML>
<HTML>','</HTML>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<ListProperty Select="DefaultItemOpen"/>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<MapToControl>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>|</HTML>
<Column Name="File_x0020_Type"/>
</MapToControl>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<Column Name="HTML_x0020_File_x0020_Type"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>','</HTML>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<UserID AllowAnonymous="TRUE"/>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<ListProperty Select="ForceCheckout"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<Field Name="PermMask"/>
</ScriptQuote>
<HTML>');"&gt;</HTML>
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
<IfEqual>
<Expr1>
<GetVar Name="ShowAccessibleIcon"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<HTML>&lt;img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/&gt;</HTML>
</Then>
</IfEqual>
<HTML>&lt;/a&gt;</HTML>
</Default>
</FieldSwitch>
</Then>
<Else>
<HTML>&lt;a onfocus="OnLink(this)" href="</HTML>
<Field Name="ServerUrl" URLEncodeAsURL="TRUE"/>
<HTML>" onclick="return DispEx(this,event,'</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<ServerProperty Select="HtmlTransform"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>','</HTML>
<HTML>','</HTML>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<ListProperty Select="DefaultItemOpen"/>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<MapToControl>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>|</HTML>
<Column Name="File_x0020_Type"/>
</MapToControl>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<Column Name="HTML_x0020_File_x0020_Type"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>','</HTML>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<UserID AllowAnonymous="TRUE"/>
</ScriptQuote>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<ListProperty Select="ForceCheckout"/>
</ScriptQuote>
<HTML>','</HTML>
<HTML>','</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<Field Name="PermMask"/>
</ScriptQuote>
<HTML>')"&gt;</HTML>
<UrlBaseName HTMLEncode="TRUE">
<LookupColumn Name="FileLeafRef"/>
</UrlBaseName>
<IfEqual>
<Expr1>
<GetVar Name="ShowAccessibleIcon"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<HTML>&lt;img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)."/&gt;</HTML>
</Then>
</IfEqual>
<HTML>&lt;/a&gt;</HTML>
<IfNew Name="Created_x0020_Date">
<HTML>&lt;img src="/_layouts/15/1033/images/new.gif" alt="</HTML>
<HTML>New</HTML>
<HTML>" class="ms-newgif" /&gt;</HTML>
</IfNew>
</Else>
</IfEqual>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(linked to document with edit menu)" ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{5cc6dc79-3710-4374-b433-61cb4a686c12}" LinkToItemAllowed="Prohibited" ListItemMenuAllowed="Required" Name="LinkFilename" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkFilename" Type="Computed">
<FieldRefs>
<FieldRef Name="LinkFilenameNoMenu"/>
<FieldRef Name="_EditMenuTableStart2"/>
<FieldRef Name="_EditMenuTableEnd"/>
</FieldRefs>
<DisplayPattern>
<FieldSwitch>
<Expr>
<GetVar Name="FreeForm"/>
</Expr>
<Case Value="TRUE">
<Field Name="LinkFilenameNoMenu"/>
</Case>
<Default>
<HTML>&lt;div class="ms-vb itx" onmouseover="OnItem(this)" CTXName="ctx</HTML>
<Field Name="_EditMenuTableStart2"/>
<HTML>"&gt;</HTML>
<Field Name="LinkFilenameNoMenu"/>
<HTML>&lt;/div&gt;</HTML>
<HTML>&lt;div class="s4-ctx" onmouseover="OnChildItem(this.parentNode); return false;"&gt;</HTML>
<HTML>&lt;span&gt;&amp;nbsp;&lt;/span&gt;</HTML>
<HTML>&lt;a onfocus="OnChildItem(this.parentNode.parentNode); return false;" onclick="PopMenuFromChevron(event); return false;" href="javascript:;" title="Open Menu"&gt;&lt;/a&gt;</HTML>
<HTML>&lt;span&gt;&amp;nbsp;&lt;/span&gt;</HTML>
<HTML>&lt;/div&gt;</HTML>
</Default>
</FieldSwitch>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(linked to document with edit menu) (old)" ClassInfo="Menu" DisplaceOnUpgrade="TRUE" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{224ba411-da77-4050-b0eb-62d422f13d3e}" Name="LinkFilename2" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkFilename2" Type="Computed">
<FieldRefs>
<FieldRef Name="LinkFilenameNoMenu"/>
<FieldRef Name="_EditMenuTableStart"/>
<FieldRef Name="_EditMenuTableEnd"/>
</FieldRefs>
<DisplayPattern>
<FieldSwitch>
<Expr>
<GetVar Name="FreeForm"/>
</Expr>
<Case Value="TRUE">
<Field Name="LinkFilenameNoMenu"/>
</Case>
<Default>
<Field Name="_EditMenuTableStart"/>
<SetVar Name="ShowAccessibleIcon" Value="1"/>
<Field Name="LinkFilenameNoMenu"/>
<SetVar Name="ShowAccessibleIcon" Value="0"/>
<Field Name="_EditMenuTableEnd"/>
</Default>
</FieldSwitch>
</DisplayPattern>
</Field>
<Field AuthoringInfo="(icon linked to document)" ClassInfo="Icon" DisplaceOnUpgrade="TRUE" DisplayName="Type" FromBaseType="TRUE" ID="{081c6e4c-5c14-4f20-b23e-1a71ceb6a67c}" Name="DocIcon" ReadOnly="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="DocIcon" TextOnly="TRUE" Type="Computed">
<FieldRefs>
<FieldRef Name="File_x0020_Type"/>
<FieldRef Name="FSObjType"/>
<FieldRef Name="FileRef"/>
<FieldRef Name="FileLeafRef"/>
<FieldRef Name="HTML_x0020_File_x0020_Type"/>
<FieldRef Name="PermMask"/>
<FieldRef Name="IconOverlay"/>
</FieldRefs>
<DisplayPattern>
<SetVar Name="DocIconImg">
<SetVar Name="DocIconAltText">
<IfEqual>
<Expr1>
<LookupColumn Name="FSObjType"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<IfSubString>
<Expr1>0x0120D5</Expr1>
<Expr2>
<Column Name="ContentTypeId"/>
</Expr2>
<Then>
<HTML>Document Collection: </HTML>
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
</Then>
<Else>
<HTML>Folder: </HTML>
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
</Else>
</IfSubString>
</Then>
<Else>
<LookupColumn HTMLEncode="TRUE" Name="Title"/>
</Else>
</IfEqual>
</SetVar>
<SetVar Name="DocIconFileName">
<IfEqual>
<Expr1>
<Column Name="IconOverlay"/>
</Expr1>
<Expr2/>
<Then>
<IfEqual>
<Expr1>
<LookupColumn Name="FSObjType"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<IfEqual>
<Expr1>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>|</HTML>
<Column Name="File_x0020_Type"/>
</Expr1>
<Expr2>
<HTML>|</HTML>
</Expr2>
<Then>
<HTML>folder.gif</HTML>
</Then>
<Else>
<SetVar Name="FolderIconFromMap">
<MapToIcon>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>|</HTML>
<Column Name="File_x0020_Type"/>
</MapToIcon>
</SetVar>
<IfEqual>
<Expr1>
<GetVar Name="FolderIconFromMap"/>
</Expr1>
<Expr2>
<MapToIcon/>
</Expr2>
<Then>
<HTML>folder.gif</HTML>
</Then>
<Else>
<GetVar Name="FolderIconFromMap"/>
</Else>
</IfEqual>
</Else>
</IfEqual>
</Then>
<Else>
<MapToIcon>
<Column Name="HTML_x0020_File_x0020_Type"/>
<HTML>|</HTML>
<Column Name="File_x0020_Type"/>
</MapToIcon>
</Else>
</IfEqual>
</Then>
<Else>
<MapToIcon>
<Column Name="IconOverlay"/>
</MapToIcon>
</Else>
</IfEqual>
</SetVar>
<HTML>&lt;img border="0" alt="</HTML>
<GetVar Name="DocIconAltText"/>
<HTML>" title="</HTML>
<GetVar Name="DocIconAltText"/>
<HTML>" src="/_layouts/15/images/</HTML>
<GetVar Name="DocIconFileName"/>
<HTML>" /&gt;</HTML>
</SetVar>
<SetVar Name="DocIconOverlayImg">
<IfEqual>
<Expr1>
<Column Name="IconOverlay"/>
</Expr1>
<Expr2/>
<Then/>
<Else>
<HTML>&lt;img class="ms-vb-icon-overlay" alt="*" src="/_layouts/15/images/</HTML>
<MapToOverlay>
<Column Name="IconOverlay"/>
</MapToOverlay>
<HTML>" /&gt;</HTML>
</Else>
</IfEqual>
</SetVar>
<IfEqual>
<Expr1>
<LookupColumn Name="FSObjType"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<FieldSwitch>
<Expr>
<GetVar Name="RecursiveView"/>
</Expr>
<Case Value="1">
<GetVar Name="DocIconImg"/>
<GetVar Name="DocIconOverlayImg"/>
</Case>
<Default>
<SetVar Name="UnencodedFilterLink">
<SetVar Name="RootFolder">
<HTML>/</HTML>
<LookupColumn Name="FileRef"/>
</SetVar>
<SetVar Name="SkipHost">1</SetVar>
<SetVar Name="FolderCTID">
<FieldSwitch>
<Expr>
<ListProperty Select="EnableContentTypes"/>
</Expr>
<Case Value="1">
<Column Name="ContentTypeId"/>
</Case>
</FieldSwitch>
</SetVar>
<FilterLink Default="" Paged="FALSE"/>
</SetVar>
<FieldSwitch>
<Expr>
<GetVar Name="FileDialog"/>
</Expr>
<Case Value="1">
<GetVar Name="DocIconImg"/>
<GetVar Name="DocIconOverlayImg"/>
</Case>
<Default>
<HTML>&lt;a href="</HTML>
<GetVar HTMLEncode="TRUE" Name="UnencodedFilterLink"/>
<HTML>" onclick="javascript:EnterFolder('</HTML>
<ScriptQuote NotAddingQuote="TRUE">
<GetVar Name="UnencodedFilterLink"/>
</ScriptQuote>
<HTML>');javascript:return false;"&gt;</HTML>
<GetVar Name="DocIconImg"/>
<GetVar Name="DocIconOverlayImg"/>
<HTML>&lt;/a&gt;</HTML>
</Default>
</FieldSwitch>
</Default>
</FieldSwitch>
</Then>
<Else>
<HTML>&lt;a onfocus="OnLink(this)" href="</HTML>
<URL/>
<HTML>" onclick="GoToLink(this);return false;" target="_self"&gt;</HTML>
<GetVar Name="DocIconImg"/>
<GetVar Name="DocIconOverlayImg"/>
<HTML>&lt;/a&gt;</HTML>
</Else>
</IfEqual>
</DisplayPattern>
</Field>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Server Relative URL" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{105f76ce-724a-4bba-aece-f81f2fce58f5}" Name="ServerUrl" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ServerUrl" Type="Computed">
<FieldRefs>
<FieldRef Name="FileRef"/>
</FieldRefs>
<DisplayPattern>
<HTML>/</HTML>
<LookupColumn Name="FileRef"/>
</DisplayPattern>
</Field>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Encoded Absolute URL" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{7177cfc7-f399-4d4d-905d-37dd51bc90bf}" Name="EncodedAbsUrl" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="EncodedAbsUrl" Type="Computed">
<FieldRefs>
<FieldRef Name="FileRef"/>
</FieldRefs>
<DisplayPattern>
<HttpHost URLEncodeAsURL="TRUE"/>
<HTML>/</HTML>
<LookupColumn IncludeVersions="TRUE" Name="FileRef" URLEncodeAsURL="TRUE"/>
</DisplayPattern>
</Field>
<Field DisplaceOnUpgrade="TRUE" DisplayName="File Name" Filterable="FALSE" FromBaseType="TRUE" Hidden="TRUE" ID="{7615464b-559e-4302-b8e2-8f440b913101}" Name="BaseName" ReadOnly="TRUE" RenderXMLUsingPattern="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="BaseName" Type="Computed">
<FieldRefs>
<FieldRef Name="FileLeafRef"/>
<FieldRef Name="FSObjType"/>
</FieldRefs>
<DisplayPattern>
<IfEqual>
<Expr1>
<LookupColumn Name="FSObjType"/>
</Expr1>
<Expr2>1</Expr2>
<Then>
<LookupColumn HTMLEncode="TRUE" Name="FileLeafRef"/>
</Then>
<Else>
<UrlBaseName HTMLEncode="TRUE">
<LookupColumn Name="FileLeafRef"/>
</UrlBaseName>
</Else>
</IfEqual>
</DisplayPattern>
</Field>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Property Bag" FieldRef="ID" FromBaseType="TRUE" Hidden="TRUE" ID="{687c7f94-686a-42d3-9b67-2782eac4b4f8}" JoinColName="DoclibRowId" JoinType="INNER" List="Docs" Name="MetaInfo" ShowField="MetaInfo" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="MetaInfo" Type="Lookup"/>
<Field ColName="tp_Level" DisplaceOnUpgrade="TRUE" DisplayName="Level" FromBaseType="TRUE" Hidden="TRUE" ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Name="_Level" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_Level" Type="Integer"/>
<Field ColName="tp_IsCurrentVersion" DisplaceOnUpgrade="TRUE" DisplayName="Is Current Version" FromBaseType="TRUE" Hidden="TRUE" ID="{c101c3e7-122d-4d4d-bc34-58e94a38c816}" Name="_IsCurrentVersion" ReadOnly="TRUE" Required="FALSE" RowOrdinal="0" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_IsCurrentVersion" Type="Boolean"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Item Child Count" FieldRef="ID" FromBaseType="TRUE" ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="ItemChildCount" ReadOnly="TRUE" ShowField="ItemChildCount" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ItemChildCount" Type="Lookup"/>
<Field DisplaceOnUpgrade="TRUE" DisplayName="Folder Child Count" FieldRef="ID" FromBaseType="TRUE" ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" List="Docs" Name="FolderChildCount" ReadOnly="TRUE" ShowField="FolderChildCount" ShowInFileDlg="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FolderChildCount" Type="Lookup"/>
<Field ColName="tp_AppAuthor" DisplayName="App Created By" FromBaseType="TRUE" Hidden="FALSE" ID="{6bfaba20-36bf-44b5-a1b2-eb6346d49716}" JoinColName="Id" List="AppPrincipals" Name="AppAuthor" ReadOnly="TRUE" RowOrdinal="0" ShowField="Title" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="AppAuthor" Type="Lookup"/>
<Field ColName="tp_AppEditor" DisplayName="App Modified By" FromBaseType="TRUE" Hidden="FALSE" ID="{e08400f3-c779-4ed2-a18c-ab7f34caa318}" JoinColName="Id" List="AppPrincipals" Name="AppEditor" ReadOnly="TRUE" RowOrdinal="0" ShowField="Title" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="AppEditor" Type="Lookup"/>
</Fields>
<RegionalSettings>
<Language>1033</Language>
<Locale>1031</Locale>
<AdvanceHijri>0</AdvanceHijri>
<CalendarType>1</CalendarType>
<Time24>True</Time24>
<TimeZone>-60</TimeZone>
<SortOrder>2070</SortOrder>
<Presence>True</Presence>
</RegionalSettings>
<ServerSettings>
<ServerVersion>15.0.4667.1000</ServerVersion>
<RecycleBinEnabled>True</RecycleBinEnabled>
<ServerRelativeUrl>/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7</ServerRelativeUrl>
</ServerSettings>
</List>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<Lists xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:19:45" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/_catalogs/design/AllItems.aspx" Description="Use this list to store composed looks. These looks can be applied to this site by navigating to Site Settings and choosing Change the look." Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="" Flags="33558804" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="True" ID="{E2CAB747-F526-431A-84DE-BCA01B10D069}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="19" LastDeleted="20150129 11:19:45" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:57" MultipleDataList="False" Name="{E2CAB747-F526-431A-84DE-BCA01B10D069}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="124" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Composed Looks" Version="0" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:55" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Shared Documents/Forms/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Shared Documents/Forms/template.dotx" EmailAlias="" EnableAttachments="False" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" Flags="4104" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{5BC26877-B04B-44B6-A645-EAA77881E3F7}" ImageUrl="/_layouts/15/images/itdl.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="0" LastDeleted="20150129 11:19:55" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:55" MultipleDataList="False" Name="{5BC26877-B04B-44B6-A645-EAA77881E3F7}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="101" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Documents" Version="0" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:43" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/_catalogs/masterpage/Forms/AllItems.aspx" Description="Use the master page gallery to store master pages. The master pages in this gallery are available to this site and any sites underneath it." Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="False" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="True" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="" Flags="33558940" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="True" ID="{0CCFE48F-89EF-4962-BE2A-3DB9CA6A1EBD}" ImageUrl="/_layouts/15/images/itdl.png?rev=23" IrmEnabled="False" IsApplicationList="True" ItemCount="6" LastDeleted="20150129 11:19:43" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:47" MultipleDataList="False" Name="{0CCFE48F-89EF-4962-BE2A-3DB9CA6A1EBD}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="03594534-19d0-42b4-8365-77cd8aa53a35" SendToLocation="" ServerTemplate="116" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Master Page Gallery" Version="1" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:19:52" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/PublishedFeed/AllItems.aspx" Description="MySite MicroFeed Persistent Storage List" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="ea23650b-0340-4708-b465-441a41c37af7" Flags="549457924" Followable="True" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="True" Hidden="False" ID="{F6488F6A-50B0-4510-9489-872D0ADBA801}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="2" LastDeleted="20150129 11:19:52" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:56" MultipleDataList="False" Name="{F6488F6A-50B0-4510-9489-872D0ADBA801}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="544" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="MicroFeed" Version="16" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="2"/>
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:36:28" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{4728157C-CFA4-447E-8863-170133FDC351}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="1" LastDeleted="20150129 12:32:38" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150203 09:38:00" MultipleDataList="False" Name="{4728157C-CFA4-447E-8863-170133FDC351}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Questionnaire" Version="51" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150202 17:50:04" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire Test/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{8EAEACBE-AB79-4335-85A4-D8AFB4379531}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="1" LastDeleted="20150202 17:50:04" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150202 18:24:28" MultipleDataList="False" Name="{8EAEACBE-AB79-4335-85A4-D8AFB4379531}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Questionnaire Test" Version="32" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150129 12:16:04" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Questionnaire_Countries/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{924883B9-41B7-430C-8206-151786A67319}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="250" LastDeleted="20150129 12:36:51" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 12:40:02" MultipleDataList="False" Name="{924883B9-41B7-430C-8206-151786A67319}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Questionnaire_Countries" Version="2" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:50" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/SiteAssets/Forms/AllItems.aspx" Description="Use this library to store files which are included on pages within this site, such as images on Wiki pages." Direction="none" DocTemplateUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/SiteAssets/Forms/template.doc" EmailAlias="" EnableAttachments="False" EnableFolderCreation="True" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" Flags="4104" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{73D85872-311B-44E8-A39C-C19EDF628F95}" ImageUrl="/_layouts/15/images/itdl.png?rev=23" IrmEnabled="False" IsApplicationList="True" ItemCount="1" LastDeleted="20150129 11:19:50" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:51" MultipleDataList="False" Name="{73D85872-311B-44E8-A39C-C19EDF628F95}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="101" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Site Assets" Version="1" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="False" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="1" CanOpenFileAsync="True" Created="20150129 11:19:48" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/SitePages/Forms/AllPages.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="False" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="True" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-c796-4402-9f2f-0eb9a6e71b18" Flags="549458060" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{AB5C8D85-95E5-45DB-83C3-E624BCAC6669}" ImageUrl="/_layouts/15/images/itwp.png?rev=23" IrmEnabled="False" IsApplicationList="True" ItemCount="2" LastDeleted="20150129 11:19:48" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:20:01" MultipleDataList="False" Name="{AB5C8D85-95E5-45DB-83C3-E624BCAC6669}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="119" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Site Pages" Version="4" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="1073741823" BaseType="0" CanOpenFileAsync="True" Created="20150129 11:19:59" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/HierarchyTasks/AllItems.aspx" Description="Tasks" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="f9ce21f8-f437-4f7e-8bc6-946378c850f0" Flags="541069312" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{09F14407-16D9-46C0-800F-FB9E91273E89}" ImageUrl="/_layouts/15/images/ittask.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="0" LastDeleted="20150129 11:19:59" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150129 11:19:59" MultipleDataList="False" Name="{09F14407-16D9-46C0-800F-FB9E91273E89}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="171" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Tasks" Version="0" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
<List AllowDeletion="True" AllowMultiResponses="False" AnonymousPermMask="0" Author="16" BaseType="0" CanOpenFileAsync="True" Created="20150202 15:22:37" DefaultViewUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7/Lists/Test/AllItems.aspx" Description="" Direction="none" DocTemplateUrl="" EmailAlias="" EnableAttachments="True" EnableFolderCreation="False" EnableMinorVersion="False" EnableModeration="False" EnablePeopleSelector="False" EnableResourceSelector="False" EnableVersioning="False" EnforceDataValidation="False" EventSinkAssembly="" EventSinkClass="" EventSinkData="" ExcludeFromOfflineClient="False" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Flags="545263616" Followable="False" HasExternalDataSource="False" HasRelatedLists="" HasUniqueScopes="False" Hidden="False" ID="{D8C8D97E-1065-4674-A8F2-026D6D478794}" ImageUrl="/_layouts/15/images/itgen.png?rev=23" IrmEnabled="False" IsApplicationList="False" ItemCount="10" LastDeleted="20150202 17:46:23" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" MaxItemsPerThrottledOperation="5000" MobileDefaultViewUrl="" Modified="20150202 18:34:32" MultipleDataList="False" Name="{D8C8D97E-1065-4674-A8F2-026D6D478794}" NoThrottleListOperations="False" Ordered="False" PreserveEmptyValues="False" ReadSecurity="1" RequireCheckout="False" RootFolder="" ScopeId="11aef312-edb5-4d28-bcd2-52339e039c83" SendToLocation="" ServerTemplate="100" ShowUser="True" StrictTypeCoercion="False" ThrottleListOperations="False" ThumbnailSize="" Title="Test" Version="7" WebFullUrl="/rooms/sw_ps_hq_utrecht/hqall/bd/spwin7" WebId="0313bbd8-4c93-4539-bd89-47cd080aefb4" WebImageHeight="" WebImageWidth="" WorkFlowId="" WriteSecurity="1"/>
</Lists>

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>de.muehlencord.shared</groupId> <groupId>de.muehlencord.shared</groupId>
<artifactId>sharepoint</artifactId> <artifactId>shared-sharepoint</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<groupId>de.muehlencord.shared.sharepoint</groupId> <groupId>de.muehlencord.shared.sharepoint</groupId>