<?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: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/20281.aspx</link><pubDate>Wed, 30 May 2007 18:55:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20281</guid><dc:creator>cyph</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20281.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=20281</wfw:commentRss><description>&lt;p&gt;J&amp;#39;ai finalement r&amp;eacute;ussi &amp;agrave; acceder directement aux donn&amp;eacute;es de la source secondaire, plus besoin donc de &lt;span style="font-style:italic;"&gt;commentaires_intermediaires&lt;/span&gt;. Voici le code qu&amp;#39;il faut mettre dans le point 4. :&lt;/p&gt;&lt;p style="font-style:italic;"&gt;try&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Ma source secondaire s&amp;#39;appelle ItemMetaData&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XPathNavigator champ_source_secondaire =&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; this.DataSources[&amp;quot;ItemMetaData&amp;quot;].CreateNavigator();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // un fichier ItemMetaData.xml resemble &amp;agrave; ceci :&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // &amp;lt;z:row xmlns:z=&amp;quot;#RowsetSchema&amp;quot; ows_commentaires=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // on descend donc vers le seul et unique fils du fichier : row&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; champ_source_secondaire.MoveToFirstChild();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // on cherche l&amp;#39;attribut qui nous convient : ows_commentaires (pas besion de namespaceURI)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string commentaires = champ_source_secondaire.GetAttribute(&amp;quot;ows_commentaires&amp;quot;, &amp;quot;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XPathNavigator champ = this.MainDataSource.CreateNavigator();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; champ.SelectSingleNode(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;  &amp;quot;/my:mesChamps/my:commentaires&amp;quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;  NameSpaceManager&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Si vous voulez d&amp;eacute;finir totalement le champ, utilisez InnerXml&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Si vous voulez rajouter du texte apr&amp;egrave;s le texte existant du champ, utilisez AppendChild(commentaires)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; avant : PrependChild(commentaires)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; champ.InnerXml = commentaires;&lt;br /&gt;} catch (Exception exception) {/*ce que vous voulez*/}&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Attention pour &lt;span style="font-style:italic;"&gt;AppendChild &lt;/span&gt;et &lt;span style="font-style:italic;"&gt;PrependChild&lt;/span&gt; : j&amp;#39;ai d&amp;eacute;j&amp;agrave; eu des probl&amp;egrave;mes. En effet le code xhtml &amp;agrave; l&amp;#39;int&amp;eacute;rieur des rich text est parfois comme ceci :&lt;span style="font-style:italic;"&gt;&amp;lt;html xmlns=blablabla&amp;gt;bliblibli&amp;lt;/html&amp;gt;&lt;/span&gt; mais on a parfois seulement le &lt;span style="font-style:italic;"&gt;bliblibli&lt;/span&gt;... Dans le premier cas j&amp;#39;imagine (je n&amp;#39;ai pas test&amp;eacute;) qu&amp;#39;il faille faire un &lt;span style="font-style:italic;"&gt;champ.MoveToFirstChild();&lt;/span&gt; avant le &lt;span style="font-style:italic;"&gt;AppendChild&lt;/span&gt; / &lt;span style="font-style:italic;"&gt;PrependChild.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Remarque : si rien ne s&amp;#39;affiche dans la bo&amp;icirc;te de teste riche, v&amp;eacute;rifiez que toutes vos balises &amp;agrave; la racine contiennent l&amp;#39;attribut &lt;span style="font-style:italic;"&gt;xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/span&gt; (je ne suis pas s&amp;ucirc;r &amp;agrave; 100% de l&amp;#39;adresse). Par exemple ce message ne s&amp;#39;affichera pas :&lt;/p&gt;&lt;p&gt;&lt;span style="font-style:italic;"&gt;&amp;lt;div&amp;gt;toto&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br style="font-style:italic;" /&gt;&lt;span style="font-style:italic;"&gt;&amp;lt;div xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;toto&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Pour rem&amp;eacute;dier &amp;agrave; ce probl&amp;egrave;me et pour &amp;eacute;viter d&amp;#39;avoir &amp;agrave; modifier toutes les balises &amp;agrave; la racine, je vous conseille de les entourer de la balise htnl qui doit contenir le namespace :&lt;/p&gt;&lt;p&gt;&lt;span style="font-style:italic;"&gt;&amp;lt;html&lt;/span&gt;&lt;span style="font-style:italic;"&gt; xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/span&gt;&lt;span style="font-style:italic;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&amp;nbsp; &amp;lt;div&amp;gt;toto&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br style="font-style:italic;" /&gt;&amp;nbsp;
&lt;span style="font-style:italic;"&gt;&amp;lt;div xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;toto&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style:italic;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Vous pourrez remarquer qu&amp;#39;il n&amp;#39;y a pas besoin d&amp;#39;enlever le namespace pour les &amp;eacute;l&amp;eacute;ments fils (bon, c&amp;#39;est pas ce qu&amp;#39;il y a de plus propre mais &amp;ccedil;a marche...).&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/19590.aspx</link><pubDate>Fri, 04 May 2007 16:09:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19590</guid><dc:creator>cyph</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=19590</wfw:commentRss><description>&lt;p&gt;Salut&lt;/p&gt;&lt;p&gt;Je ne sais pas si tu as r&amp;eacute;solu ton probl&amp;egrave;me, mais comme tu n&amp;#39;as pas mis de r&amp;eacute;ponse je vais supposer que non, je vais donc y r&amp;eacute;pondre (au pire &amp;ccedil;a servira pour les autres !).&lt;/p&gt;&lt;p&gt;Ma solution pour r&amp;eacute;cup&amp;eacute;rer du xhtml et le mettre dans une rich text box ne n&amp;eacute;cessite aucun bidouillage dans sharepoint, mais par contre du code dans le formulaire. Par contre il faut avoir &lt;strong&gt;Infopath 2007&lt;/strong&gt; et &lt;strong&gt;Visual Studio&lt;/strong&gt; pour faire &amp;ccedil;a !&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;1) Les sources de donn&amp;eacute;es du formulaire&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;J&amp;#39;ai trois sources de donn&amp;eacute;es qui sont int&amp;eacute;ressantes pour l&amp;#39;exemple :&lt;/p&gt;&lt;ol&gt;&lt;li&gt;la source de donn&amp;eacute;es correspondante &amp;agrave; ma rich text box : commentaires (de la source de donn&amp;eacute;es principale)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;la source de donn&amp;eacute;e externe (celle qui contient le xhtml que je veux ins&amp;eacute;rer dans mon rich text box) : ows_commentaires (de la source de donn&amp;eacute;es secondaire)&lt;/li&gt;&lt;li&gt;une source de donn&amp;eacute;e interm&amp;eacute;diaire (de type string) : commentaires_intermediaire&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;L&amp;#39;id&amp;eacute;e est de r&amp;eacute;cup&amp;eacute;rer les donn&amp;eacute;es brutes de la source de donn&amp;eacute;es externe pour les mettres directement dans commentaires_intermediaire, puis d&amp;#39;ajouter un enfant &amp;agrave; la structure xml de commentaires. Pour cela,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. d&amp;eacute;finir la source de donn&amp;eacute;es secondaires (outils / connexion de donn&amp;eacute;es... - si vous utilisez les workflows, je donnerai plus de d&amp;eacute;tails plus bas) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. lier cette source de donn&amp;eacute;es &amp;agrave; commentaires_intermediaire (dans valeur par d&amp;eacute;faut de commentaires_interm&amp;eacute;diaire, mettre le champ correspondant &amp;agrave; la source de donn&amp;eacute;es secondaire)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. dans les options de formulaire :&lt;/p&gt;&lt;ul&gt;&lt;li&gt;S&amp;eacute;curit&amp;eacute; et approbation -&amp;gt; Autorisation totale ; Signer ce formulaire et s&amp;eacute;lectionner un certificat (vous aurez besoin d&amp;#39;en cr&amp;eacute;er un si vous n&amp;#39;en avez pas d&amp;eacute;j&amp;agrave;)&lt;/li&gt;&lt;li&gt;Programmation -&amp;gt; choisissez le langage de code que vous voulez utiliser (j&amp;#39;utilise C#)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Outils / Programmation / Loading (ouvre VS), ins&amp;eacute;rer le code suivant dans &lt;em&gt;FormEvents_Loading&lt;/em&gt; :&lt;/p&gt;&lt;p&gt;&lt;em&gt;try&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;XPathNavigator racineXPath = this.MainDataSource.CreateNavigator();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;XPathNavigator champ = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;string chemin_XPath, commentaires;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;chemin_XPath = &amp;quot;my:mesChamps/my:commentaires_intermediaire&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;champ = racineXPath.SelectSingleNode(chemin_XPath, NamespaceManager);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;commentaires = champ.Value;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;chemin_XPath = &amp;quot;my:mesChamps/my:commentaires&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;champ = racineXPath.SelectSingleNode(chemin_XPath, NamespaceManager);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;champ.AppendChild(commentaires);&lt;br /&gt;}&lt;br /&gt;catch (Exception exception) {}&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Voil&amp;agrave; pour le formulaire... mais comme nous lui avons rajout&amp;eacute; du code manag&amp;eacute;, la publication du formulaire va &amp;ecirc;tre un peu plus compliqu&amp;eacute;e...&lt;/p&gt;&lt;p&gt;&lt;strong&gt;2) Publier le formulaire&lt;/strong&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Fichier / Publier / Vers un serveur Sharepoint blablabla / adresse de votre &lt;em&gt;MOSS&lt;/em&gt; /&amp;nbsp; Activer ce formulaire pour navigateur / emplacement du formulaire : o&amp;ugrave; vous voulez, sauf si vous utilisez les workflows (dans ce cas, voir plus bas).&lt;/li&gt;&lt;li&gt;Si vous n&amp;#39;utilisez pas les workflows, activer le formulaire dans la page d&amp;#39;administration de MOSS (http://serveurMOSS:portAdmin/_admin/ManageFormTemplates.aspx) dans la collection de site pour laquelle vous voulez que le dormulaire soit disponible.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Voil&amp;agrave;, je crois que c&amp;#39;est tout !&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Note : pour les workflows&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;On veut transferer les commentaires du formulaire de la t&amp;acirc;che A vers les commentaires du formulaire de la t&amp;acirc;che B :&lt;/p&gt;&lt;ol&gt;&lt;li&gt;lors de l&amp;#39;&amp;eacute;venement &lt;em&gt;OnTaskChanged &lt;/em&gt;de la t&amp;acirc;che A, ins&amp;eacute;rer : &lt;em&gt;commentaires = &lt;/em&gt;&lt;em&gt;taskA_afterProperties.ExtendedProperties[&amp;quot;commentaires&amp;quot;]&lt;/em&gt;&lt;em&gt;.ToString();&lt;/em&gt; (&lt;em&gt;commentaires &lt;/em&gt;est un attribut de type string de la classe de votre workflow, &lt;em&gt;Workflow1 &lt;/em&gt;en g&amp;eacute;n&amp;eacute;ral)&lt;/li&gt;&lt;li&gt;lors de la cr&amp;eacute;ation de la t&amp;acirc;che B, ins&amp;eacute;rer : &lt;em&gt;taskB_properties.ExtendedProperties[&amp;quot;commentaires&amp;quot;] = commentaires;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;ouvrir bloc note (ou n&amp;#39;importe quel &amp;eacute;diteur de texte), entrer : &lt;em&gt;&lt;span class="m"&gt;&amp;lt;&lt;/span&gt;&lt;span class="t"&gt;z:row&lt;/span&gt; &lt;span class="ns"&gt;xmlns:z&lt;/span&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;strong class="ns"&gt;#&lt;/strong&gt;&lt;span class="ns"&gt;RowsetSchema&lt;/span&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="t"&gt; &lt;/span&gt;&lt;span class="t"&gt;ows_commentaires&lt;/span&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt; /&amp;gt;&lt;/span&gt;&lt;/em&gt;&lt;span class="m"&gt; puis enregistrer le fichier sous le nom &lt;em&gt;ItemMetadata.xml&lt;/em&gt; (pour plus de renseignements sur cette partie, voir http://msdn2.microsoft.com/en-us/library/ms497641.aspx)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="m"&gt;dans infopath, pour le formulaire de la t&amp;acirc;che B, ajouter une connexion de r&amp;eacute;ception de donn&amp;eacute;es de type XML et mettez le chemin de votre &lt;em&gt;ItemMetadata.xml&lt;/em&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Concernant la publication, il faut mettre pour l&amp;#39;emplacement du formulaire l&amp;agrave; o&amp;ugrave; sont les formulaires de t&amp;acirc;ches de votre workflow (g&amp;eacute;n&amp;eacute;ralement dans le dossier du projet, ou dans un sous-dossier &amp;quot;formulaires&amp;quot;...). De plus, il faut rajouter la DLL correspondant au formulaire. Celle-ci est situ&amp;eacute;e g&amp;eacute;n&amp;eacute;ralement dans &lt;em&gt;Mes Documents\Projets InfoPath\nomDuFormulaire\\bin\Release&lt;/em&gt;. Copiez cette DLL dans le m&amp;ecirc;me r&amp;eacute;pertoire que le formulaire (dans le projet du workflow). Enfin, dans le script de publication du workflow (&lt;em&gt;PostBuildActions.bat&lt;/em&gt; par exemple), rajouter la ligne suivante : &lt;em&gt;xcopy /s /Y &amp;quot;%FEATUREDIR%\*.dll&amp;quot;&amp;nbsp; &amp;quot;%FEATURESDIR%\NomDeLaFeature&amp;quot;&lt;/em&gt;.&amp;nbsp;&lt;/p&gt;&lt;em&gt;&lt;/em&gt;</description></item><item><title>Re: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/1073.aspx</link><pubDate>Thu, 15 Feb 2007 09:20:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1073</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1073.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1073</wfw:commentRss><description>ok je vais regarder ça.&lt;br /&gt;Merci encore pour ton aide</description></item><item><title>Re: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/1072.aspx</link><pubDate>Thu, 15 Feb 2007 00:00:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1072</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1072</wfw:commentRss><description>Désolé mais je ne connais pas les liste Sharepoint car je n'aie jamais vraiment essayé!&lt;br /&gt;&lt;br /&gt;Alors je te conseil de poster dans la section anglaise qui pourra peut-être mieux te renseigné</description></item><item><title>Re: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/1071.aspx</link><pubDate>Wed, 14 Feb 2007 10:31:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1071</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1071.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1071</wfw:commentRss><description>Hello, &lt;br /&gt;&lt;br /&gt;Quand je crée ma référence vers une librairie de formulaires Sharepoint (Data Connection dans Infopath), il crée automatiquement les schemas et tout ce qui va avec. Du coup ma liste devient un élément et les champs de cette liste deviennent des attributs. &lt;br /&gt;Donc comme tout se fait automatiquement, c'est pas vraiment moi qui ai défini ca... Et le problème c'est que je vois pas trop comment le faire autrement&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/1070.aspx</link><pubDate>Tue, 13 Feb 2007 07:53:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1070</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1070</wfw:commentRss><description>Salut,&lt;br /&gt;&lt;br /&gt;Tu ne peux pas faire ca dans un attribut????&lt;br /&gt;&lt;br /&gt;Comment veux-tu avoir des autre balise de formatage dans un attribut c'est impensable. De plus la grandeur d'un attribut est limité en caractères 256 si je me souviens bien.&lt;br /&gt;&lt;br /&gt;Il faut que tu définisse ton RTB en un élément pas un attribut. &lt;br /&gt;&lt;br /&gt;D'ailleurs c'est toi qui a choisi ca ou ca été défini par quelqu'un d'autre?&lt;br /&gt;</description></item><item><title>Re: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/1069.aspx</link><pubDate>Mon, 12 Feb 2007 16:24:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1069</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1069</wfw:commentRss><description>J'ai vu cet article, mais je sais pas si je peux adapter mon schema (voir ci-dessous), parce que mon element est le Data Source (DivDev) et la Rich Text Box est un attribut de cet élément (richTxtMouvement).&lt;br /&gt;&lt;br /&gt;Je suis pas encore très à l'aise avec ces schéma alors pardon si je suis un peu à la rue....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;xsd:schema elementFormDefault="qualified" targetNamespace=".&lt;br /&gt;.." xmlns:xsd="..." xmlns:dfs="..."&amp;gt;&lt;br /&gt;	&amp;lt;xsd:element name="myFields"&amp;gt;&lt;br /&gt;		&amp;lt;xsd:complexType&amp;gt;&lt;br /&gt;			&amp;lt;xsd:sequence&amp;gt;&lt;br /&gt;				&amp;lt;xsd:element name="dataFields"&amp;gt;&lt;br /&gt;					&amp;lt;xsd:complexType&amp;gt;&lt;br /&gt;						&amp;lt;xsd:sequence&amp;gt;&lt;br /&gt;							&amp;lt;xsd:element name="DivDev" minOccurs="0" maxOccurs="unbounded"&amp;gt;&lt;br /&gt;								&amp;lt;xsd:complexType&amp;gt;&lt;br /&gt;									&amp;lt;xsd:attribute name="ID" type="xsd:integer"&amp;gt;&amp;lt;/xsd:attribute&amp;gt;&lt;br /&gt;									&amp;lt;xsd:attribute name="txtResp" type="xsd:string"&amp;gt;&amp;lt;/xsd:attribute&amp;gt;&lt;br /&gt;                                                                         ...&lt;br /&gt;									&lt;font color="red"&gt;&amp;lt;xsd:attribute name="richTxtMouvement" type="xsd:string"&amp;gt;&amp;lt;/xsd:attribute&amp;gt;&lt;/font id="red"&gt;&lt;br /&gt;                                                                         ...&lt;br /&gt;								&amp;lt;/xsd:complexType&amp;gt;&lt;br /&gt;							&amp;lt;/xsd:element&amp;gt;&lt;br /&gt;						&amp;lt;/xsd:sequence&amp;gt;&lt;br /&gt;					&amp;lt;/xsd:complexType&amp;gt;&lt;br /&gt;				&amp;lt;/xsd:element&amp;gt;&lt;br /&gt;			&amp;lt;/xsd:sequence&amp;gt;&lt;br /&gt;		&amp;lt;/xsd:complexType&amp;gt;&lt;br /&gt;	&amp;lt;/xsd:element&amp;gt;&lt;br /&gt;&amp;lt;/xsd:schema&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;</description></item><item><title>Re: Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/1068.aspx</link><pubDate>Mon, 12 Feb 2007 15:56:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1068</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1068.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1068</wfw:commentRss><description>Salut,&lt;br /&gt;&lt;br /&gt;Il faut que ton schéma accepte la richtextbox voici comment adapter ton schéma:&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://support.microsoft.com/?scid=kb;fr;826996&amp;spid=2515&amp;sid=global&gt;http://support.microsoft.com/?scid=kb;fr;826996&amp;spid=2515&amp;sid=global&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Rich Text Box d'une data connection</title><link>https://www.infopathdev.com:443/forums/thread/455.aspx</link><pubDate>Mon, 12 Feb 2007 15:50:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:455</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/455.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=455</wfw:commentRss><description>Bonjour tout le monde, &lt;br /&gt;&lt;br /&gt;Dans un de mes formulaires j'utilise une Data Connections vers une liste de formulaires Sharepoint.&lt;br /&gt;Parmi les champs de ces formulaires dont j'ai besoin il y a une "Rich Text Box".&lt;br /&gt;&lt;br /&gt;Le problème est que toute la mise en forme (retour à la ligne, caractères gras, etc.) dans cette "Rich Text Box" est perdue quand je l'intègre à mon nouveau formulaire.&lt;br /&gt;&lt;br /&gt;Est-ce qu'il y a une méthode particulière pour conserver cette mise en forme ? &lt;br /&gt;</description></item></channel></rss>