<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Français (French)</title><link>https://www.infopathdev.com:443/forums/37.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1155.aspx</link><pubDate>Wed, 11 Apr 2007 15:14:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1155</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1155</wfw:commentRss><description>Oué, merci :)!</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1154.aspx</link><pubDate>Wed, 11 Apr 2007 12:56:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1154</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1154</wfw:commentRss><description>En faite c'est très simple ton élément qui se répéte c'est my:Instance et il contient my:champ3.&lt;br /&gt;ton xml comme il devrait se répéter:&lt;br /&gt;&lt;pre&gt;&amp;lt;my:groupe1&amp;gt;&lt;br /&gt;&amp;lt;my:Instance&amp;gt;&amp;lt;my:champ3/&amp;gt;&amp;lt;/my:Instance&amp;gt;&lt;br /&gt;&amp;lt;my:Instance&amp;gt;&amp;lt;my:champ3/&amp;gt;&amp;lt;/my:Instance&amp;gt;&lt;br /&gt;&amp;lt;/my:groupe1&amp;gt;&lt;/pre&gt;&lt;br /&gt;ton premier essai:&lt;br /&gt;&lt;pre&gt;&amp;lt;my:groupe1&amp;gt;&lt;br /&gt;&amp;lt;my:Instance&amp;gt;&amp;lt;my:champ3&amp;gt;&amp;lt;my:champ3/&amp;gt;&amp;lt;/my:champ3&amp;gt;&amp;lt;/my:Instance&amp;gt;&lt;br /&gt;&amp;lt;/my:groupe1&amp;gt;&lt;/pre&gt;&lt;br /&gt;le second:&lt;br /&gt;&lt;pre&gt;&amp;lt;my:groupe1&amp;gt;&lt;br /&gt;&amp;lt;my:Instance&amp;gt;&amp;lt;my:champ3/&amp;gt;&amp;lt;my:champ3/&amp;gt;&amp;lt;/my:Instance&amp;gt;&lt;br /&gt;&amp;lt;/my:groupe1&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Ce qui n'est pas accepté par ton schéma XML donc Infoapth fait une erreur.&lt;br /&gt;&lt;br /&gt;Compris?&lt;br /&gt;</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1153.aspx</link><pubDate>Wed, 11 Apr 2007 12:36:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1153</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1153</wfw:commentRss><description>J'ai pas tout à fait compris ce que tu as modifié mais ca marche et je t en remercie!!!&lt;br /&gt;Je pensai avoir tenté de faire ce que tu as dis une fois pourtant, ca ne fonctionnait pas...&lt;br /&gt;</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1152.aspx</link><pubDate>Wed, 11 Apr 2007 11:10:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1152</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1152</wfw:commentRss><description>Mais c'est quoi qui ce répéte c'est pas plutot my:instance??&lt;br /&gt;&lt;br /&gt;si oui:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;//Get the node&lt;br /&gt;IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("my:myFields/my:groupe1/my:Instance");&lt;br /&gt;//Clone node&lt;br /&gt;IXMLDOMNode cloneNode = node.cloneNode(true);&lt;br /&gt;//Append the clone node to repeating node&lt;br /&gt;node.parentnode.appendChild(cloneNode);&lt;/pre&gt;</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1151.aspx</link><pubDate>Wed, 11 Apr 2007 09:43:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1151</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1151</wfw:commentRss><description>Ok, c'était une erraur, mais, meme en essayant, ca au un insert before, j'ai toujours la meme exception. Enfin plus ou moins:&lt;br /&gt;&lt;br /&gt;L'élément '&lt;a target="_blank" href=http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}champ3'&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}champ3'&lt;/a&gt; est inattendu par rapport  au modèle de contenu de l'élément parent '&lt;a target="_blank" href=http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}Instance'.&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}Instance'.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1150.aspx</link><pubDate>Wed, 11 Apr 2007 09:35:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1150</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1150</wfw:commentRss><description>il faut que tu change la dernière ligne car la tu essaye d'introduire un my:champ3 dans un autre my:champ3.&lt;br /&gt;&lt;br /&gt;appendChild=ajouter un enfant donc ce que tu fais la :&lt;br /&gt;&lt;br /&gt;&amp;lt;my:champ3&amp;gt;&amp;lt;my:champ3/&amp;gt;&amp;lt;/my:champ3&amp;gt;&lt;br /&gt;&lt;br /&gt;ce qu'il faut faire c'est :&lt;br /&gt;node.parentnode.appendChild(cloneNode);&lt;br /&gt;</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1149.aspx</link><pubDate>Wed, 11 Apr 2007 09:31:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1149</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1149.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1149</wfw:commentRss><description>Une derniere chose, lorsque j'utilise la méthode appendchild(IXMLDOMNode) de la manière suivante:&lt;br /&gt;&lt;br /&gt;//Get the node&lt;br /&gt;IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("my:myFields/my:groupe1/my:Instance/my:champ3");&lt;br /&gt;//Clone node&lt;br /&gt;IXMLDOMNode cloneNode = node.cloneNode(true);&lt;br /&gt;//Append the clone node to repeating node&lt;br /&gt;node.appendChild(cloneNode);&lt;br /&gt;&lt;br /&gt;J'obtiens l'exception COMException suivante:&lt;br /&gt;&lt;br /&gt;L'élément '&lt;a target="_blank" href=http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}champ3'&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}champ3'&lt;/a&gt; est inattendu par rapport  au modèle de contenu de l'élément parent '&lt;a target="_blank" href=http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}champ3'.&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-04-10T09-00-37}champ3'.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Avez vou une idée d'ou cela pourrait venir? Je ne pense pas que ca vienne de cette partie du code.</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1148.aspx</link><pubDate>Wed, 11 Apr 2007 08:41:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1148</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1148</wfw:commentRss><description>Merci beaucoup, c'est plutot ce a quoi je pensais aussi.</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1147.aspx</link><pubDate>Wed, 11 Apr 2007 08:28:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1147</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1147.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1147</wfw:commentRss><description>Comme je te le disais l'affichage de ton formulairfe infopath dépend de ton xml donc tu as plusieurs posibilités:&lt;br /&gt;&lt;br /&gt;Ajouter des noeud dans ton xml(ce qui va modifier la vision dans infopath) via une transfo XSLT ou un .insertBefore ou un .appendchild.&lt;br /&gt;&lt;br /&gt;Ou tu peux demander à Infopath de te rajouter une occurence a ton tableau.:&lt;br /&gt;&lt;pre&gt;thisXDocument.View.ExecuteAction("xCollection::insert", "Person_515");&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Person_515 doit être remplacé par la valeur que tu touveras dans le dernier onglet des propriétés de ta section répétitive.&lt;br /&gt;&lt;br /&gt;Dépend de ton cas il sera plus judicieux d'utiliser l'une ou l'autre des solutions. Si tu en as beaucou utilise une transfo XSLT et fait un replaceChild et si c'est limité utilise insertBefore ou appenChild et si tu as à ajouter un élément vide dont tu ne connais pas la structure XML tu peux utiliser ExecuteAction.&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1146.aspx</link><pubDate>Wed, 11 Apr 2007 08:11:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1146</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1146.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1146</wfw:commentRss><description>En fait, je voudrais que des lignes soient ajoutées automatiquement à l'ouverture du formulaire, dans une section extensible, selon des informatiopns provenant d'une base de donnée.&lt;br /&gt;&lt;br /&gt;Par exemple, si la base de donnée renvoie 2 instances de la table "Entreprise", j'aimerais avoir 2 lignes dans la section extensible, de manière automatique, à l'ouverture du formulaire.&lt;br /&gt;&lt;br /&gt;Plus généralement, j'aimerais simplement pouvoir ajouter des lignes à uen section extensible et les remplir, en code managé. &lt;br /&gt;&lt;br /&gt;On m'a proposé de faire un custom control, mais je pense qu'il y a plus simple avec infopath 2003. Peut être avez vous une idée.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Je</description></item><item><title>Re: Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/1145.aspx</link><pubDate>Tue, 10 Apr 2007 13:02:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1145</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1145</wfw:commentRss><description>Salut et bienvenue,&lt;br /&gt;&lt;br /&gt;Désolé mais je ne comprend pas vraiment ta question car c'est t'as structure XML qui va faire ce que tu verras...&lt;br /&gt;&lt;br /&gt;Mais si c'est que tu essaye de faire c'est d'après une liste entreprise, affiché les client qui en sont membre il faut que tu utilise les filtre ou le conditionnal formatting.&lt;br /&gt;&lt;br /&gt;Essaye de mieux m'expliquer&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Nombre de Sections Extensible</title><link>https://www.infopathdev.com:443/forums/thread/475.aspx</link><pubDate>Tue, 10 Apr 2007 12:35:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:475</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/475.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=475</wfw:commentRss><description>Salut, est-il possible de prédéterminer le nombre d'instances d'une section extensible en code manager? J'imagine bien que cela est possible, donc ma question est plutot, comment faire!&lt;br /&gt;&lt;br /&gt;Par exemple: on prend des données issues d'une base oracle avec un service Web, dans un Data Set de 3 tables (genre Entreprise RelationClient-Entreprize Client), et, au chargement du formulaire, on aurait:&lt;br /&gt;&lt;br /&gt;Entreprise 1: nom, secteur&lt;br /&gt;    Client1&lt;br /&gt;    Client2&lt;br /&gt;&lt;br /&gt;Entreprise 2&lt;br /&gt;    Client1&lt;br /&gt;    Client2&lt;br /&gt;    Client3&lt;br /&gt;&lt;br /&gt;Et ainsi de suite.&lt;br /&gt;&lt;br /&gt;Merci à tous!</description></item></channel></rss>