<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318595#M5596</link>
    <description>&lt;P&gt;Please create a new question...&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2012 18:09:52 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2012-10-09T18:09:52Z</dc:date>
    <item>
      <title>Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318590#M5591</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;
&lt;P&gt;J'ai bien compris que quand je maintiens mon drag il m'est proposé de pouvoir saisir des valeurs dans un formulaire qui seront utilisées pour créer les documents.&lt;/P&gt;
&lt;P&gt;J'ai modifier dans mon workspace le type créé par défaut avec le drag'n drop en faisant la manipulation suivante:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;dans l'onglet Management &amp;gt; Local Configuration&lt;/LI&gt;
&lt;LI&gt;j'active Document types configuration&lt;/LI&gt;
&lt;LI&gt;Je choisi mon type documentaire dans le champ "Default type"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Maintenant j'aimerais pouvoir modifier le formulaire proposé pour exposer des champs que mon type documentaire implémenter. Comment fais-je ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 17:28:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318590#M5591</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-02-24T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318591#M5592</link>
      <description>&lt;P&gt;En studio, c'est simple:&lt;/P&gt;
&lt;P&gt;Contribuer cette action dans Advanced Settings &amp;gt; XML Extensions&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="actions"&amp;gt;
 &amp;lt;action id="Chain.FileManager.ImportWithMetaDataInSeam"
      link="/nuxeo/dndFormCollector.faces?schema=yourschema&amp;amp;#038;layout=dndEdit%40create&amp;amp;#064;create"
      order="30" label="label.smart.import.with.md"
      help="desc.smart.import.with.md"&amp;gt;
      &amp;lt;category&amp;gt;ContentView&amp;lt;/category&amp;gt;
      &amp;lt;filter-id&amp;gt;create&amp;lt;/filter-id&amp;gt;
 &amp;lt;/action&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;yourschema est le nom du schéma qu'implémente votre type documentaire (valeur dans votre définition de type documentaire, dans l'onglet &lt;EM&gt;Schema&lt;/EM&gt; dans le champ prefix.&lt;/P&gt;
&lt;P&gt;Puis créer un &lt;EM&gt;Layout&lt;/EM&gt; dans Search And &lt;EM&gt;Listings &amp;gt; Layout&lt;/EM&gt; que vous nommerez &lt;EM&gt;dndEdit&lt;/EM&gt;.
Ensuite créer votre formulaire que vous voudrez exposer dans l'onglet &lt;EM&gt;Creation Layout&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Ou bien par Nuxeo IDE, c'est un peu plus compliqué notamment dans la définition du layout:&lt;/P&gt;
&lt;P&gt;Le formulaire affiché lorsque vous sélectionnez "Import intelligent avec méta-données" correspond au layout &lt;STRONG&gt;dndEdit@create&lt;/STRONG&gt; défini dans &lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.5/viewContribution/org.nuxeo.ecm.platform.forms.layouts.webapp--layouts"&gt;cette contribution en bas de la page&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Afin d'inclure la saisie d'une méta-donnée personnalisée, vous devez surcharger cette définition, avec une contribution ressemblant à celle ci-dessous, (bb représente le schema de votre doc type que je ne connais pas):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;

&amp;lt;component name="org.nuxeo.ecm.platform.forms.layouts.webapp.override"&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.forms.layouts.webapp&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets"&amp;gt;

    &amp;lt;widget name="myprojectmyschemaname1" type="widgetTypeYouWant"&amp;gt;
      &amp;lt;labels&amp;gt;
        &amp;lt;label mode="any"&amp;gt;label.stm.schema&amp;lt;/label&amp;gt;
      &amp;lt;/labels&amp;gt;
      &amp;lt;translated&amp;gt;true&amp;lt;/translated&amp;gt;
      &amp;lt;fields&amp;gt;
        &amp;lt;field&amp;gt;bb:yourField&amp;lt;/field&amp;gt;
      &amp;lt;/fields&amp;gt;
    &amp;lt;/widget&amp;gt;
    &amp;lt;widget name="myprojectmyschemaname2" type="widgetTypeYouWant"&amp;gt;
      &amp;lt;labels&amp;gt;
        &amp;lt;label mode="any"&amp;gt;label.stm.schema&amp;lt;/label&amp;gt;
      &amp;lt;/labels&amp;gt;
      &amp;lt;translated&amp;gt;true&amp;lt;/translated&amp;gt;
      &amp;lt;fields&amp;gt;
        &amp;lt;field&amp;gt;bb:yourField&amp;lt;/field&amp;gt;
      &amp;lt;/fields&amp;gt;
    &amp;lt;/widget&amp;gt;
...etc...
  &amp;lt;/extension&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts"&amp;gt;

    &amp;lt;layout name="dndEdit@create"&amp;gt;
      &amp;lt;templates&amp;gt;
        &amp;lt;template mode="any"&amp;gt;/layouts/layout_default_template.xhtml&amp;lt;/template&amp;gt;
      &amp;lt;/templates&amp;gt;
      &amp;lt;rows&amp;gt;
        &amp;lt;row&amp;gt;
          &amp;lt;widget&amp;gt;myprojectmyschemaname1&amp;lt;/widget&amp;gt;
        &amp;lt;/row&amp;gt;
        &amp;lt;row&amp;gt;
          &amp;lt;widget&amp;gt;myprojectmyschemaname2&amp;lt;/widget&amp;gt;
        &amp;lt;/row&amp;gt;
...
      &amp;lt;/rows&amp;gt;

    &amp;lt;/layout&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;En espérant que ces informations vous permettront d'implémenter votre solution&lt;/P&gt;
&lt;P&gt;Cordialement,&lt;/P&gt;
&lt;P&gt;Thierry &amp;amp; Benjamin&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 17:53:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318591#M5592</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-02-24T17:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318592#M5593</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2012 14:42:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318592#M5593</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2012-07-03T14:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318593#M5594</link>
      <description>&lt;UL&gt;
&lt;LI&gt;this is not an answer&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 04 Jul 2012 15:37:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318593#M5594</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-07-04T15:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318594#M5595</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 17:35:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318594#M5595</guid>
      <dc:creator>Julien_A_</dc:creator>
      <dc:date>2012-10-09T17:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318595#M5596</link>
      <description>&lt;P&gt;Please create a new question...&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 18:09:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318595#M5596</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-10-09T18:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Comment je modifie le formulaire proposé au moment du drag&amp;apos;n drop?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318596#M5597</link>
      <description>&lt;P&gt;done&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 18:19:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/comment-je-modifie-le-formulaire-propos%C3%A9-au-moment-du-drag-apos/m-p/318596#M5597</guid>
      <dc:creator>Julien_A_</dc:creator>
      <dc:date>2012-10-09T18:19:35Z</dc:date>
    </item>
  </channel>
</rss>

