This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

schema.xml - listdefinition

By: a guest on Nov 26th, 2012  |  syntax: XML  |  size: 27.71 KB  |  views: 70  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <List xmlns:ows="Microsoft SharePoint" Title="ListDefinitionSandoboxedCT - EmailsListDefinition" Direction="$Resources:Direction;" Url="ListDefinitionSandoboxedCT-EmailsListDefinition" BaseType="1" xmlns="http://schemas.microsoft.com/sharepoint/" EnableContentTypes="TRUE">
  3.   <MetaData>
  4.     <ContentTypes>
  5.       <ContentTypeRef ID="0x0101">
  6.         <Folder TargetName="Forms/Document" />
  7.       </ContentTypeRef>
  8.      
  9.       <!--OnePlaceMail Email-->
  10.       <ContentTypeRef ID="0x0101002EFF4F6709F446E5AD064DC20BBE6855" />
  11.      
  12.       <ContentTypeRef ID="0x0120" />
  13.     </ContentTypes>
  14.     <Fields>
  15.       <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" ShowInNewForm="FALSE" ShowInFileDlg="FALSE" DisplayName="$Resources:core,Title;" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title"></Field>
  16.       <Field ID="{4b1bf6c6-4f39-45ac-acd5-16fe7a214e5e}" Type="Text" Name="TemplateUrl" DisplaceOnUpgrade="TRUE" DisplayName="$Resources:core,Template_Link;" XName="TemplateUrl" Filterable="TRUE" Sortable="TRUE" Hidden="TRUE" FromBaseType="TRUE" PITarget="mso-infoPathSolution" PIAttribute="href" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="TemplateUrl"></Field>
  17.       <Field ID="{cd1ecb9f-dd4e-4f29-ab9e-e9ff40048d64}" Type="Text" Name="xd_ProgID" DisplaceOnUpgrade="TRUE" DisplayName="$Resources:core,Html_File_Link;" XName="ProgID" Filterable="TRUE" Sortable="TRUE" Hidden="TRUE" FromBaseType="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="xd_ProgID"></Field>
  18.       <Field ID="{fbf29b2d-cae5-49aa-8e0a-29955b540122}" Type="Boolean" Group="_Hidden" Name="xd_Signature" DisplaceOnUpgrade="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="xd_Signature" DisplayName="$Resources:core,Xml_signed;" XName="{FBF29B2D-CAE5-49aa-8E0A-29955B540122}" Filterable="TRUE" Sortable="TRUE" Sealed="TRUE" Hidden="TRUE" FromBaseType="TRUE" ReadOnly="TRUE"></Field>
  19.       <Field ID="{e52012a0-51eb-4c0c-8dfb-9b8a0ebedcb6}" ReadOnly="TRUE" Type="Computed" Name="Combine" DisplaceOnUpgrade="TRUE" DisplayName="$Resources:core,Merge;" Filterable="FALSE" Sortable="FALSE" Hidden="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Combine">
  20.         <FieldRefs>
  21.           <FieldRef Name="FSObjType" Key="Primary" />
  22.           <FieldRef Name="EncodedAbsUrl" />
  23.           <FieldRef Name="TemplateUrl" />
  24.         </FieldRefs>
  25.       </Field>
  26.       <Field ID="{5d36727b-bcb2-47d2-a231-1f0bc63b7439}" ReadOnly="TRUE" Type="Computed" Name="RepairDocument" DisplaceOnUpgrade="TRUE" DisplayName="$Resources:core,Relink;" Filterable="FALSE" Sortable="FALSE" Hidden="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="RepairDocument">
  27.         <FieldRefs>
  28.           <FieldRef Name="FSObjType" Key="Primary" />
  29.           <FieldRef Name="ID" />
  30.         </FieldRefs>
  31.       </Field>
  32.  
  33.       <!--OnePlaceMail Email fields-->
  34.       <Field ID="{d0daee08-bc33-42cf-9001-e11701d88a1d}" Name="EmSubject" DisplayName="Email Subject" StaticName="EmSubject" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  35.       <Field ID="{aace2e63-3f0e-4643-8d99-a393c81c4b36}" Name="EmTo" DisplayName="Email To" StaticName="EmTo" Type="Note" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" RichText="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" UnlimitedLengthInDocumentLibrary="TRUE" />
  36.       <Field ID="{0bab9391-c828-404b-bb2c-cbbe0a215e1c}" Name="EmCC" DisplayName="Email CC" StaticName="EmCC" Type="Note" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" RichText="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" UnlimitedLengthInDocumentLibrary="TRUE" />
  37.       <Field ID="{710d0e40-3a77-4a1c-ab25-0e2e8d8ecc86}" Name="EmBCC" DisplayName="Email BCC" StaticName="EmBCC" Type="Note" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" RichText="FALSE" UnlimitedLengthInDocumentLibrary="TRUE" />
  38.       <Field ID="{2dcba024-dbc4-4e55-bcac-c5a85f4ed798}" Name="EmFrom" DisplayName="Email From" StaticName="EmFrom" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  39.       <Field ID="{4ecb7f73-bcdb-4aad-977b-7d23748debc9}" Name="EmFromName" DisplayName="Email From Name" StaticName="EmFromName" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  40.       <Field ID="{287339eb-7801-4f58-b765-84c89c238acd}" Name="EmType" DisplayName="Email Type" StaticName="EmType" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  41.       <Field ID="{61382513-ef18-4d37-a2c9-1fda65154992}" Name="EmDate" DisplayName="Email Date" StaticName="EmDate" Type="DateTime" Format="DateTime" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  42.       <Field ID="{2e92bd1a-a6dd-4f73-8f49-0e95bed790f0}" Name="EmID" DisplayName="Email ID" StaticName="EmID" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  43.       <Field ID="{a2b5e49c-1a2f-4a8d-ba93-6be65fe9a593}" Name="EmAttachCount" DisplayName="Email Attachment Count" StaticName="EmAttachCount" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  44.       <Field ID="{c603e672-1099-431d-bfe1-78639446f47c}" Name="EmCon" DisplayName="Email Conversation" StaticName="EmCon" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  45.       <Field ID="{f5a75012-e2c3-4284-a601-e5cb9257ac67}" Name="EmCategory" DisplayName="Email Category" StaticName="EmCategory" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  46.       <Field ID="{77b9e388-5641-4546-a8b1-b3c1f10e2700}" Name="EmConversationID" DisplayName="Email Conversation ID" StaticName="EmConversationID" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  47.       <Field ID="{9ac568c5-70fa-4cda-b04a-529ec757012d}" Name="EmConversationIndex" DisplayName="Email Conversation Index" StaticName="EmConversationIndex" Type="Text" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  48.       <Field ID="{91bc4e74-fd76-40dc-8409-cd2a765b804c}" Name="EmAttachmentNames" DisplayName="Email Attachment Names" StaticName="EmAttachmentNames" Type="Note" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" UnlimitedLengthInDocumentLibrary="TRUE" />
  49.       <Field ID="{768ec850-826d-41bf-8ce8-f128d6020c29}" Name="EmBody" DisplayName="Email Body" StaticName="EmBody" Type="Note" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" RichText="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" UnlimitedLengthInDocumentLibrary="TRUE" />
  50.       <Field ID="{3a518cd1-bfe6-4541-826c-fe8f04cb4a1f}" Name="EmToAddress" DisplayName="Email To Address" StaticName="EmToAddress" Type="Note" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" RichText="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" UnlimitedLengthInDocumentLibrary="TRUE" />
  51.       <Field ID="{682c307a-1014-49d5-a30b-24df79f5ffb9}" Name="EmDateSent" DisplayName="Email Date Sent" StaticName="EmDateSent" Type="DateTime" Format="DateTime" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  52.       <Field ID="{2a6fffe2-9edc-42bd-b46e-45a372ac5119}" Name="EmDateReceived" DisplayName="Email Date Received" StaticName="EmDateReceived" Type="DateTime" Format="DateTime" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" />
  53.       <Field ID="{86EB2B9E-EA5B-41BD-BD0A-FABFF7697066}" Name="EmSensitivity" DisplayName="Email Sensitivity" StaticName="EmSensitivity" SourceID="http://schemas.microsoft.com/sharepoint/v3/fields" Type="Number" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE"/>
  54.       <Field ID="{0990556F-F8F8-49B8-ABE2-26F302B01857}" Name="EmImportance" DisplayName="Email Importance" StaticName="EmImportance" SourceID="http://schemas.microsoft.com/sharepoint/v3/fields" Type="Number" Group="Scinaptic" Hidden="FALSE" ReadOnly="FALSE" Sealed="FALSE" ShowInEditForm="FALSE" ShowInNewForm="FALSE"/>
  55.      
  56.     </Fields>
  57.     <Views>
  58.       <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE" FreeForm="TRUE">
  59.         <Toolbar Type="Standard" />
  60.         <XslLink Default="TRUE">main.xsl</XslLink>
  61.         <RowLimit Paged="TRUE">30</RowLimit>
  62.         <ViewFields>
  63.           <FieldRef Name="DocIcon"></FieldRef>
  64.           <FieldRef Name="LinkFilenameNoMenu"></FieldRef>
  65.           <FieldRef Name="Editor"></FieldRef>
  66.         </ViewFields>
  67.         <ParameterBindings>
  68.           <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
  69.           <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto)" />
  70.           <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,Add_New_Document)" />
  71.           <ParameterBinding Name="MoreAnnouncements" Location="Resource(wss,MoreDocuments)" />
  72.         </ParameterBindings>
  73.         <Query>
  74.           <OrderBy>
  75.             <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
  76.           </OrderBy>
  77.         </Query>
  78.       </View>
  79.       <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,All_Documents;" DefaultView="TRUE" MobileView="True" MobileDefaultView="True" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/dlicon.png" Url="Forms/AllItems.aspx">
  80.         <Toolbar Type="Standard" />
  81.         <XslLink Default="TRUE">main.xsl</XslLink>
  82.         <RowLimit Paged="TRUE">30</RowLimit>
  83.         <ViewFields>
  84.           <FieldRef Name="DocIcon"></FieldRef>
  85.           <FieldRef Name="LinkFilename"></FieldRef>
  86.           <FieldRef Name="Modified"></FieldRef>
  87.           <FieldRef Name="Editor"></FieldRef>
  88.         </ViewFields>
  89.         <ParameterBindings>
  90.           <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
  91.           <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
  92.         </ParameterBindings>
  93.         <Query>
  94.           <OrderBy>
  95.             <FieldRef Name="FileLeafRef" />
  96.           </OrderBy>
  97.         </Query>
  98.       </View>
  99.       <View BaseViewID="2" Type="HTML" FileDialog="TRUE" TabularView="FALSE" DisplayName="$Resources:core,File_Dialog_View;" Hidden="TRUE" Path="filedlg.htm" ModerationType="Moderator">
  100.         <Toolbar Type="Standard" />
  101.         <ViewFields>
  102.           <FieldRef Name="DocIcon"></FieldRef>
  103.           <FieldRef Name="BaseName"></FieldRef>
  104.           <FieldRef Name="Editor" TextOnly="TRUE"></FieldRef>
  105.           <FieldRef Name="Modified" TextOnly="TRUE"></FieldRef>
  106.         </ViewFields>
  107.         <Query>
  108.           <OrderBy>
  109.             <FieldRef Name="FSObjType" Key="Primary" />
  110.             <FieldRef Name="FileLeafRef" />
  111.           </OrderBy>
  112.         </Query>
  113.       </View>
  114.       <View BaseViewID="3" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,Explorer_View;" TabularView="FALSE" Url="Forms/WebFldr.aspx" SetupPath="pages\webfldr.aspx" RequiresClientIntegration="TRUE" ReadOnly="TRUE">
  115.         <Toolbar Type="Standard" />
  116.         <XslLink>main.xsl</XslLink>
  117.         <ViewFields />
  118.         <ParameterBindings>
  119.           <ParameterBinding Name="NoAnnouncements" />
  120.         </ParameterBindings>
  121.       </View>
  122.       <View BaseViewID="6" Type="HTML" TabularView="FALSE">
  123.         <Toolbar Type="Standard" />
  124.         <XslLink Default="TRUE">main.xsl</XslLink>
  125.         <RowLimit Paged="TRUE">30</RowLimit>
  126.         <ViewFields>
  127.           <FieldRef Name="DocIcon"></FieldRef>
  128.           <FieldRef Name="LinkFilename"></FieldRef>
  129.           <FieldRef Name="Editor"></FieldRef>
  130.         </ViewFields>
  131.         <ParameterBindings>
  132.           <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
  133.           <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
  134.         </ParameterBindings>
  135.         <Query>
  136.           <OrderBy>
  137.             <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
  138.           </OrderBy>
  139.         </Query>
  140.       </View>
  141.       <View BaseViewID="7" AggregateView="TRUE" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,Merge_Documents;" TabularView="FALSE" ToolbarTemplate="MergeToolBar" DefaultView="FALSE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/dlicon.png" Url="Forms/Combine.aspx" Hidden="TRUE">
  142.         <Toolbar Type="Standard" />
  143.         <XslLink Default="TRUE">main.xsl</XslLink>
  144.         <RowLimit Paged="TRUE">30</RowLimit>
  145.         <ViewFields>
  146.           <FieldRef Name="DocIcon"></FieldRef>
  147.           <FieldRef Name="LinkFilename"></FieldRef>
  148.           <FieldRef Name="Combine"></FieldRef>
  149.           <FieldRef Name="Modified"></FieldRef>
  150.           <FieldRef Name="Editor"></FieldRef>
  151.         </ViewFields>
  152.         <ParameterBindings>
  153.           <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
  154.           <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
  155.         </ParameterBindings>
  156.         <Query>
  157.           <OrderBy>
  158.             <FieldRef Name="FileLeafRef" />
  159.           </OrderBy>
  160.         </Query>
  161.       </View>
  162.       <View BaseViewID="9" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,Relink_Documents;" ToolbarTemplate="RelinkToolBar" TabularView="FALSE" DefaultView="FALSE" Url="Forms/repair.aspx" ImageUrl="/_layouts/images/dlicon.png" Hidden="TRUE">
  163.         <Toolbar Type="Standard" />
  164.         <XslLink Default="TRUE">main.xsl</XslLink>
  165.         <RowLimit Paged="TRUE">30</RowLimit>
  166.         <ViewFields>
  167.           <FieldRef Name="DocIcon"></FieldRef>
  168.           <FieldRef Name="LinkFilenameNoMenu"></FieldRef>
  169.           <FieldRef Name="RepairDocument"></FieldRef>
  170.           <FieldRef Name="Modified"></FieldRef>
  171.           <FieldRef Name="Editor"></FieldRef>
  172.           <FieldRef Name="ContentType"></FieldRef>
  173.           <FieldRef Name="TemplateUrl"></FieldRef>
  174.         </ViewFields>
  175.         <ParameterBindings>
  176.           <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)" />
  177.           <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
  178.         </ParameterBindings>
  179.         <Query>
  180.           <OrderBy>
  181.             <FieldRef Name="FileLeafRef" />
  182.           </OrderBy>
  183.           <Where>
  184.             <Neq>
  185.               <FieldRef Name="xd_Signature" />
  186.               <Value Type="Boolean">1</Value>
  187.             </Neq>
  188.           </Where>
  189.         </Query>
  190.       </View>
  191.       <View BaseViewID="40" Type="HTML" WebPartZoneID="Main" DisplayName="assetLibTemp" DefaultView="FALSE" MobileView="FALSE" MobileDefaultView="FALSE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/dlicon.png" Url="Forms/Thumbnails.aspx" Hidden="TRUE">
  192.         <Toolbar Type="Standard" />
  193.         <ViewFields>
  194.           <FieldRef Name="LinkFilename"></FieldRef>
  195.         </ViewFields>
  196.         <RowLimit>20</RowLimit>
  197.         <Query>
  198.           <OrderBy>
  199.             <FieldRef Name="LinkFilename" />
  200.           </OrderBy>
  201.         </Query>
  202.       </View>
  203.     </Views>
  204.     <Forms>
  205.       <Form Type="DisplayForm" SetupPath="pages\form.aspx" Url="Forms/DispForm.aspx" WebPartZoneID="Main" />
  206.       <Form Type="EditForm" SetupPath="pages\form.aspx" Url="Forms/EditForm.aspx" WebPartZoneID="Main" />
  207.       <Form Type="NewForm" Url="Forms/Upload.aspx" WebPartZoneID="Main" />
  208.       <Form Type="NewFormDialog" Path="EditDlg.htm">
  209.         <ListFormOpening>
  210.           <HTML><![CDATA[
  211. <script type="text/javascript">
  212. var frm = new OWSForm(]]></HTML>
  213.           <ScriptQuote>
  214.             <Switch>
  215.               <Expr>
  216.                 <GetVar Name="HTMLFormName" />
  217.               </Expr>
  218.               <Case Value="">
  219.                 <HTML><![CDATA[OWSForm]]></HTML>
  220.               </Case>
  221.               <Default>
  222.                 <GetVar Name="HTMLFormName" />
  223.               </Default>
  224.             </Switch>
  225.           </ScriptQuote>
  226.           <HTML><![CDATA[, false, ]]></HTML>
  227.           <ScriptQuote>
  228.             <HttpVDir />
  229.             <HTML>/_layouts/</HTML>
  230.           </ScriptQuote>
  231.           <HTML><![CDATA[);
  232. </script>
  233. ]]></HTML>
  234.           <HTML><![CDATA[
  235. <script type="text/javascript">]]></HTML>
  236.           <HTML><![CDATA[ frm.dopt.chDateSep = ]]></HTML>
  237.           <ScriptQuote>
  238.             <LocaleInfo LCTYPE="29" />
  239.           </ScriptQuote>
  240.           <HTML><![CDATA[; frm.dopt.chTimeSep = ]]></HTML>
  241.           <ScriptQuote>
  242.             <LocaleInfo LCTYPE="30" />
  243.           </ScriptQuote>
  244.           <HTML><![CDATA[; frm.dopt.SetTimeFormat(]]></HTML>
  245.           <ProjectProperty Select="Time24" />
  246.           <HTML><![CDATA[); frm.dopt.SetDateOrder(]]></HTML>
  247.           <LocaleInfo LCTYPE="33" />
  248.           <HTML><![CDATA[); frm.dopt.SetDOW(]]></HTML>
  249.           <LocaleInfo LCTYPE="4108" />
  250.           <HTML><![CDATA[); frm.dopt.stAM = ]]></HTML>
  251.           <ScriptQuote>
  252.             <LocaleInfo LCTYPE="40" />
  253.           </ScriptQuote>
  254.           <HTML><![CDATA[; frm.dopt.stPM = ]]></HTML>
  255.           <ScriptQuote>
  256.             <LocaleInfo LCTYPE="41" />
  257.           </ScriptQuote>
  258.           <HTML><![CDATA[; frm.dopt.TimeMarkPosn = ]]></HTML>
  259.           <LocaleInfo LCTYPE="4101" />
  260.           <HTML><![CDATA[; frm.dopt.webTZOffsetMin = ]]></HTML>
  261.           <ProjectProperty Select="TimeZoneBias" />
  262.           <HTML><![CDATA[; ]]></HTML>
  263.           <HTML><![CDATA[ frm.nopt.chDigSep = ]]></HTML>
  264.           <ScriptQuote>
  265.             <LocaleInfo LCTYPE="15" />
  266.           </ScriptQuote>
  267.           <HTML><![CDATA[; frm.nopt.chDecimal = ]]></HTML>
  268.           <ScriptQuote>
  269.             <LocaleInfo LCTYPE="14" />
  270.           </ScriptQuote>
  271.           <HTML><![CDATA[; frm.nopt.chMinus = ]]></HTML>
  272.           <ScriptQuote>
  273.             <LocaleInfo LCTYPE="81" />
  274.           </ScriptQuote>
  275.           <HTML><![CDATA[; frm.nopt.iNegNumber = ]]></HTML>
  276.           <LocaleInfo LCTYPE="4112" />
  277.           <HTML><![CDATA[; frm.nopt.SetGrouping(]]></HTML>
  278.           <ScriptQuote>
  279.             <LocaleInfo LCTYPE="16" />
  280.           </ScriptQuote>
  281.           <HTML><![CDATA[); ]]></HTML>
  282.           <HTML><![CDATA[
  283. frm.stFieldPrefix = ]]></HTML>
  284.           <ScriptQuote>
  285.             <FieldPrefix />
  286.           </ScriptQuote>
  287.           <HTML><![CDATA[;
  288. frm.stImagesPath = ]]></HTML>
  289.           <ScriptQuote>/_layouts/images/</ScriptQuote>
  290.           <HTML><![CDATA[;
  291. frm.wBaseType = ]]></HTML>
  292.           <ListProperty Select="BaseType" />
  293.           <HTML><![CDATA[;
  294. </script>]]></HTML>
  295.           <Switch>
  296.             <Expr>
  297.               <GetVar Name="HTMLFormName" />
  298.             </Expr>
  299.             <Case Value="">
  300.               <HTML><![CDATA[<form name="OWSForm" id="OWSForm" EncType="multipart/form-data" Action="]]></HTML>
  301.               <HttpPath />
  302.               <HTML><![CDATA[" Method=POST onSubmit="return false;">]]></HTML>
  303.             </Case>
  304.           </Switch>
  305.           <HTML><![CDATA[
  306. <input type="Hidden" name="_charset_" value="utf-8">
  307. <input id="onetidCmd" type="Hidden" name="Cmd" value="Save">
  308. <input id="onetidIsFormValid" type="hidden" name="IsFormValid">
  309. <input id="onetidFormWasPosted" type="hidden" name="FormWasPosted">
  310. <input id="MustUpdateForm" type="hidden" name="MustUpdateForm" value="true">
  311. <input type="hidden" name="NextID" id="NextID" value="-1">
  312. <input type="hidden" name="NextUsing" id="NextUsing" value="]]></HTML>
  313.           <GetVar Name="Source" HTMLEncode="TRUE" />
  314.           <HTML><![CDATA[">
  315. ]]></HTML>
  316.           <HTML><![CDATA[<span id='part1'>]]></HTML>
  317.           <Identity />
  318.         </ListFormOpening>
  319.         <ListFormBody>
  320.           <HTML><![CDATA[<table border="0" cellpadding="2">
  321. <script type="text/javascript">var _g_tp_fNewForm = true;</script>
  322. ]]></HTML>
  323.           <Fields>
  324.             <Switch>
  325.               <Expr>
  326.                 <Property Select="Name" />
  327.               </Expr>
  328.               <Case Value="FileLeafRef">
  329.                 <SetVar Name="ShowField" Scope="Request">0</SetVar>
  330.               </Case>
  331.               <Default>
  332.                 <SetVar Name="ShowField" Scope="Request">1</SetVar>
  333.                 <HTML><![CDATA[<tr style="display:none"><th nowrap="nowrap" valign="top" class="ms-formlabel"><nobr>]]></HTML>
  334.                 <Property Select="DisplayName" HTMLEncode="TRUE" AutoNewLine="TRUE" />
  335.                 <Switch>
  336.                   <Expr>
  337.                     <Property Select="Required" />
  338.                   </Expr>
  339.                   <Case Value="TRUE">
  340.                     <HTML><![CDATA[<font color=red> *</font>]]></HTML>
  341.                     <SetVar Scope="Request" Name="HasRequired">TRUE</SetVar>
  342.                   </Case>
  343.                   <Default>
  344.                     <HTML><![CDATA[<font color=red></font>]]></HTML>
  345.                   </Default>
  346.                 </Switch>
  347.                 <HTML><![CDATA[</nobr></th><td class="ms-formbody">]]></HTML>
  348.                 <Field />
  349.                 <Switch>
  350.                   <Expr>
  351.                     <Property Select="RichText" />
  352.                   </Expr>
  353.                   <Case Value="TRUE" />
  354.                   <Default>
  355.                     <Switch>
  356.                       <Expr>
  357.                         <Property Select="Type" />
  358.                       </Expr>
  359.                       <Case Value="Choice" />
  360.                       <Case Value="MultiChoice" />
  361.                       <Default>
  362.                         <HTML><![CDATA[&#160;]]></HTML>
  363.                         <Switch>
  364.                           <Expr>
  365.                             <Property Select="NoEditFormBreak" />
  366.                           </Expr>
  367.                           <Case Value="TRUE" />
  368.                           <Default>
  369.                             <HTML><![CDATA[<br>]]></HTML>
  370.                           </Default>
  371.                         </Switch>
  372.                       </Default>
  373.                     </Switch>
  374.                   </Default>
  375.                 </Switch>
  376.                 <HTML><![CDATA[<span class="ms-formdescription">]]></HTML>
  377.                 <Property Select="Description" HTMLEncode="TRUE" AutoHyperLink="TRUE" AutoNewLine="TRUE" />
  378.                 <HTML><![CDATA[</span></td></tr>]]></HTML>
  379.               </Default>
  380.             </Switch>
  381.           </Fields>
  382.           <HTML><![CDATA[</table>]]></HTML>
  383.           <Switch>
  384.             <Expr>
  385.               <GetVar Name="HasRequired" />
  386.             </Expr>
  387.             <Case Value="TRUE">
  388.               <HTML><![CDATA[
  389.          <table border="0" cellpadding="2">
  390.          <tr>
  391.            <td id="reqdFldTxt" class="ms-descriptiontext" colspan="2" height="150px" valign="top"><br><font color=red>*</font>
  392.             &#160;]]></HTML>
  393.               <HTML HTMLEncode="TRUE">$Resources:core,webview_editdlg_required_field;</HTML>
  394.               <HTML><![CDATA[
  395.            </td>
  396.          </tr>
  397.          </table>
  398.          ]]></HTML>
  399.             </Case>
  400.           </Switch>
  401.           <ContentTypes>
  402.             <IfSubString>
  403.               <Expr1>0x0120</Expr1>
  404.               <Expr2>
  405.                 <Property Select="ID" />
  406.               </Expr2>
  407.               <Then>
  408.                 <HTML><![CDATA[
  409.            <script type="text/javascript">
  410.            _tp_rgctfld = new Array;
  411.            _g_tp_rgcts.push(_tp_rgctfld);
  412.            var fldct = frmCurrent.FindField("ContentType");
  413.            if (fldct != null)
  414.                 fldct.AddChoice(]]></HTML>
  415.                 <ScriptQuote>
  416.                   <Property Select="Name" />
  417.                 </ScriptQuote>
  418.                 <HTML><![CDATA[);
  419.            </script>
  420.            ]]></HTML>
  421.               </Then>
  422.               <Else>
  423.                 <HTML><![CDATA[
  424.            <script type="text/javascript">
  425.            var fldct = frmCurrent.FindField("ContentType");
  426.            if (fldct != null)
  427.                 fldct.AddChoice(]]></HTML>
  428.                 <ScriptQuote>
  429.                   <Property Select="Name" />
  430.                 </ScriptQuote>
  431.                 <HTML><![CDATA[);
  432.            _tp_rgctfld = new Array;            
  433.            ]]></HTML>
  434.                 <ForEach Select="FieldRefs/FieldRef">
  435.                   <HTML>
  436.                 _tp_ctfld = new Object(null);
  437.                 _tp_ctfld.stName=</HTML>
  438.                   <ScriptQuote>
  439.                     <Property Select="Name" />
  440.                   </ScriptQuote>
  441.                   <HTML>;
  442.                 _tp_ctfld.fRequired = BoolFromString(</HTML>
  443.                   <ScriptQuote>
  444.                     <Property Select="Required" />
  445.                   </ScriptQuote>
  446.                   <HTML>);
  447.                 _tp_ctfld.fHidden = BoolFromString(</HTML>
  448.                   <ScriptQuote>
  449.                     <Property Select="Hidden" />
  450.                   </ScriptQuote>
  451.                   <HTML>);
  452.                 _tp_ctfld.fShowInNewForm = BoolFromString2(</HTML>
  453.                   <ScriptQuote>
  454.                     <Property Select="ShowInNewForm" />
  455.                   </ScriptQuote>
  456.                   <HTML>, true);
  457.                 _tp_ctfld.fShowInEditForm = BoolFromString2(</HTML>
  458.                   <ScriptQuote>
  459.                     <Property Select="ShowInEditForm" />
  460.                   </ScriptQuote>
  461.                   <HTML>, true);
  462.                 _tp_ctfld.fShowInFileDlg = BoolFromString2(</HTML>
  463.                   <ScriptQuote>
  464.                     <Property Select="ShowInFileDlg" />
  465.                   </ScriptQuote>
  466.                   <HTML>, true);                
  467.                 _tp_ctfld.fReadOnly = BoolFromString(</HTML>
  468.                   <ScriptQuote>
  469.                     <Property Select="ReadOnly" />
  470.                   </ScriptQuote>
  471.                   <HTML>);
  472.                 _tp_ctfld.stDisplay =</HTML>
  473.                   <ScriptQuote>
  474.                     <Property Select="DisplayName" />
  475.                   </ScriptQuote>
  476.                   <HTML>;</HTML>
  477.                   <ForEach Select="Default">
  478.                     <HTML>
  479.                     _tp_ctfld.stDefault=</HTML>
  480.                     <ScriptQuote>
  481.                       <Property Select="." />
  482.                     </ScriptQuote>
  483.                     <HTML>;</HTML>
  484.                   </ForEach>
  485.                   <HTML>
  486.                     _tp_rgctfld.push(_tp_ctfld);
  487.                 </HTML>
  488.                 </ForEach>
  489.                 <HTML><![CDATA[
  490.            _g_tp_rgcts.push(_tp_rgctfld);
  491.            </script>
  492.            ]]></HTML>
  493.               </Else>
  494.             </IfSubString>
  495.           </ContentTypes>
  496.           <HTML><![CDATA[
  497. <script type="text/javascript">
  498. var fldct = frmCurrent.FindField("ContentType");
  499. if (fldct != null)
  500.         fldct.BuildUI();
  501. </script>
  502. ]]></HTML>
  503.         </ListFormBody>
  504.         <ListFormClosing>
  505.           <HTML><![CDATA[
  506. </span>]]></HTML>
  507.           <Switch>
  508.             <Expr>
  509.               <GetVar Name="HTMLFormName" />
  510.             </Expr>
  511.             <Case Value="">
  512.               <HTML><![CDATA[</form>]]></HTML>
  513.             </Case>
  514.           </Switch>
  515.           <HTML><![CDATA[
  516. <script type="text/javascript">
  517. </script>
  518. ]]></HTML>
  519.         </ListFormClosing>
  520.       </Form>
  521.     </Forms>
  522.     <DefaultDescription>$Resources:core,camlidDc5;</DefaultDescription>
  523.   </MetaData>
  524. </List>
clone this paste RAW Paste Data