none
Problème lors de l'instantiation d'une liste personnalisée sous visual studio RRS feed

  • Discussion générale

  • Bonjour,

    Je suis entrain de développer plusieurs listes Sharepoint 2010 sous visual studio pour avoir un déploiement automatique de tout ses listes dans plusieurs serveurs.

    La plupart des listes pour le moment fonctionnent correctement mais j'ai un problème sur quelques unes.

    Sur le formulaire par défaut ça affiche tout les élément(les vues fonctionnent) mais le problème sur le formulaire d'ajout ça me sort la page d'erreur,et sur les logs ça me dit que le formulaire d'ajout par défaut et introuvable.

    Je vous donne le code des deux fichiers Element.XML et Schema.XML

    Element : 

    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <ListInstance
        FeatureId="{00bfea71-de22-43b2-a848-c05709900100}"
        TemplateType="100"
        OnQuickLaunch="TRUE"
        Title="actionsmisesenplace"
        Description="Actions mises en place"
        Url="Lists/actionsmisesenplace"
        CustomSchema="actionsmisesenplace\Schema.xml"
        xmlns="http://schemas.microsoft.com/sharepoint/" />
    </Elements>

    Schema

    <?xml version="1.0" encoding="utf-8"?>
    <List 
      
      xmlns:ows="Microsoft SharePoint"
      Title="actionsmisesenplace"
      FolderCreation="FALSE"
      Url="Lists/actionsmisesenplace" 
      BaseType="0" 
      Direction="$Resources:Direction;"
      xmlns="http://schemas.microsoft.com/sharepoint/">
      <MetaData>
        <ContentTypes>
          <ContentType  ID="0x01" Name="Élément" Group="Types de contenu de liste" Description="Crée un élément de liste." FeatureId="{00bfea71-de22-43b2-a848-c05709900100}">
            <Folder TargetName="Item" />
            <FieldRefs>
              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
              <FieldRef ID="{b3ab5756-4828-4dd2-8420-fad97bea907c}" Name="Description" Required="FALSE" />
              <FieldRef ID="{5e55065d-ee54-44cf-b273-a51d19e3ea7d}" Name="Source_x0020_de_x0020_l_x0027_ac" DisplayName="Source de l'action" Required="FALSE" Format="Dropdown" />
              <FieldRef ID="{55cc0e9f-ee86-47ea-974b-5456f45d69c6}" Name="NC_x0020_concern_x00e9_e" DisplayName="NC concernée" Required="FALSE" />
              <FieldRef ID="{cd38cc9b-8aa5-40de-9aa4-f8f142e0d6b2}" Name="NC_x0020_interne_x0020__x003f_" DisplayName="NC interne ?" Required="FALSE" Format="Dropdown" />
              <FieldRef ID="{1aa3e97e-79e1-406b-ad9a-5ac5510e16dc}" Name="Criticit_x00e9_" DisplayName="Criticité" Required="FALSE" />
              <FieldRef ID="{892c3b0b-7e1a-4625-95aa-4d47cb89d5d8}" Name="FRS" Required="FALSE" />
              <FieldRef ID="{bafbed5f-9afd-4ec9-b3ec-b88c91eb44fa}" Name="Resp_x002e__x0020_NC" DisplayName="Resp. Action" Required="FALSE" Hidden="FALSE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node="" />
              <FieldRef ID="{4d9e60f0-177a-4329-90ff-5b814683a242}" Name="Traitement_x0020_effectu_x00e9_" DisplayName="Pré-traitement effectué" Required="FALSE" />
              <FieldRef ID="{5c53684d-e265-4c2f-a930-6ee95d45b9a2}" Name="Date_x0020_traitement" Required="FALSE" />
              <FieldRef ID="{b686c130-a389-41b6-abc4-58ecdb5c3798}" Name="Type_x0020_de_x0020_traitement_x" DisplayName="Type d'action prévue" Required="FALSE" Format="Dropdown" />
              <FieldRef ID="{6f2ef52f-f021-491f-8bd5-ac993362d635}" Name="Analyse_x0020_des_x0020_causes_x" DisplayName="Analyse des causes" Required="FALSE" />
              <FieldRef ID="{5541d8e7-3788-4821-8b58-231a4d58298f}" Name="Date" DisplayName="Début de l'action" Required="FALSE" Format="DateOnly" />
              <FieldRef ID="{b6c70df9-790e-4835-af26-410f51f629ff}" Name="Fin_x0020_de_x0020_l_x0027_actio" DisplayName="Fin de l'action" Required="FALSE" Format="DateOnly" />
              <FieldRef ID="{11ea5736-e407-4f93-9e6c-d1ea3bf6b0fd}" Name="Evaluation_x0020_de_x0020_l_x002" DisplayName="Action efficace ?" Required="FALSE" Format="Dropdown" />
              <FieldRef ID="{dbaa04c0-de1f-480c-8536-777f4c7f9e3d}" Name="Date_x0020_contr_x00f4_le_x0020_" DisplayName="Date contrôle action" Required="FALSE" Format="DateOnly" />
              <FieldRef ID="{19fca00f-0dba-443c-8a4f-2b824503b5a5}" Name="Action_x0020_cl_x00f4_tur_x00e9_" DisplayName="Action clôturée ?" Required="FALSE" Format="RadioButtons" />
              <FieldRef ID="{d6a25e66-6c10-4e2a-bac4-eb587aec8854}" Name="Temps_x0020_en_x0020_heure" DisplayName="Nbre d'h effectuée(s)" Required="FALSE" />
              <FieldRef ID="{ffe3cb0c-7819-4677-93dd-3fc3be8d9f34}" Name="Co_x00fb_t_x0020_Mati_x00e8_re" DisplayName="Coût Matière" Required="FALSE" />
              <FieldRef ID="{dbf5a05e-3320-43cc-a325-859eb257f3ef}" Name="Co_x00fb_t_x0020_main_x0020_d_x0" DisplayName="Coût main d'oeuvre" ReadOnly="TRUE" Format="DateOnly" />
              <FieldRef ID="{f6a94b98-2cda-4b81-bdb9-9f5529c21e56}" Name="Co_x00fb_t_x0020_de_x0020_la_x00" DisplayName="Coût de la NC" Required="FALSE" ReadOnly="TRUE" Format="DateOnly" />
              <FieldRef ID="{75ce95eb-7f0c-4757-893a-fd4907cef527}" Name="Estimation_x0020_co_x00fb_t_x002" DisplayName="Estimation coût action" Required="FALSE" />
              <FieldRef ID="{c37406e1-9417-4f85-bd4d-5b00fcb2c8c4}" Name="Economie_x0020_r_x00e9_alis_x00e" DisplayName="Economie réalisée" Required="FALSE" ReadOnly="TRUE" Format="DateOnly" />
              <FieldRef ID="{8dc46e19-223f-4bd4-a3e8-21b916bbbf9a}" Name="Estimation_x0020_NC" Required="FALSE" />
              <FieldRef ID="{4a5c2958-16c4-424c-baf6-0e355d350056}" Name="Traitement_x0020_effectu_x00e9_0" DisplayName="Action mise en place" Required="FALSE" />
              <FieldRef ID="{713f4983-c8a1-43f3-acc5-0646e1510a9b}" Name="Processus" Required="FALSE" />
              <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" />
            </FieldRefs>
            <XmlDocuments>
              <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
                <FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
                  <Display>ListForm</Display>
                  <Edit>ListForm</Edit>
                  <New>ListForm</New>
                </FormTemplates>
              </XmlDocument>
            </XmlDocuments>
          </ContentType>
          <ContentType ID="0x0120" Name="Dossier" Group="Types de contenu de dossier" Description="Crée un dossier." FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}">
            <Folder TargetName="Dossier" />
            <FieldRefs>
              <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" />
              <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="TRUE" />
              <FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE" Hidden="FALSE" />
              <FieldRef ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" Name="ItemChildCount" />
              <FieldRef ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" Name="FolderChildCount" />
            </FieldRefs>
            <XmlDocuments>
              <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
                <FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
                  <Display>ListForm</Display>
                  <Edit>ListForm</Edit>
                  <New>ListForm</New>
                </FormTemplates>
              </XmlDocument>
            </XmlDocuments>
          </ContentType>
        </ContentTypes>
        <Fields>
          <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Sujet" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" FromBaseType="TRUE" MaxLength="255" ColName="nvarchar20" RowOrdinal="0" />
          <Field Type="Note" DisplayName="Description" Required="FALSE" NumLines="6" RichText="TRUE" RichTextMode="Compatible" Sortable="FALSE" ID="{b3ab5756-4828-4dd2-8420-fad97bea907c}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Description" Name="Description" ColName="ntext2" RowOrdinal="0" />
          <Field Name="Source_x0020_de_x0020_l_x0027_ac" FromBaseType="FALSE" Type="Choice" DisplayName="Source de l'action" Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{5e55065d-ee54-44cf-b273-a51d19e3ea7d}" StaticName="Source_x0020_de_x0020_l_x0027_ac" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" ColName="nvarchar8" RowOrdinal="0">
            <CHOICES>
              <CHOICE>Audit interne</CHOICE>
              <CHOICE>Audit Fournisseur</CHOICE>
              <CHOICE>Non Conformité</CHOICE>
              <CHOICE>Revue de processus</CHOICE>
              <CHOICE>Revue de Direction</CHOICE>
              <CHOICE>Action d'amélioration</CHOICE>
            </CHOICES>
          </Field>
          <Field Type="Lookup" DisplayName="NC concernée" Required="FALSE" EnforceUniqueValues="FALSE" List="Lists/Gestion NC" ShowField="LinkTitleNoMenu" UnlimitedLengthInDocumentLibrary="FALSE" RelationshipDeleteBehavior="None" ID="{55cc0e9f-ee86-47ea-974b-5456f45d69c6}" SourceID="{$ListId:Lists/actionsmisesenplace;}" StaticName="NC_x0020_concern_x00e9_e" Name="NC_x0020_concern_x00e9_e" ColName="int1" RowOrdinal="0" />
          <Field Type="Choice" DisplayName="NC interne ?" Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{cd38cc9b-8aa5-40de-9aa4-f8f142e0d6b2}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="NC_x0020_interne_x0020__x003f_" Name="NC_x0020_interne_x0020__x003f_" ColName="nvarchar10" RowOrdinal="0">
            <Default>non</Default>
            <CHOICES>
              <CHOICE>oui</CHOICE>
              <CHOICE>non</CHOICE>
            </CHOICES>
          </Field>
          <Field Type="Number" DisplayName="Criticité" Required="FALSE" ID="{1aa3e97e-79e1-406b-ad9a-5ac5510e16dc}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Criticit_x00e9_" Name="Criticit_x00e9_" ColName="float4" RowOrdinal="0" />
          <Field Type="Text" DisplayName="FRS" Required="FALSE" MaxLength="255" ID="{892c3b0b-7e1a-4625-95aa-4d47cb89d5d8}" SourceID="{e08f0322-3904-4cea-954b-1cae80547281}" StaticName="FRS" Name="FRS" ColName="nvarchar6" RowOrdinal="0" />
          <Field Type="User" DisplayName="Resp. Action" List="UserInfo" Required="FALSE" ShowField="ImnName" UserSelectionMode="PeopleOnly" UserSelectionScope="0" ID="{bafbed5f-9afd-4ec9-b3ec-b88c91eb44fa}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Resp_x002e__x0020_NC" Name="Resp_x002e__x0020_NC" ColName="int7" RowOrdinal="0" Group="" />
          <Field Type="Note" DisplayName="Pré-traitement effectué" Required="FALSE" NumLines="6" RichText="TRUE" RichTextMode="Compatible" Sortable="FALSE" ID="{4d9e60f0-177a-4329-90ff-5b814683a242}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Traitement_x0020_effectu_x00e9_" Name="Traitement_x0020_effectu_x00e9_" ColName="ntext3" RowOrdinal="0" AllowHyperlink="TRUE" IsolateStyles="FALSE" AppendOnly="FALSE" />
          <Field Type="DateTime" DisplayName="Date traitement" Required="FALSE" Format="DateOnly" ID="{5c53684d-e265-4c2f-a930-6ee95d45b9a2}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Date_x0020_traitement" Name="Date_x0020_traitement" ColName="datetime4" RowOrdinal="0" />
          <Field Type="Choice" DisplayName="Type d'action prévue" Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{b686c130-a389-41b6-abc4-58ecdb5c3798}" SourceID="{e08f0322-3904-4cea-954b-1cae80547281}" StaticName="Type_x0020_de_x0020_traitement_x" Name="Type_x0020_de_x0020_traitement_x" ColName="nvarchar14" RowOrdinal="0">
            <CHOICES>
              <CHOICE>préventif</CHOICE>
              <CHOICE>correctif</CHOICE>
            </CHOICES>
          </Field>
          <Field Type="Note" DisplayName="Analyse des causes" Required="FALSE" NumLines="6" RichText="TRUE" RichTextMode="Compatible" Sortable="FALSE" ID="{6f2ef52f-f021-491f-8bd5-ac993362d635}" SourceID="{e08f0322-3904-4cea-954b-1cae80547281}" StaticName="Analyse_x0020_des_x0020_causes_x" Name="Analyse_x0020_des_x0020_causes_x" ColName="ntext4" RowOrdinal="0" AllowHyperlink="TRUE" IsolateStyles="FALSE" AppendOnly="FALSE" Description="Méthodes, justifications, personnes présentes, ... pour cette analyse" />
          <Field Type="DateTime" DisplayName="Début de l'action" Required="FALSE" Format="DateOnly" ID="{5541d8e7-3788-4821-8b58-231a4d58298f}" SourceID="{e08f0322-3904-4cea-954b-1cae80547281}" StaticName="Date" Name="Date" ColName="datetime1" RowOrdinal="0" CalType="0" />
          <Field Type="DateTime" DisplayName="Fin de l'action" Description="Date prévue de fin de l'action" Required="FALSE" Format="DateOnly" ID="{b6c70df9-790e-4835-af26-410f51f629ff}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Fin_x0020_de_x0020_l_x0027_actio" Name="Fin_x0020_de_x0020_l_x0027_actio" ColName="datetime2" RowOrdinal="0" />
          <Field Type="Choice" DisplayName="Action efficace ?" Description="Evaluation de l'action mise en place par l'émetteur. L'action a t-elle corrigé la NC détectée ?" Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{11ea5736-e407-4f93-9e6c-d1ea3bf6b0fd}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Evaluation_x0020_de_x0020_l_x002" Name="Evaluation_x0020_de_x0020_l_x002" ColName="nvarchar18" RowOrdinal="0">
            <CHOICES>
              <CHOICE>oui</CHOICE>
              <CHOICE>non</CHOICE>
            </CHOICES>
          </Field>
          <Field Type="DateTime" DisplayName="Date contrôle action" Required="FALSE" Format="DateOnly" ID="{dbaa04c0-de1f-480c-8536-777f4c7f9e3d}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Date_x0020_contr_x00f4_le_x0020_" Name="Date_x0020_contr_x00f4_le_x0020_" ColName="datetime3" RowOrdinal="0" />
          <Field Type="Choice" DisplayName="Action clôturée ?" Required="FALSE" Format="RadioButtons" FillInChoice="FALSE" ID="{19fca00f-0dba-443c-8a4f-2b824503b5a5}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Action_x0020_cl_x00f4_tur_x00e9_" Name="Action_x0020_cl_x00f4_tur_x00e9_" ColName="nvarchar17" RowOrdinal="0" EnforceUniqueValues="FALSE" Indexed="FALSE">
            <Default>Cloturée</Default>
            <CHOICES>
              <CHOICE>Cloturée</CHOICE>
              <CHOICE>Non Cloturée</CHOICE>
            </CHOICES>
          </Field>
          <Field Name="Temps_x0020_en_x0020_heure" FromBaseType="FALSE" Type="Number" DisplayName="Nbre d'h effectuée(s)" Required="FALSE" Decimals="2" ID="{d6a25e66-6c10-4e2a-bac4-eb587aec8854}" StaticName="Temps_x0020_en_x0020_heure" SourceID="{e08f0322-3904-4cea-954b-1cae80547281}" ColName="float3" RowOrdinal="0" />
          <Field Type="Currency" DisplayName="Coût Matière" Required="FALSE" Decimals="0" LCID="1036" ID="{ffe3cb0c-7819-4677-93dd-3fc3be8d9f34}" SourceID="{e08f0322-3904-4cea-954b-1cae80547281}" StaticName="Co_x00fb_t_x0020_Mati_x00e8_re" Name="Co_x00fb_t_x0020_Mati_x00e8_re" ColName="float2" RowOrdinal="0" />
          <Field Type="Calculated" DisplayName="Coût main d'oeuvre" Format="DateOnly" LCID="1036" ResultType="Currency" ReadOnly="TRUE" ID="{dbf5a05e-3320-43cc-a325-859eb257f3ef}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Co_x00fb_t_x0020_main_x0020_d_x0" Name="Co_x00fb_t_x0020_main_x0020_d_x0" ColName="sql_variant3" RowOrdinal="0">
            <Formula>=Temps_x0020_en_x0020_heure*45</Formula>
            <FieldRefs>
              <FieldRef Name="Temps_x0020_en_x0020_heure" />
            </FieldRefs>
          </Field>
          <Field Type="Calculated" DisplayName="Coût de la NC" Format="DateOnly" Decimals="0" LCID="1036" ResultType="Currency" ReadOnly="TRUE" ID="{f6a94b98-2cda-4b81-bdb9-9f5529c21e56}" SourceID="{e08f0322-3904-4cea-954b-1cae80547281}" StaticName="Co_x00fb_t_x0020_de_x0020_la_x00" Name="Co_x00fb_t_x0020_de_x0020_la_x00" ColName="sql_variant2" RowOrdinal="0" Required="FALSE">
            <Formula>=Co_x00fb_t_x0020_Mati_x00e8_re+Co_x00fb_t_x0020_main_x0020_d_x0</Formula>
            <FieldRefs>
              <FieldRef Name="Co_x00fb_t_x0020_main_x0020_d_x0" />
              <FieldRef Name="Co_x00fb_t_x0020_Mati_x00e8_re" />
            </FieldRefs>
          </Field>
          <Field Type="Currency" DisplayName="Estimation coût action" Required="FALSE" LCID="1036" ID="{75ce95eb-7f0c-4757-893a-fd4907cef527}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Estimation_x0020_co_x00fb_t_x002" Name="Estimation_x0020_co_x00fb_t_x002" ColName="float1" RowOrdinal="0" />
          <Field Type="Calculated" DisplayName="Economie réalisée" Format="DateOnly" LCID="1036" ResultType="Currency" ReadOnly="TRUE" ID="{c37406e1-9417-4f85-bd4d-5b00fcb2c8c4}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Economie_x0020_r_x00e9_alis_x00e" Name="Economie_x0020_r_x00e9_alis_x00e" ColName="sql_variant4" RowOrdinal="0" Required="FALSE">
            <Formula>=Estimation_x0020_co_x00fb_t_x002-(Co_x00fb_t_x0020_de_x0020_la_x00+Estimation_x0020_NC)</Formula>
            <FieldRefs>
              <FieldRef Name="Estimation_x0020_NC" />
              <FieldRef Name="Co_x00fb_t_x0020_de_x0020_la_x00" />
              <FieldRef Name="Estimation_x0020_co_x00fb_t_x002" />
            </FieldRefs>
          </Field>
          <Field Type="Currency" DisplayName="Estimation NC" Description="Report de l'estimation faite lors de l'ajout de la NC dans la liste &quot;Gestion des NC&quot;" Required="FALSE" LCID="1036" ID="{8dc46e19-223f-4bd4-a3e8-21b916bbbf9a}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Estimation_x0020_NC" Name="Estimation_x0020_NC" ColName="float5" RowOrdinal="0" />
          <Field Type="Note" DisplayName="Action mise en place" Required="FALSE" NumLines="3" RichText="TRUE" RichTextMode="Compatible" Sortable="FALSE" ID="{4a5c2958-16c4-424c-baf6-0e355d350056}" SourceID="{465dde07-289e-49ba-8a92-f35bb3f8a524}" StaticName="Traitement_x0020_effectu_x00e9_0" Name="Traitement_x0020_effectu_x00e9_0" ColName="ntext5" RowOrdinal="0" AllowHyperlink="TRUE" IsolateStyles="FALSE" AppendOnly="FALSE" />
          <Field Type="Lookup" DisplayName="Processus" Required="FALSE" EnforceUniqueValues="FALSE" List="Lists/Processus" ShowField="Title" UnlimitedLengthInDocumentLibrary="FALSE" RelationshipDeleteBehavior="None" ID="{713f4983-c8a1-43f3-acc5-0646e1510a9b}" SourceID="{$ListId:Lists/actionsmisesenplace;}" StaticName="Processus" Name="Processus" ColName="int2" RowOrdinal="0" />
          <Field ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" ColName="tp_ID" RowOrdinal="0" ReadOnly="TRUE" Type="Counter" Name="ID" PrimaryKey="TRUE" DisplayName="ID" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ID" FromBaseType="TRUE" />
          <Field ID="{03e45e84-1992-4d42-9116-26f756012634}" RowOrdinal="0" Type="ContentTypeId" Sealed="TRUE" ReadOnly="TRUE" Hidden="TRUE" DisplayName="ID du type de contenu" Name="ContentTypeId" DisplaceOnUpgrade="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentTypeId" ColName="tp_ContentTypeId" FromBaseType="TRUE" />
          <Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Type de contenu" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE">
            <FieldRefs>
              <FieldRef Name="ContentTypeId" />
            </FieldRefs>
            <DisplayPattern>
              <MapToContentType>
                <Column Name="ContentTypeId" />
              </MapToContentType>
            </DisplayPattern>
          </Field>
          <Field ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" ColName="tp_Modified" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Modified" DisplayName="Modifié" StorageTZ="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Modified" FromBaseType="TRUE" Indexed="TRUE" />
          <Field ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" ColName="tp_Created" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Created" DisplayName="Créé" StorageTZ="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created" FromBaseType="TRUE" />
          <Field ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" ColName="tp_Author" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Author" DisplayName="Créé par" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Author" FromBaseType="TRUE" Required="FALSE" ShowField="ImnName" />
          <Field ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" ColName="tp_Editor" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Editor" DisplayName="Modifié par" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Editor" FromBaseType="TRUE" />
          <Field ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" ColName="tp_HasCopyDestinations" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Boolean" Name="_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Utilise des destinations de copie" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_HasCopyDestinations" FromBaseType="TRUE" />
          <Field ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" ColName="tp_CopySource" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Text" Name="_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Source de la copie" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_CopySource" FromBaseType="TRUE" />
          <Field ID="{d4e44a66-ee3a-4d02-88c9-4ec5ff3f4cd5}" ColName="tp_Version" RowOrdinal="0" Hidden="TRUE" ReadOnly="TRUE" Type="Integer" SetAs="owshiddenversion" Name="owshiddenversion" DisplayName="owshiddenversion" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="owshiddenversion" FromBaseType="TRUE" />
          <Field ID="{f1e020bc-ba26-443f-bf2f-b68715017bbc}" ColName="tp_WorkflowVersion" RowOrdinal="0" Hidden="TRUE" ReadOnly="TRUE" Type="Integer" Name="WorkflowVersion" DisplaceOnUpgrade="TRUE" DisplayName="Version du flux de travail" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="WorkflowVersion" FromBaseType="TRUE" />
          <Field ID="{7841bf41-43d0-4434-9f50-a673baef7631}" ColName="tp_UIVersion" RowOrdinal="0" ReadOnly="TRUE" Type="Integer" Name="_UIVersion" DisplaceOnUpgrade="TRUE" DisplayName="Version de l'interface utilisateur" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_UIVersion" FromBaseType="TRUE" />
          <Field ID="{dce8262a-3ae9-45aa-aab4-83bd75fb738a}" ColName="tp_UIVersionString" RowOrdinal="0" ReadOnly="TRUE" Type="Text" Name="_UIVersionString" DisplaceOnUpgrade="TRUE" DisplayName="Version" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_UIVersionString" FromBaseType="TRUE" />
          <Field ID="{67df98f4-9dec-48ff-a553-29bece9c5bf4}" ColName="tp_HasAttachment" RowOrdinal="0" Type="Attachments" Name="Attachments" DisplayName="Pièces jointes" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Attachments" FromBaseType="TRUE" />
          <Field ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" ColName="tp_ModerationStatus" RowOrdinal="0" ReadOnly="TRUE" Type="ModStat" Name="_ModerationStatus" DisplayName="État d'approbation" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationStatus" FromBaseType="TRUE">
            <CHOICES>
              <CHOICE>0;#Approuvé</CHOICE>
              <CHOICE>1;#Rejeté</CHOICE>
              <CHOICE>2;#En cours</CHOICE>
              <CHOICE>3;#Brouillon</CHOICE>
              <CHOICE>4;#Planifié</CHOICE>
            </CHOICES>
            <Default>0</Default>
          </Field>
        <Fields>
        <Views>
          <View DisplayName="Actions en cours" DefaultView="TRUE" BaseViewID="1" Type="HTML" ImageUrl="/_layouts/images/generic.png" XslLink="main.xsl" WebPartZoneID="Main" WebPartOrder="1" Url="Actions closes.aspx" SetupPath="pages\viewpage.aspx">
            <XslLink>main.xsl</XslLink>
            <Query />
            <ViewFields>
              <FieldRef Name="Edit" />
              <FieldRef Name="ID" />
              <FieldRef Name="LinkTitle" />
              <FieldRef Name="Criticit_x00e9_" />
              <FieldRef Name="Resp_x002e__x0020_NC" />
              <FieldRef Name="NC_x0020_concern_x00e9_e" />
              <FieldRef Name="Processus" />
              <FieldRef Name="Source_x0020_de_x0020_l_x0027_ac" />
              <FieldRef Name="Action_x0020_cl_x00f4_tur_x00e9_" />
              <FieldRef Name="Evaluation_x0020_de_x0020_l_x002" />
              <FieldRef Name="Economie_x0020_r_x00e9_alis_x00e" />
              <FieldRef Name="Traitement_x0020_effectu_x00e9_0" />
            </ViewFields>
            <RowLimit Paged="TRUE">100</RowLimit>
            <Formats>
              <FormatDef Type="RowHeight" Value="Auto" />
              <Format Name="ID">
                <FormatDef Type="ColWidth" Value="56" />
              </Format>
              <Format Name="LinkTitle">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="192" />
              </Format>
              <Format Name="Criticit_x00e9_">
                <FormatDef Type="ColWidth" Value="72" />
              </Format>
              <Format Name="Resp_x002e__x0020_NC">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="105" />
              </Format>
              <Format Name="Source_x0020_de_x0020_l_x0027_ac">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="132" />
              </Format>
              <Format Name="Action_x0020_cl_x00f4_tur_x00e9_">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="126" />
              </Format>
              <Format Name="Evaluation_x0020_de_x0020_l_x002">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="126" />
              </Format>
              <Format Name="Economie_x0020_r_x00e9_alis_x00e">
                <FormatDef Type="ColWidth" Value="132" />
              </Format>
              <Format Name="Traitement_x0020_effectu_x00e9_0">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="192" />
              </Format>
            </Formats>
            <Aggregations Value="On">
              <FieldRef Name="Action_x0020_cl_x00f4_tur_x00e9_" Type="COUNT" />
              <FieldRef Name="LinkTitle" Type="COUNT" />
              <FieldRef Name="Evaluation_x0020_de_x0020_l_x002" Type="COUNT" />
            </Aggregations>
            <ViewStyle ID="17" />
          </View>
          <View DisplayName="" BaseViewID="1" Type="HTML" ImageUrl="/_layouts/images/generic.png" Hidden="TRUE" XslLink="main.xsl" WebPartZoneID="Main" WebPartOrder="2" Url="AllItems.aspx" SetupPath="pages\viewpage.aspx">
            <XslLink>main.xsl</XslLink>
            <Query />
            <ViewFields>
              <FieldRef Name="Edit" />
              <FieldRef Name="ID" />
              <FieldRef Name="LinkTitle" />
              <FieldRef Name="Criticit_x00e9_" />
              <FieldRef Name="Resp_x002e__x0020_NC" />
              <FieldRef Name="Source_x0020_de_x0020_l_x0027_ac" />
              <FieldRef Name="Action_x0020_cl_x00f4_tur_x00e9_" />
              <FieldRef Name="Evaluation_x0020_de_x0020_l_x002" />
              <FieldRef Name="Economie_x0020_r_x00e9_alis_x00e" />
              <FieldRef Name="Traitement_x0020_effectu_x00e9_0" />
            </ViewFields>
            <RowLimit Paged="TRUE">100</RowLimit>
            <Formats>
              <FormatDef Type="RowHeight" Value="Auto" />
              <Format Name="ID">
                <FormatDef Type="ColWidth" Value="64" />
              </Format>
              <Format Name="Title">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="120" />
              </Format>
              <Format Name="Source_x0020_de_x0020_l_x0027_ac">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="132" />
              </Format>
              <Format Name="Action_x0020_cl_x00f4_tur_x00e9_">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="126" />
              </Format>
              <Format Name="Evaluation_x0020_de_x0020_l_x002">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="210" />
              </Format>
              <Format Name="Co_x00fb_t_x0020_de_x0020_la_x00">
                <FormatDef Type="ColWidth" Value="108" />
              </Format>
              <Format Name="Economie_x0020_r_x00e9_alis_x00e">
                <FormatDef Type="ColWidth" Value="132" />
              </Format>
              <Format Name="Co_x00fb_t_x0020_main_x0020_d_x0">
                <FormatDef Type="ColWidth" Value="138" />
              </Format>
              <Format Name="Criticit_x00e9_">
                <FormatDef Type="ColWidth" Value="72" />
              </Format>
              <Format Name="NC_x0020_interne_x0020__x003f_">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="120" />
              </Format>
              <Format Name="Description">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="216" />
              </Format>
              <Format Name="Co_x00fb_t_x0020_Mati_x00e8_re">
                <FormatDef Type="ColWidth" Value="101" />
              </Format>
              <Format Name="Estimation_x0020_co_x00fb_t_x002">
                <FormatDef Type="ColWidth" Value="155" />
              </Format>
              <Format Name="Temps_x0020_en_x0020_heure">
                <FormatDef Type="ColWidth" Value="149" />
              </Format>
              <Format Name="Traitement_x0020_effectu_x00e9_">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="216" />
              </Format>
              <Format Name="Date_x0020_traitement">
                <FormatDef Type="ColWidth" Value="116" />
              </Format>
              <Format Name="Resp_x002e__x0020_NC">
                <FormatDef Type="WrapText" Value="1" />
                <FormatDef Type="ColWidth" Value="120" />
              </Format>
            </Formats>
            <Aggregations Value="On">
              <FieldRef Name="Action_x0020_cl_x00f4_tur_x00e9_" Type="COUNT" />
              <FieldRef Name="LinkTitle" Type="COUNT" />
              <FieldRef Name="Evaluation_x0020_de_x0020_l_x002" Type="COUNT" />
            </Aggregations>
            <ViewStyle ID="17" />
          </View>
        </Views>
      </MetaData>
    </List>

    Quelqu'un pourra m'aider SVP

    mardi 7 mai 2013 13:17

Toutes les réponses

  • Bonjour à vous,

    Normal,

    dans la balise formtemplate, vos formulaires pour le display, new et edit sont les mêmes

                  <Display>ListForm</Display>
                  <Edit>ListForm</Edit>
                  <New>ListForm</New>

    Le display marche c'est tout à fait normal car c'est surement un formulaire pour le display, mais celui ci ne peut pas marcher pour le edit et le new.

    Bon courage,

    valentin


    Mon blog sur SharePoint
    Site du Groupe AFG
    viadeotwitter

    MCP | Microsoft Certified Professional - SharePoint 2010 Administrator

    mardi 7 mai 2013 13:27
  • bonjour

    merci pour la réponse. ce schema c'est generé automatiquement a partir d'un modèle de liste, mais le problème c'est que j'ai les mêmes paramètres pour la balise formtemplate dans un autre schema de liste et ça fonctionne.

    Donc la solution serai quoi ?

    mardi 7 mai 2013 13:42
  • Quelqu'un pourra m'aider sur ça SVP .

    Merci

    mardi 14 mai 2013 07:50
  • Hello,

    comme dirait le support microsoft, si un jour tu les appels, il faut faire ça proprement...

    Pour créer une liste: Créer ton ContentType perso (basé sur le plus petit dénominateur commun: Élément (0x01)

    avec les metas/columns dont tu as besoin, tu créés ensuite ta définition de liste et pour finir ton instance liste basé sur cette définition.


    Cela semble plus long, mais une fois qu'on le fait on gagne du temps pour la suite du projet.

    cdt

    Max


    Maxime Ouellet MCTS WSS Development

    jeudi 30 mai 2013 09:05