<?xml version="1.0" encoding="UTF-8"?>
<definition xmlns="http://www.xmlportletfactory.org/xml/xmlportletfactory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xmlportletfactory.org/xml/xmlportletfactory xmlportletfactory.xsd">
<!-- 

	This is a XMLPortletFactory (v.-2.5) XML definition file for Assets Integration testing purposes
	Tested on Liferay 6.1.x
	Colaboration lead by Juan Gonzalez del Pino - November 2012

 -->
	<commonData>
        <client>Xmlpf</client>
		<projectName>AssetsIntegration</projectName>
        <version>1</version>
	</commonData>
	<applications>
<!-- 
	
	Products File, with just product Id, Name and Description, and assets activated with all to true

 -->
		<application>
			<classDef>
				<name>Products</name>
				<title>Products Maintenance</title>
				<asset>
					<assetTitleFieldName>productName</assetTitleFieldName>
					<assetSummaryFieldName>productName</assetSummaryFieldName>
					<categories>true</categories>
					<discussion>true</discussion>
					<ratings>true</ratings>
					<tags>true</tags>
					<relatedAssets>true</relatedAssets>
					<fullContentFieldName>productDescription</fullContentFieldName>
				</asset>
				<showInControlPanel>true</showInControlPanel>
			</classDef>
			<fileDef>
				<name>products</name>
				<fields>
					<field>
						<name>productId</name>
						<title>Id</title>
						<type>
							<long>
								<length>5</length>
								<signed>false</signed>
								<nullable>false</nullable>
								<order>true</order>
							</long>
						</type>
						<showFieldInView>true</showFieldInView>
						<required>true</required>
					</field>
					<field>
						<name>productName</name>
						<title>Product Name</title>
						<type>
							<varchar>
								<length>30</length>
								<filter>true</filter>
								<order>true</order>
							</varchar>
						</type>
						<showFieldInView>true</showFieldInView>
						<required>true</required>
					</field>
					<field>
						<name>productDescription</name>
						<title>Product Description</title>
						<type>
							<text></text>
						</type>
						<showFieldInView>true</showFieldInView>
						<required>true</required>
					</field>
				</fields>
			</fileDef>
		</application>
	</applications>
</definition>

