<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-277745491973931418</id><updated>2024-11-01T08:33:26.318+01:00</updated><category term="Salesforce"/><category term="APEX"/><category term="Limits"/><category term="SOQL"/><category term="VisualForce"/><category term="Query"/><category term="SELECT"/><category term="actionStatus"/><category term="email"/><category term="formulas"/><category term="formules"/><category term="image"/><category term="image dynamique"/><category term="reRender"/><category term="relationships"/><title type='text'>naTwelve</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Yannick Galatol</name><uri>http://www.blogger.com/profile/12870404671184814774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjmohwKmfpdHB0LHaYHg1-JH48GYxQw8kJdSfKQC_XqvMGxHOc25ebRiR6UwiV2Vadxx2LGob3u7PtQumojzbJPTzU8fBJHiR-Z4AlPDbzN5xoNmHoSbOYl0aF5yEKK8/s1600/photo%3FmemberId%3D0022222klrfl6cw6%26type%3D0%26ts%3D1320443972000'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-277745491973931418.post-4651026869816128610</id><published>2012-04-03T08:20:00.001+02:00</published><updated>2012-04-04T10:03:04.583+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="APEX"/><category scheme="http://www.blogger.com/atom/ns#" term="email"/><category scheme="http://www.blogger.com/atom/ns#" term="Limits"/><category scheme="http://www.blogger.com/atom/ns#" term="Salesforce"/><title type='text'>Envoyer des emails en APEX</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;La classe &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_messaging.htm&quot; target=&quot;_blank&quot;&gt;Messaging&lt;/a&gt; fournie par APEX permet d&#39;envoyer des emails facilement, qu&#39;ils contiennent du texte brut, du contenu HTML ou qu&#39;ils reposent sur des modèles de message.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Nous allons, dans cet article, montrer deux méthodes implémentant les fonctionnalités de la classe &lt;i&gt;Messaging&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;






&lt;span style=&quot;color: #999999; font-family: Verdana,sans-serif;&quot;&gt;Envoi d&#39;un email en texte brut ou HTML&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;La méthode ci-dessous permet d&#39;envoyer un email en spécifiant l&#39;objet du message, son contenu et les destinataires.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;public&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;static&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;void&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sendEmailWithText&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Object,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Text&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;, Boolean the_IsHtml,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;[] &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Recipients&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;) {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Check the limit of sent emails is not passed&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;if&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Limits&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;getEmailInvocations&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;() &amp;gt;= &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Limits&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;getLimitEmailInvocations&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;()) {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;return&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SingleEmailMessage&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;new&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SingleEmailMessage&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;();&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;if&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Recipients&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; != &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;null&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;) {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Set the destinary adresses&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setToAddresses&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Recipients&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;else&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Find the email of the current user&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2218e6; font-size: small;&quot;&gt;User&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_User&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; = [&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Email&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&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; FROM&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2218e6; font-size: small;&quot;&gt;User&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&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; WHERE&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;=:&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Userinfo&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;getUserId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;()];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Set the destinary adresses&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setToAddresses&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;new&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;[] {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_User&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Email&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;if&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; ((&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Object&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; == &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;null&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;) || (&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Object&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; == &lt;/span&gt;&lt;span style=&quot;color: green; font-size: small;&quot;&gt;&#39;&#39;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;)) {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setSubject&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: green; font-size: small;&quot;&gt;&#39;NaTwelve : Custom email sent&#39;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;else&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setSubject&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Object&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Set the destinary adresses&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;if&lt;/span&gt;&lt;/b&gt; (&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;the_IsHtml) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setHtmlBody&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Text&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b style=&quot;color: #741b47;&quot;&gt;else&lt;/b&gt; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setPlainTextBody&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Text&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Do not create an email task for this email&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setSaveAsActivity&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;false&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Send the email&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sendEmail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;new&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SingleEmailMessage&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;[] { &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; });&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 115%;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #3c3c3c; font-family: monospace; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;





&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;Comment utiliser notre méthode ?&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Avec un texte brut&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 115%;&quot;&gt;sendEmailWithText(&lt;/span&gt;&lt;span style=&quot;color: #38761d; font-size: small; line-height: 115%;&quot;&gt;&#39;Objet de mon email&#39;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 115%;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #38761d; font-size: small; line-height: 115%;&quot;&gt;&#39;Corps de mon email\nEmail au format texte brut.&#39;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 115%;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #741b47; font-size: small; line-height: 115%;&quot;&gt;&lt;b&gt;false&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 115%;&quot;&gt;, System.Userinfo.getUserId());&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Avec de l&#39;HTML&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;sendEmailWithText(&lt;/span&gt;&lt;span style=&quot;font-size: small; line-height: 14px;&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&#39;Objet de mon email&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-size: small; line-height: 14px;&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&#39;&amp;lt;h1&amp;gt;Corps de mon email&amp;lt;/h1&amp;gt;&amp;lt;br/&amp;gt;Email au format HTML.&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-size: small; line-height: 14px;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;b&gt;true&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;, System.Userinfo.getUserId());&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;Cette méthode peut être utilisée aussi bien pour envoyer des alertes, que des notifications ou des traces.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;J&#39;utilise, moi-même, cette fonction dans de nombreux services de messagerie afin de recevoir des traces de debug au format texte&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;par email&lt;/span&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;





&lt;span style=&quot;color: #999999; font-family: Verdana,sans-serif;&quot;&gt;Envoi d&#39;un email avec modèle de message&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;public&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;static&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;void&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sendEmailWithTemplate&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Template&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_RecipientId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_ObjectId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;) {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Check the limit of sent emails is not passed&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-size: small; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Limits&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;getEmailInvocations&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;() &amp;gt;= &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Limits&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;getLimitEmailInvocations&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;()) {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;return&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Get the email template&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2218e6; font-size: small;&quot;&gt;EmailTemplate&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Template&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; = [&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&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; FROM&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2218e6; font-size: small;&quot;&gt;EmailTemplate&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&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; WHERE&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;DeveloperName&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; =:&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_Template&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;];&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SingleEmailMessage&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;new&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SingleEmailMessage&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;();&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;if&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_RecipientId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; != &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;null&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;) {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Set the destinary adresses&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setTargetObjectId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_RecipientId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;else&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Set the destinary adresses of the current user&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setTargetObjectId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Userinfo&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;getUserId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;());&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Do not create an email task for this email&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setSaveAsActivity&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;false&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Set template of email&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setTemplateId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Template&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;if&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_ObjectId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; != &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;null&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;) {&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Set the resource demand object for merging fields&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;setWhatId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the_ObjectId&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&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; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: olive; font-size: small;&quot;&gt;// Send the email&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sendEmail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;new&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Messaging&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SingleEmailMessage&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt;[] { &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a_Mail&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small;&quot;&gt; });&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 115%;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h4&gt;





&lt;span style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;Comment utiliser notre méthode ?&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small; line-height: 14px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Account&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt; aAccount = [&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt; Id &lt;/span&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;b&gt;FROM&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt; Account &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;LIMIT&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #3c3c3c;&quot;&gt; 1];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;sendEmailWithTemplate(&lt;/span&gt;&lt;span style=&quot;color: #38761d; font-size: small; line-height: 14px;&quot;&gt;&#39;modeleFicheClient&#39;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;&amp;nbsp;System.Userinfo.getUserId(),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;aAccount.Id&lt;/span&gt;&lt;span style=&quot;color: #3c3c3c; font-size: small; line-height: 14px;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;En utilisant des modèles de message, on gagne en généricité et on facilite la gestion du contenu des messages qui peut être fait par l&#39;interface du CRM sans avoir à manipuler du code APEX.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;color: #999999;&quot;&gt;




&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Remarques&lt;/span&gt;&lt;/h3&gt;
&lt;h4 style=&quot;color: #666666;&quot;&gt;




&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;L&#39;envoi d&#39;email et les limites&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Comme on peut le voir en début de nos deux méthodes, on vérifie que la limite &lt;i&gt;EmailInvocations&lt;/i&gt; n&#39;est pas dépassée. Force.com limite le nombre d&#39;emails envoyer via la fonction &lt;i&gt;Messaging.sendEmail&lt;/i&gt; à 10. Si vous ne respectez pas cette limite, vous verrez ce beau message d&#39;erreur « &lt;b style=&quot;color: red;&quot;&gt;Too many Email Invocations&lt;/b&gt; ».&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;D&#39;où l&#39;intérêt de grouper les destinataires pour l&#39;envoi d&#39;un même email ou l&#39;utilisation des emails en masse pour l&#39;envoi de contenus différents.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;




&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;Les emails en masse &lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Nous avons utilisé la classe &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_single.htm&quot; target=&quot;_blank&quot;&gt;SingleEmailMessage&lt;/a&gt; dans nos deux méthodes mais il existe aussi la classe &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_mass.htm&quot; target=&quot;_blank&quot;&gt;MassEmailMessage&lt;/a&gt; qui est plus approprié pour l&#39;envoi de messages différents à plusieurs destinataires.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Elle sera particulièrement utile pour les emails qui utilisent des modèles de message. Le modèle sera alors appliqué à chacun des utilisateurs passés à la méthode &lt;i&gt;setTargetObjectIds&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sachez que l&#39;envoi d&#39;emails est soumis à deux autres limites mais plus rares cette fois-ci. La première empêche l&#39;envoi à plus de 250, 500 ou 1000 (en fonction de l&#39;édition de Salesforce que vous possèdez) destinataires différents et externes pour un même email en masse. La seconde fixe un maximum de 1000 emails envoyés en utilisant la classe &lt;i&gt;SingleEmailMessage&lt;/i&gt; ou la classe &lt;i&gt;MassEmailMessage&lt;/i&gt; par jour.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: x-small;&quot;&gt;&lt;u&gt;source&lt;/u&gt; : &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound.htm&quot; target=&quot;_blank&quot;&gt;Outbound Email&lt;/a&gt;, &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm&quot; target=&quot;_blank&quot;&gt;Understanding Execution Governors and Limits&lt;/a&gt; &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/4651026869816128610/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://natwelve.blogspot.com/2012/04/envoyer-des-emails-en-apex.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/4651026869816128610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/4651026869816128610'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/2012/04/envoyer-des-emails-en-apex.html' title='Envoyer des emails en APEX'/><author><name>Yannick Galatol</name><uri>http://www.blogger.com/profile/12870404671184814774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjmohwKmfpdHB0LHaYHg1-JH48GYxQw8kJdSfKQC_XqvMGxHOc25ebRiR6UwiV2Vadxx2LGob3u7PtQumojzbJPTzU8fBJHiR-Z4AlPDbzN5xoNmHoSbOYl0aF5yEKK8/s1600/photo%3FmemberId%3D0022222klrfl6cw6%26type%3D0%26ts%3D1320443972000'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-277745491973931418.post-1445528245425754875</id><published>2012-03-30T20:27:00.000+02:00</published><updated>2012-04-04T12:02:20.485+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="formulas"/><category scheme="http://www.blogger.com/atom/ns#" term="formules"/><category scheme="http://www.blogger.com/atom/ns#" term="image"/><category scheme="http://www.blogger.com/atom/ns#" term="image dynamique"/><category scheme="http://www.blogger.com/atom/ns#" term="Salesforce"/><title type='text'>Utilisation des Formules pour gérer nos images</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Il est souvent utile d’insérer une image dans une fiche d’un objet ou dans une page Visualforce personnalisée.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Avec les &lt;b&gt;formules&lt;/b&gt; de Salesforce et la fonction &lt;b&gt;IMAGE&lt;/b&gt; ceci devient très simple. De plus les formules permettent de rendre les images dynamiques, par exemple en fonction d’un statut en particulier ou pour avoir une représentation graphique de l’avancement d’un projet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-height-alt: 13.5pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #999999; font-family: Verdana, sans-serif; font-size: 18pt;&quot;&gt;Comment ça marche&amp;nbsp;?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Il faut utiliser la fonction &lt;b&gt;IMAGE&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;IMAGE&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;image_url,&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;alternate_text&lt;/span&gt;,&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;IMAGE_HEIGHT,&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;IMAGE_WIDTH)&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Celle-ci va nous permettre d’insérer le code Html juste en précisant l’url et la taille de l’image.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Par exemple&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;IMAGE&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;(&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;/img/samples/flag_green.gif&quot;,&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&quot;Vert&quot;&lt;/span&gt;,&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;120,&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;120)&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ceci va nous générer le code HTML suivant&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt;&quot;&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; line-height: 13.5pt; margin-bottom: 0.0001pt; text-align: left;&quot;&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&amp;lt;img src&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;=&quot;/img/samples/flag_green.gif&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;alt=&quot;vert&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;height=&quot;120px&quot; width=&quot;120px”&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;border=&quot;0&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-height-alt: 13.5pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-height-alt: 13.5pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #999999; font-family: Verdana, sans-serif; font-size: 18pt;&quot;&gt;Quelques conseils &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-add-space: auto; mso-list: l1 level1 lfo1; text-align: justify; text-indent: -18.0pt;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;Les paramètres IMAGE_HEIGHT et IMAGE_WIDTH&amp;nbsp;permet de spécifier la taille d’affichage de notre image en pixels. Si l’on souhaite afficher l’image à sa taille réelle, il suffit d’omettre ces deux paramètres.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-align: justify; text-indent: 35.4pt;&quot;&gt;Par exemple&amp;nbsp;:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: #f3f3f3; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-align: justify; text-indent: 35.4pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;IMAGE&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;(&quot;/&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;img&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;/samples/&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;color_green.gif&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #333333;&quot;&gt;&quot;, &quot;Carré vert de1px&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;IMAGE&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;(&quot;/&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;img&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;/samples/&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;color_green.gif&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #333333;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&quot;, &quot;Carré vert de 50px*50px&quot;, 50&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;, 50&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;Si vous le souhaitez, vous pouvez utiliser les images que vous avez stockées dans l’onglet &lt;/span&gt;&lt;b style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&lt;i&gt;Documents&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt; de &lt;/span&gt;&lt;b style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;SalesForce en utilisant la fonction comme ceci&amp;nbsp;:&amp;nbsp; &lt;/b&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;IMAGE&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;(&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333;&quot;&gt;servlet&lt;span class=&quot;hps&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;servlet.FileDownload&lt;/span&gt;?&lt;span class=&quot;hps&quot;&gt;File=&lt;/span&gt;&quot;&lt;span class=&quot;hps&quot;&gt;&lt;i&gt;id de l’image&lt;/i&gt;&lt;/span&gt;&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&quot;id de l’image&quot; est l’identifiant unique du document, par exemple 015x00000000f7e, vous pouvez retrouver votre identifiant dans l’url du navigateur lorsque vous ouvrez la fiche detail d’un document.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-height-alt: 13.5pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-height-alt: 13.5pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #999999; font-family: Verdana, sans-serif; font-size: 18pt;&quot;&gt;Le type de champ Formule&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Dans un objet Salesforce, nous pouvons utiliser un champ de type formule. En fait, c’est un champ en lecture seule, dont la valeur provient d&#39;une formule. Cette formule peut faire référence à un autre champ de l’objet et sera donc mis à jour dès que celui-ci sera modifié. Utile pour créer des images dynamiques&amp;nbsp;!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #999999; font-family: Verdana, sans-serif; font-size: 18pt;&quot;&gt;Voici quelques exemples d’images dynamiques &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-add-space: auto; mso-list: l1 level1 lfo1; text-align: justify; text-indent: -18.0pt;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Les drapeaux de différente couleur&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&amp;nbsp;: Pour indiquer la priorité d’une tache.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-Aelt1IBP-wg/T3X6shuEe3I/AAAAAAAAHSo/syIfjZr9PHc/s1600/flag.png&quot; /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: 13.5pt; margin-bottom: 0.0001pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;IMAGE&lt;/b&gt;(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;CASE&lt;/b&gt;( &lt;i&gt;{!priority}&lt;/i&gt;, &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Low&quot;, &quot;/img/samples/flag_green.gif&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Medium&quot;, &quot;/img/samples/flag_yellow.gif&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;High&quot;, &quot;/img/samples/flag_red.gif&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/s.gif&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;priorityflag&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto; line-height: 13.5pt; margin: 0cm 0cm 0cm 35.45pt; text-indent: -35.45pt;&quot;&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333; font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;background: none repeat scroll 0% 0% rgb(243, 243, 243); line-height: 13.5pt; margin-bottom: 0cm; text-align: justify; text-indent: -18pt;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Les feux de circulation vert/jaune/rouge&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&amp;nbsp;: Pour indiquer le statut d&#39;un projet.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-8rghsWB6kPw/T3X6tc78NdI/AAAAAAAAHS4/y8WoJJuIzA4/s1600/trafic.png&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.5pt; margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; color: #333333; font-family: Arial, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;background-color: #f3f3f3; color: black;&quot;&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;IMAGE&lt;/b&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;CASE&lt;/b&gt;( &lt;i&gt;{!Project_Status__c}&lt;/i&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Green&quot;, &quot;/img/samples/light_green.gif&quot;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Yellow&quot;, &quot;/img/samples/light_yellow.gif&quot;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Red&quot;, &quot;/img/samples/light_red.gif&quot;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/s.gif&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;status color&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: whitesmoke; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;background: none repeat scroll 0% 0% rgb(243, 243, 243); line-height: 13.5pt; margin-bottom: 0cm; text-align: justify; text-indent: -18pt;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Note de 1 à 5 étoiles&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&amp;nbsp;: Pour indiquer une note ou un score.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify; text-indent: -24px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center; text-indent: 0px;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-m_ogKoqk0_4/T3X6s-6D8XI/AAAAAAAAHSw/htGRBbzjs8M/s1600/star.png&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black; text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;background-color: #f3f3f3;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;IMAGE(&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;b&gt;CASE&lt;/b&gt;( &lt;i&gt;{!Rating__c}&lt;/i&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, &quot;/img/samples/stars_100.gif&quot;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, &quot;/img/samples/stars_200.gif&quot;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, &quot;/img/samples/stars_300.gif&quot;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, &quot;/img/samples/stars_400.gif&quot;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, &quot;/img/samples/stars_500.gif&quot;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/img/samples/stars_000.gif&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;rating&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Barre de progression&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;: Ici, la taille
     des images est calculée en fonction du pourcentage du temps réalisé sur le temps planifié d’une tache.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-Z95-Hj-7CVM/T3rtdpEaX-I/AAAAAAAAHTA/5-WvxWHyHNg/s1600/barre.jpg&quot; /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-RTtAx7H_5ng/T3rteETkY8I/AAAAAAAAHTE/YMqjXP1Ohd4/s1600/barre2.jpg&quot; style=&quot;background-color: white; line-height: 13.5pt;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #4d4d4d;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: none repeat scroll 0% 0% rgb(243, 243, 243); color: black; line-height: 13.5pt; margin: 0cm 0cm 0cm 35.4pt; text-align: left;&quot;&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;/* Si &amp;gt; 100% */&lt;/span&gt;&lt;br /&gt;&lt;b&gt;IF&lt;/b&gt;( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; &amp;gt;= 1 ,&lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp; /* On affiche la partie de 0 à 100 % en vert */&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;b&gt;IMAGE&lt;/b&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/img/samples/color_green.gif&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Done&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;ROUND&lt;/b&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #7f6000;&quot;&gt;/* La partie verte ne peut pas etre superieur a 100% */&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;MIN&lt;/b&gt;(100, ( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; ) * 100) / ( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; ),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp; /* On affiche la partie de 100 à 125 % en jaune */&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;amp; &lt;b&gt;IMAGE&lt;/b&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/img/samples/color_yellow.gif&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Passed&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;ROUND&lt;/b&gt;(&lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Le partie jaune doit etre positive et ne doit pas depasser 25% */&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;MIN&lt;/b&gt;(25, &lt;b&gt;MAX&lt;/b&gt;(0, ((&lt;i&gt; {!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; ) * 100) - 100)) / ( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; ),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp; /* Et au dessus de 125 % en rouge*/&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;amp; &lt;b&gt;IMAGE&lt;/b&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/img/samples/color_red.gif&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Passed&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;ROUND&lt;/b&gt;(&lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* La partie rouge doit etre positive */&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;MAX&lt;/b&gt;(0, (( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; )*100) - 125) / ( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; ),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* On affiche le pourcentage sous forme de texte apres les bandes de couleurs */ &lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;amp; &quot; &quot; &amp;amp; &lt;b&gt;TEXT&lt;/b&gt;( &lt;b&gt;ROUND&lt;/b&gt;(( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt;&amp;nbsp; )*100, 0) ) &amp;amp; &quot;%&quot;,&lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;/* Sinon */&lt;/span&gt;&lt;br style=&quot;color: #7f6000;&quot; /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* On affiche que la partie en vert de 0 à 100 % */&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;IMAGE&lt;/b&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/img/samples/color_green.gif&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Done&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;ROUND&lt;/b&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; ) * 100,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* On affiche le pourcentage sous forme de texte apres les bandes vertes */&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp; &quot; &quot; &amp;amp; &lt;b&gt;TEXT&lt;/b&gt;( &lt;b&gt;ROUND&lt;/b&gt;(( &lt;i&gt;{!Temps_Realise__c}&lt;/i&gt; / &lt;i&gt;{!Temps_Planifie__c}&lt;/i&gt; ) * 100, 0) ) &amp;amp; &quot;%&quot;&lt;br /&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #4d4d4d; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 13.5pt;&quot;&gt;Toutes ces formules utilisent des champs de l’objet dans un case afin d’afficher la bonne image en fonction de la valeur du champ.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; margin-bottom: 0.0001pt; text-align: -webkit-auto; text-indent: 0px;&quot;&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;A vos formules ;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #4d4d4d; font-family: Verdana, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;source : &lt;a href=&quot;http://www.salesforce.com/community/assets/docs/Sample_Image_Formula_Fields_Customization_Guide.pdf&quot; target=&quot;_blank&quot;&gt;Image Formula Fields Customization Guide&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/1445528245425754875/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://natwelve.blogspot.com/2012/03/utilisation-des-formules-pour-gerer-nos.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/1445528245425754875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/1445528245425754875'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/2012/03/utilisation-des-formules-pour-gerer-nos.html' title='Utilisation des Formules pour gérer nos images'/><author><name>Cédric Braconnier</name><uri>http://www.blogger.com/profile/07745929645617531047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-1t2woZOJHG8/T2mTzgeU2UI/AAAAAAAAHRM/7FppxdeJSWM/s1600/AIbEiAIAAABDCPGelv_Ug7uVCyILdmNhcmRfcGhvdG8qKDliNjA2NGE4ZTQ3NzcwMWZhODA0M2Y3YmJhNjZjZDcyNjljM2I0OWUwAWAtMHXLuBVHJ8rayZ2-wk0O5lnK%253Fsz%253D100'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-Aelt1IBP-wg/T3X6shuEe3I/AAAAAAAAHSo/syIfjZr9PHc/s72-c/flag.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-277745491973931418.post-8484974081091135883</id><published>2012-03-27T08:01:00.000+02:00</published><updated>2012-03-31T14:18:32.716+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="APEX"/><category scheme="http://www.blogger.com/atom/ns#" term="Query"/><category scheme="http://www.blogger.com/atom/ns#" term="relationships"/><category scheme="http://www.blogger.com/atom/ns#" term="Salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="SELECT"/><category scheme="http://www.blogger.com/atom/ns#" term="SOQL"/><title type='text'>La puissance des requêtes SOQL</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Le langage SOQL ou Salesforce Object Querying Language permet d&#39;interroger la base de données de Force.com via des requêtes qui ne sont pas sans rappeler les requêtes SQL.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;color: #999999; font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;





&lt;span style=&quot;font-size: large;&quot;&gt;Le petit frère de SQL ? &lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Nous allons noter quelques différences majeures entre les langages SOQL et SQL :&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Tout d&#39;abord, il est impossible de sélectionner tous les champs d&#39;une table en utilisant l&#39;opérateur &quot; * &quot;. Vous ne verrez donc jamais cette requête :&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: justify;&quot;&gt;
[&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt; * &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;FROM&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Account&lt;/span&gt;];&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Ensuite, le langage SOQL ne peut être utilisé que pour extraire des données de la base de données, soit avec le mot-clé &quot;&lt;b&gt;SELECT&lt;/b&gt;&quot;. Pour tout ce qui est CRUD, il faudra alors se tourner vers les instructions DML que nous aborderons dans un prochain article.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Adieu CONCAT, UPPER, DATEDIF ou autre opérateur &quot;+&quot;... Hélas, SOQL est très pauvre en fonction et opérateurs. Et ne comptez pas utiliser des alias non plus. &lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
On peut toutefois bénéficier des opérateurs suivants :&lt;/div&gt;
&lt;ul style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;li&gt;&lt;b&gt;=&lt;/b&gt;,&lt;b&gt; &amp;lt;&lt;/b&gt;, &lt;b&gt;≤&lt;/b&gt;,&lt;b&gt; &amp;gt; &lt;/b&gt;et&lt;b&gt; ≥&lt;/b&gt; pour comparer nombres et dates&lt;/li&gt;
&lt;li&gt;&lt;b&gt;=&lt;/b&gt;, &lt;b&gt;LIKE&lt;/b&gt; (et son meilleur ami &quot;&lt;b&gt;%&lt;/b&gt;&quot;) pour comparer des chaînes de caractère&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Il est important de noter qu&#39;il est impossible de comparer deux champs entre eux dans une requête. La comparaison doit obligatoirement se faire entre un champ et une constante. Vous ne verrez donc jamais une requête de ce genre :&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;[&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt; Subject&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Event&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;WHERE&lt;/b&gt; EndDatetime &amp;gt; StartDatetime + 10];&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Attendez ! Je vous vois venir... Vous allez me dire que cet article s&#39;intitule &quot;La puissance des requêtes SOQL&quot; alors que jusqu&#39;à maintenant ce que nous avons vu fait plus penser à de l&#39;impuissance. Mais SOQL c&#39;est aussi la capacité à extraire des données des tables parents et enfants en toute simplicité.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;color: #999999; font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;





&lt;span style=&quot;font-size: large;&quot;&gt;Un langage [très] relationnel&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Les champs de types &lt;i&gt;Lookup&lt;/i&gt; ou &lt;i&gt;Master-detail&lt;/i&gt; permettent d&#39;avoir des relations 1-n entre les tables de la base de données. Un exemple est le lien entre les tables Compte et Opportunité.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Comme c&#39;est la référence du compte qui est stockée dans un champ de l&#39;opportunité, nous disons que la table Compte est une table parent de la table Opportunité et, inversement, la table Opportunité est une table enfant de la table Compte.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
En SQL, nous parlons de jointure droite ou jointure gauche.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #999999; font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;h4&gt;




&lt;span style=&quot;font-size: large;&quot;&gt;Relation avec une table parent&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;b&gt;Jointure externe droite&lt;/b&gt;&lt;br /&gt;
Ce type de jointure permet d&#39;extraire des données d&#39;une table parent.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Exemple :&lt;span style=&quot;background-color: white; color: black; display: inline !important; float: none; font-family: monospace; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;background-color: #f9f9f9; color: black; display: inline !important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name, Position__r.Department__c &lt;b style=&quot;color: #741b47;&quot;&gt;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Job_Application__c&lt;span style=&quot;color: black;&quot;&gt;]; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Jointure interne droite&lt;/b&gt;&lt;br /&gt;
Cette jointure rajoute un filtre supplémentaire sur le résultat de la requête. Il faut que chaque enregistrement soit rattaché à un enregistrement parent. &lt;br /&gt;
&lt;br /&gt;
Exemple : &lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Job_Application__c&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;WHERE&lt;/b&gt; Position__r.Department__c=&lt;span style=&quot;background-color: #f3f3f3; color: #38761d;&quot;&gt;‘Sales’&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Anti-jointure droite&lt;/b&gt;&lt;br /&gt;
L&#39;anti-jointure permet de ne pas extraire les éléments pour lesquels un enregistrement parent existe.&lt;br /&gt;
&lt;br /&gt;
Exemple :&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name &lt;b style=&quot;color: #741b47;&quot;&gt;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Job_Application__c&lt;/span&gt; &lt;b style=&quot;color: #741b47;&quot;&gt;WHERE&lt;/b&gt; Position__c = &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;null&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;&lt;/span&gt;&lt;code&gt; &lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;u&gt;Attention&lt;/u&gt; : Salesforce impose une limite de 25 relations vers des champs de tables parent.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;h4&gt;




&lt;span style=&quot;color: #999999; font-size: large;&quot;&gt;Relation avec une table enfant&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;b&gt;Jointure externe gauche&lt;/b&gt;&lt;br /&gt;
Ce type de jointure permet d&#39;extraire des données d&#39;une table enfant.&lt;br /&gt;
&lt;br /&gt;
Exemple :&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name, (&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name &lt;b style=&quot;color: #741b47;&quot;&gt;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Job_Applications__r&lt;/span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Position__c&lt;span style=&quot;color: black;&quot;&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Jointure interne gauche&lt;/b&gt;&lt;br /&gt;
Cette jointure rajoute un filtre supplémentaire sur le résultat de la requête. Il faut que chaque enregistrement possède des enregistrements enfant&lt;br /&gt;
&lt;br /&gt;
Exemple :&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Position__c&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;WHERE&lt;/b&gt; Id &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;IN&lt;/span&gt;&lt;/b&gt; (&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Position__c &lt;b style=&quot;color: #741b47;&quot;&gt;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Job_Application__c&lt;/span&gt;)];&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; color: grey; font-family: Arial,Helvetica,Verdana,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0.4em 0px 0.5em; orphans: 2; outline-width: 0px; padding: 0px; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&amp;nbsp; &lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;b&gt;Anti-jointure gauche&lt;/b&gt;&lt;br /&gt;
L&#39;anti-jointure permet de ne pas extraire les éléments pour lesquels il n&#39;y a pas d&#39;enregistrement enfant.&lt;br /&gt;
&lt;br /&gt;
Exemple :&amp;nbsp;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Position__c&lt;/span&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;WHERE&lt;/b&gt; Id &lt;b style=&quot;color: #741b47;&quot;&gt;NOT&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;IN&lt;/span&gt;&lt;/b&gt; (&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Position__c &lt;b style=&quot;color: #741b47;&quot;&gt;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Job_Application__c&lt;/span&gt;)];&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;u&gt;Attention&lt;/u&gt; : Le nombre de tables enfant extraites est de 20 maximum par requête. Il est possible d&#39;utiliser d&#39;autres requêtes SOQL pour extraire les tables enfant restante, en faisant attention à la limite « &lt;a href=&quot;http://natwelve.blogspot.fr/2012/03/les-requetes-bulkees-ou-comment.html&quot; target=&quot;_blank&quot;&gt;Too many SOQL Queries&lt;/a&gt; ».&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
Le langage SOQL c&#39;est tout ça, et bien plus encore grâce aux résultats globaux offrant &lt;i&gt;COUNT&lt;/i&gt;, &lt;i&gt;GROUP BY&lt;/i&gt; et autre &lt;i&gt;HAVING&lt;/i&gt;, mais aussi grâce aux requêtes dynamiques et la généricité qu&#39;elles apportent.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;u&gt;source&lt;/u&gt;: &lt;a href=&quot;http://wiki.developerforce.com/page/A_Deeper_look_at_SOQL_and_Relationship_Queries_on_Force.com&quot; target=&quot;_blank&quot;&gt;A Deeper look at SOQL and Relationship Queries on Force.com&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;mw-headline&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/8484974081091135883/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://natwelve.blogspot.com/2012/03/la-puissance-des-requetes-soql.html#comment-form' title='1 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/8484974081091135883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/8484974081091135883'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/2012/03/la-puissance-des-requetes-soql.html' title='La puissance des requêtes SOQL'/><author><name>Yannick Galatol</name><uri>http://www.blogger.com/profile/12870404671184814774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjmohwKmfpdHB0LHaYHg1-JH48GYxQw8kJdSfKQC_XqvMGxHOc25ebRiR6UwiV2Vadxx2LGob3u7PtQumojzbJPTzU8fBJHiR-Z4AlPDbzN5xoNmHoSbOYl0aF5yEKK8/s1600/photo%3FmemberId%3D0022222klrfl6cw6%26type%3D0%26ts%3D1320443972000'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-277745491973931418.post-7436762362895388319</id><published>2012-03-26T07:49:00.001+02:00</published><updated>2012-03-31T14:20:02.713+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="VisualForce"/><title type='text'>Mémo sur les composants VisualForce</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;Vous trouverez ci-dessous la liste des composants utilisables dans une page VisualForce classés par ordre&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;alphabétique&lt;/span&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;. Chaque lien renvoie vers le guide en ligne APEX.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#A&quot;&gt;A&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#B&quot;&gt;B&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#C&quot;&gt;C&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#D&quot;&gt;D&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#E&quot;&gt;E&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#F&quot;&gt;F&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#I&quot;&gt;I&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#L&quot;&gt;L&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#M&quot;&gt;M&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#O&quot;&gt;O&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#P&quot;&gt;P&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#R&quot;&gt;R&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#S&quot;&gt;S&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#T&quot;&gt;T&lt;/a&gt; - &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=277745491973931418#V&quot;&gt;V&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;A&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- A -&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:actionFunction&quot;&gt;apex:actionFunction&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionPoller.htm&quot; target=&quot;_blank&quot; title=&quot;apex:actionPoller&quot;&gt;apex:actionPoller&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionRegion.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:actionRegion&quot;&gt;apex:actionRegion&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionStatus.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:actionStatus&quot;&gt;apex:actionStatus&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionSupport.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:actionSupport&quot;&gt;apex:actionSupport&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_attribute.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:attribute&quot;&gt;apex:attribute&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_axis.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:axis&quot;&gt;apex:axis&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;B&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- B -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_barSeries.htm&quot; target=&quot;_blank&quot; title=&quot;    apex:barSeries   &quot;&gt;apex:barSeries&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;C&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- C -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_chart.htm&quot; target=&quot;_blank&quot; title=&quot;    apex:chart   &quot;&gt;apex:chart&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_chartLabel.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;    apex:chartLabel   &quot;&gt;apex:chartLabel&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_chartTips.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:chartTips&quot;&gt;apex:chartTips&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_column.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:column&quot;&gt;apex:column&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_commandButton.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:commandButton&quot;&gt;apex:commandButton&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_commandLink.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:commandLink&quot;&gt;apex:commandLink&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_component.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:component&quot;&gt;apex:component&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_componentBody.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:componentBody&quot;&gt;apex:componentBody&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_composition.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:composition&quot;&gt;apex:composition&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;D&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- D -&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_dataList.htm&quot; target=&quot;_blank&quot; title=&quot;apex:dataList&quot;&gt;apex:dataList&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_dataTable.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:dataTable&quot;&gt;apex:dataTable&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_define.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:define&quot;&gt;apex:define&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_detail.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:detail&quot;&gt;apex:detail&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_dynamicComponent.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:dynamicComponent&quot;&gt;apex:dynamicComponent&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;E&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- E -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_enhancedList.htm&quot; target=&quot;_blank&quot; title=&quot;apex:enhancedList&quot;&gt;apex:enhancedList&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;F&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- F -&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_facet.htm&quot; target=&quot;_blank&quot; title=&quot;apex:facet&quot;&gt;apex:facet&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_flash.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:flash&quot;&gt;apex:flash&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_form.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:form&quot;&gt;apex:form&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;I&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- I -&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_iframe.htm&quot; target=&quot;_blank&quot; title=&quot;apex:iframe&quot;&gt;apex:iframe&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_image.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:image&quot;&gt;apex:image&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_include.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:include&quot;&gt;apex:include&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_includeScript.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:includeScript&quot;&gt;apex:includeScript&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inlineEditSupport.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:inlineEditSupport&quot;&gt;apex:inlineEditSupport&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputCheckbox.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:inputCheckbox&quot;&gt;apex:inputCheckbox&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputField.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;    apex:inputField   &quot;&gt;apex:inputField&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputFile.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:inputFile&quot;&gt;apex:inputFile&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputHidden.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:inputHidden&quot;&gt;apex:inputHidden&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputSecret.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:inputSecret&quot;&gt;apex:inputSecret&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputText.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:inputText&quot;&gt;apex:inputText&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputTextarea.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:inputTextarea&quot;&gt;apex:inputTextarea&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_insert.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:insert&quot;&gt;apex:insert&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;L&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- L -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_legend.htm&quot; target=&quot;_blank&quot; title=&quot;apex:legend&quot;&gt;apex:legend&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_lineSeries.htm&quot; target=&quot;_blank&quot; title=&quot;apex:lineSeries&quot;&gt;apex:lineSeries&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_listViews.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:listViews&quot;&gt;apex:listViews&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;M&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- M -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm&quot; target=&quot;_blank&quot; title=&quot;apex:message&quot;&gt;apex:message&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm&quot; target=&quot;_blank&quot; title=&quot;apex:messages&quot;&gt;apex:messages&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;O&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- O -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputField.htm&quot; target=&quot;_blank&quot; title=&quot;apex:outputField&quot;&gt;apex:outputField&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputLabel.htm&quot; target=&quot;_blank&quot; title=&quot;apex:outputLabel&quot;&gt;apex:outputLabel&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputLink.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:outputLink&quot;&gt;apex:outputLink&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputPanel.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:outputPanel&quot;&gt;apex:outputPanel&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputText.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:outputText&quot;&gt;apex:outputText&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;P&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- P -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_page.htm&quot; target=&quot;_blank&quot; title=&quot;apex:page&quot;&gt;apex:page&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlock.htm&quot; target=&quot;_blank&quot; title=&quot;apex:pageBlock&quot;&gt;apex:pageBlock&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockButtons.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:pageBlockButtons&quot;&gt;apex:pageBlockButtons&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockSection.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:pageBlockSection&quot;&gt;apex:pageBlockSection&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockSectionItem.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:pageBlockSectionItem&quot;&gt;apex:pageBlockSectionItem&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockTable.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:pageBlockTable&quot;&gt;apex:pageBlockTable&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:pageMessage&quot;&gt;apex:pageMessage&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:pageMessages&quot;&gt;apex:pageMessages&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_panelBar.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:panelBar&quot;&gt;apex:panelBar&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_panelBarItem.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:panelBarItem&quot;&gt;apex:panelBarItem&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_panelGrid.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:panelGrid&quot;&gt;apex:panelGrid&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_panelGroup.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:panelGroup&quot;&gt;apex:panelGroup&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_param.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:param&quot;&gt;apex:param&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pieSeries.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:pieSeries&quot;&gt;apex:pieSeries&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;R&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- R -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_relatedList.htm&quot; target=&quot;_blank&quot; title=&quot;apex:relatedList&quot;&gt;apex:relatedList&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_repeat.htm&quot; target=&quot;_blank&quot; title=&quot;apex:repeat&quot;&gt;apex:repeat&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;S&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- S -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_scontrol.htm&quot; target=&quot;_blank&quot; title=&quot;apex:scontrol&quot;&gt;apex:scontrol&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_sectionHeader.htm&quot; target=&quot;_blank&quot; title=&quot;apex:sectionHeader&quot;&gt;apex:sectionHeader&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectCheckboxes.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:selectCheckboxes&quot;&gt;apex:selectCheckboxes&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectList.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:selectList&quot;&gt;apex:selectList&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectOption.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:selectOption&quot;&gt;apex:selectOption&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectOptions.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:selectOptions&quot;&gt;apex:selectOptions&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectRadio.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:selectRadio&quot;&gt;apex:selectRadio&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_stylesheet.htm&quot; style=&quot;background-color: white; font-family: Arial, sans-serif;&quot; target=&quot;_blank&quot; title=&quot;apex:stylesheet&quot;&gt;apex:stylesheet&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;T&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- T -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_tab.htm&quot; target=&quot;_blank&quot; title=&quot;apex:tab&quot;&gt;apex:tab&lt;/a&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_tabPanel.htm&quot; target=&quot;_blank&quot; title=&quot;apex:tabPanel&quot;&gt;apex:tabPanel&lt;/a&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_toolbar.htm&quot; style=&quot;background-color: white;&quot; target=&quot;_blank&quot; title=&quot;apex:toolbar&quot;&gt;apex:toolbar&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial, Helvetica, sans-serif; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_toolbarGroup.htm&quot; style=&quot;background-color: white;&quot; target=&quot;_blank&quot; title=&quot;apex:toolbarGroup&quot;&gt;apex:toolbarGroup&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span id=&quot;V&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- V -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_variable.htm&quot; target=&quot;_blank&quot; title=&quot;apex:variable&quot;&gt;apex:variable&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_vote.htm&quot; target=&quot;_blank&quot; title=&quot;apex:vote&quot;&gt;apex:vote&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;u&gt;source&lt;/u&gt; : &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#CSHID=pages_compref.htm|StartTopic=Content%2Fpages_compref.htm|SkinName=webhelp&quot; target=&quot;_blank&quot;&gt;Standard Component Reference&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/7436762362895388319/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://natwelve.blogspot.com/2012/03/memo-sur-les-composants-visualforce.html#comment-form' title='1 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/7436762362895388319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/7436762362895388319'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/2012/03/memo-sur-les-composants-visualforce.html' title='Mémo sur les composants VisualForce'/><author><name>Yannick Galatol</name><uri>http://www.blogger.com/profile/12870404671184814774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjmohwKmfpdHB0LHaYHg1-JH48GYxQw8kJdSfKQC_XqvMGxHOc25ebRiR6UwiV2Vadxx2LGob3u7PtQumojzbJPTzU8fBJHiR-Z4AlPDbzN5xoNmHoSbOYl0aF5yEKK8/s1600/photo%3FmemberId%3D0022222klrfl6cw6%26type%3D0%26ts%3D1320443972000'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-277745491973931418.post-5915477384646989900</id><published>2012-03-22T20:58:00.000+01:00</published><updated>2012-04-04T10:13:54.432+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="actionStatus"/><category scheme="http://www.blogger.com/atom/ns#" term="reRender"/><category scheme="http://www.blogger.com/atom/ns#" term="Salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="VisualForce"/><title type='text'>Ajax pour VisualForce via l&#39;attribut reRender</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Vous connaissez&amp;nbsp;certainement&amp;nbsp;le principe de l&#39;ajax (&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Lucida, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;Asynchronous JavaScript + XML&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Lucida, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Lucida, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;, cette technologie permet&amp;nbsp;d’interroger des&amp;nbsp;scripts sur le serveur Web de manière asynchrone. Ceci permet d&#39;éviter de&amp;nbsp;recharger la page pour&amp;nbsp;rafraîchir&amp;nbsp;uniquement les parties que l&#39;on a besoin.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Nous gagnons en ergonomie et en confort d&#39;utilisation, mais aussi cela permet de réduire les temps de traitement.&lt;/span&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 21px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #6fa8dc; font-family: Arial, sans-serif; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; color: #999999; font-family: Arial, sans-serif; font-size: 16pt;&quot;&gt;Et sans Ajax?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Chaque fois qu&#39;une action est appelée, toute la page est&amp;nbsp;rafraîchie.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Par exemple, si on souhaite filtrer la liste des villes en fonction de la selection faite sur la liste des pays, nous sommes obligés de recharger toute la page. Nous devons également passer en&amp;nbsp;paramètre&amp;nbsp;la&amp;nbsp;sélection&amp;nbsp;du pays pour l&#39;initialiser au retour de la&amp;nbsp;requête.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-9ujyjcH390k/T29hj4wvZJI/AAAAAAAAHSg/jjUxHURAGdA/s1600/03.png&quot; /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Avec Ajax, nous passons le pays sélectionné en paramètre, puis le serveur nous retourne uniquement la liste des villes&amp;nbsp;correspondantes, du coté du javascript, nous avons juste à traiter la réponse pour modifier le contenu de la liste des villes.&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #666666; font-family: Arial, sans-serif; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #999999;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 16pt;&quot;&gt;L&#39;attribut reRender ?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Dans une page visualForce, nous pouvons utiliser l&#39;ajax grâce&amp;nbsp;à l&#39;attribut reRender. Cet attribut s&#39;applique aux composants en&amp;nbsp;interaction avec l&#39;utilisateur par exemple :&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&amp;lt;apex:commandLink&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&amp;lt;apex:actionSupport&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&amp;lt;apex:commandButton&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&amp;lt;apex:actionFunction&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;...&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: #999999; font-size: large;&quot;&gt;Comment l&#39;utiliser ?&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Voici un exemple de code qui montre
l&#39;attribut Rerender en action.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f3f3f3; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:page&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:form&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:pageBlock&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&lt;/span&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; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:commandButton&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: #7f007f;&quot;&gt;value&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;Cliquer
ici!&quot;&lt;/span&gt;&lt;/i&gt; &lt;span style=&quot;color: #7f007f;&quot;&gt;reRender&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;time&quot;&lt;/span&gt;&lt;/i&gt;
&lt;span style=&quot;color: #7f007f;&quot;&gt;status&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;refreshstatus&quot;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f;&quot;&gt;apex:commandButton&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&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;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:outputpanel&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: #7f007f;&quot;&gt;id&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;time&quot;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&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; &lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:outputtext&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: #7f007f;&quot;&gt;value&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;{!NOW()}&quot;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: teal;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:outputpanel&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:actionStatus&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: #7f007f;&quot;&gt;startstyle&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;color:red;&quot;&lt;/span&gt;&lt;/i&gt;
&lt;span style=&quot;color: #7f007f;&quot;&gt;id&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;refreshstatus&quot;&lt;/span&gt;&lt;/i&gt; &lt;span style=&quot;color: #7f007f;&quot;&gt;startText&lt;/span&gt;=&lt;i&gt;&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;Mise à jour de la date....&quot;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f;&quot;&gt;apex:actionStatus&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:pageBlock&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt;&quot;&gt;apex:form&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #3f7f7f; font-family: Consolas; font-size: 10pt; line-height: 115%;&quot;&gt;apex:page&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Voici le résultat :&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-Tk5NwVvmccA/T24Cc40S7cI/AAAAAAAAHSQ/fthnwK7q4Mc/s1600/01.PNG&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Et quand on clique sur le bouton, la date est mise à jour sans recharger la page.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;51&quot; src=&quot;http://2.bp.blogspot.com/-FLrXB4TO7qE/T24HuDaRjXI/AAAAAAAAHSY/LQNAY5Wuc60/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;En fait, c&#39;est uniquement &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;l&#39;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #45818e; font-family: Verdana, sans-serif;&quot;&gt;outputpanel&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;qui
a pour id &quot;&lt;b&gt;&lt;i&gt;date&lt;/i&gt;&lt;/b&gt;&quot; qui va être&amp;nbsp;rafraîchi. Vous pouvez voir que l&#39;attribut reRender du commandButton est égal à cet id.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Sinon, vous avez surement remarqué le message en rouge sur la capture d&#39;écran, c&#39;est le message qui est affiché pendant le chargement : une sorte d&#39;Ajax Loader. Pour cela, il faut utiliser le composant &lt;b&gt;&amp;lt;apex:actionStatus&amp;gt;&lt;/b&gt; et renseigner l&#39;attribut &lt;i&gt;status&lt;/i&gt; du&amp;nbsp;bouton&amp;nbsp;avec son id.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Un autre avantage du reRender est la possibilité de recharger uniquement notre page sans recharger la &lt;i&gt;sidebar&lt;/i&gt; ni le menu.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: #999999; font-size: large;&quot;&gt;Le multi-reRender ?&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Nous pouvons&amp;nbsp;également&amp;nbsp;renseigner plusieurs ids dans l&#39;attribut reRender. Cela signifie que tous les composants dont l&#39;id est renseigné vont être&amp;nbsp;rafraîchis.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;source&lt;/u&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;http://www.forcetree.com/2009/10/rerender-and-actionsupport-simple.html&quot; target=&quot;_blank&quot;&gt;Rerender and actionsupport&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/5915477384646989900/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://natwelve.blogspot.com/2012/03/lattribut-rerender-dune-page.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/5915477384646989900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/5915477384646989900'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/2012/03/lattribut-rerender-dune-page.html' title='Ajax pour VisualForce via l&#39;attribut reRender'/><author><name>Cédric Braconnier</name><uri>http://www.blogger.com/profile/07745929645617531047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-1t2woZOJHG8/T2mTzgeU2UI/AAAAAAAAHRM/7FppxdeJSWM/s1600/AIbEiAIAAABDCPGelv_Ug7uVCyILdmNhcmRfcGhvdG8qKDliNjA2NGE4ZTQ3NzcwMWZhODA0M2Y3YmJhNjZjZDcyNjljM2I0OWUwAWAtMHXLuBVHJ8rayZ2-wk0O5lnK%253Fsz%253D100'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-9ujyjcH390k/T29hj4wvZJI/AAAAAAAAHSg/jjUxHURAGdA/s72-c/03.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-277745491973931418.post-5494286018964334159</id><published>2012-03-21T23:37:00.001+01:00</published><updated>2012-03-26T09:27:51.756+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="APEX"/><category scheme="http://www.blogger.com/atom/ns#" term="Limits"/><category scheme="http://www.blogger.com/atom/ns#" term="Salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="SOQL"/><title type='text'>Les requêtes bulkées ou comment échapper au &quot;Too many SOQL queries&quot;</title><content type='html'>&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Elle laisse les novices dubitatifs et fait pleurer les plus expérimentés... Il s&#39;agit de l&#39;exception : &lt;b style=&quot;color: red;&quot;&gt;Too many SOQL queries&lt;/b&gt; !&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #999999; font-size: large;&quot;&gt;Qu&#39;est ce c&#39;est ?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Tout développeur Force.com qui a quelques heures de travail derrière lui, a déjà dû être confronté à &lt;strike&gt;ce fléau&lt;/strike&gt; cette erreur au moins une fois.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Elle fait référence à la limite&amp;nbsp; &quot;Total number of SOQL queries issued&quot; fixée à 100 par Salesforce (voir &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm&quot; target=&quot;_blank&quot;&gt;Apex Governor Limits&lt;/a&gt;) qui empêche l&#39;exécution d&#39;un trop grand nombre de requêtes SOQL.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #999999; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Pourquoi ? &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Comptent pour une requête SOQL :&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Chaque appel via l&#39;instruction &lt;b&gt;SELECT&lt;/b&gt; et ce peu importe sa complexité (champs enfants ou parents). Exemple :&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;div style=&quot;color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Account&lt;/span&gt; myAccount = [&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt; Name &lt;b style=&quot;color: #741b47;&quot;&gt;FROM &lt;/b&gt;Account &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;LIMIT&lt;/span&gt;&lt;/b&gt; 1];&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Chaque appel dynamique via la méthode &lt;i&gt;Database.query()&lt;/i&gt;. Exemple :&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;div style=&quot;color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Account&lt;/span&gt; myAccount = (&lt;span style=&quot;color: #0b5394;&quot;&gt;Account&lt;/span&gt;) Database.query(&lt;span style=&quot;color: #6aa84f;&quot;&gt;&#39;SELECT Name &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;FROM &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;Account &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;LIM&lt;span style=&quot;color: #93c47d;&quot;&gt;IT&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #93c47d;&quot;&gt; 1&#39;&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;L&#39;enjeu est donc de limiter ces appels dans le code. C&#39;est d&#39;autant plus vrai pour les triggers que pour les classes APEX car les requêtes contenues dans un trigger seront appelées autant de fois que celui-ci est déclenché.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #999999; font-size: large;&quot;&gt;Comment résoudre le problème ?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Il n&#39;y a pas de solution miracle. Seul un code plus propre et plus respectueux des bonnes pratiques prônées par Salesforce permettra d&#39;éviter d&#39;atteindre la limite.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Parmi les bonnes pratiques, on peut retenir &lt;a href=&quot;http://wiki.developerforce.com/page/Best_Practice:_Avoid_SOQL_Queries_Inside_FOR_Loops&quot; target=&quot;_blank&quot;&gt;celle-ci&lt;/a&gt; (qui dépannera dans 99% des cas). Cette « Best Practice » conseille de ne pas envoyer de requêtes SOQL à l&#39;intérieur d&#39;une boucle (for ou while) mais plutôt de « bulker » (grouper) les requêtes en une seule.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Exemple :&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Nous voulons lister les noms des contacts qui sont rattachés à un compte.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;List&amp;lt;String&amp;gt; contactNames = &lt;b style=&quot;color: #741b47;&quot;&gt;new&lt;/b&gt; List&amp;lt;String&amp;gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;for&lt;/span&gt;&lt;/b&gt; (&lt;span style=&quot;color: blue;&quot;&gt;Account&lt;/span&gt; a : [&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt; Id &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;FROM&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Account&lt;/span&gt;]) {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;for&lt;/b&gt; (&lt;span style=&quot;color: blue;&quot;&gt;Contact&lt;/span&gt; c : &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt; Name &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;FROM&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Contact&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;WHERE&lt;/span&gt;&lt;/b&gt; AccountId=:a.Id]) {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;contactNames.add(c.Name);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Le code ci-dessus soulèvera une exception SOQL si nous avons plus de 100 comptes dans le CRM.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Ceci peut être évité si nous utilisons plutôt le code qui suit.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Set&amp;lt;Id&amp;gt; accountIds = &lt;b style=&quot;color: #741b47;&quot;&gt;new&lt;/b&gt; Set&amp;lt;Id&amp;gt;();&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;for&lt;/span&gt;&lt;/b&gt; (&lt;span style=&quot;color: blue;&quot;&gt;Account&lt;/span&gt; a : [&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/span&gt;&lt;/b&gt; Id &lt;b style=&quot;color: #741b47;&quot;&gt;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Account&lt;/span&gt;]) {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;accountIds.add(a.Id);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;List&amp;lt;String&amp;gt; contactNames = &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;new&lt;/span&gt;&lt;/b&gt; List&amp;lt;String&amp;gt;();&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;for&lt;/span&gt;&lt;/b&gt; (&lt;span style=&quot;color: blue;&quot;&gt;Contact&lt;/span&gt; c : [&lt;b style=&quot;color: #741b47;&quot;&gt;SELECT&lt;/b&gt; Name &lt;b style=&quot;color: #741b47;&quot;&gt;FROM&lt;/b&gt; &lt;span style=&quot;color: blue;&quot;&gt;Contact&lt;/span&gt; &lt;b style=&quot;color: #741b47;&quot;&gt;WHERE&lt;/b&gt; AccountId &lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;IN&lt;/span&gt;&lt;/b&gt; :accountIds]&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;) {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;contactNames.add(c.Name);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f3f3f3; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Si on gagne en lignes de codes, on gagne surtout en requêtes SOQL car on comptabilise maintenant 2 requêtes seulement et ce, indépendamment du nombre de comptes récupérés par la première requête.&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Le code peut être encore amélioré en exploitant entièrement la puissance des requêtes SOQL, cela n&#39;est pas le but de cet article mais fera sûrement l&#39;objet d&#39;un nouveau.&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/5494286018964334159/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://natwelve.blogspot.com/2012/03/les-requetes-bulkees-ou-comment.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/5494286018964334159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/5494286018964334159'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/2012/03/les-requetes-bulkees-ou-comment.html' title='Les requêtes bulkées ou comment échapper au &quot;Too many SOQL queries&quot;'/><author><name>Yannick Galatol</name><uri>http://www.blogger.com/profile/12870404671184814774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjmohwKmfpdHB0LHaYHg1-JH48GYxQw8kJdSfKQC_XqvMGxHOc25ebRiR6UwiV2Vadxx2LGob3u7PtQumojzbJPTzU8fBJHiR-Z4AlPDbzN5xoNmHoSbOYl0aF5yEKK8/s1600/photo%3FmemberId%3D0022222klrfl6cw6%26type%3D0%26ts%3D1320443972000'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-277745491973931418.post-2251272240951283540</id><published>2012-03-21T14:29:00.004+01:00</published><updated>2012-03-21T14:56:55.339+01:00</updated><title type='text'>Le blog naTwelve ouvre ses portes</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGRpwONlH81BmLLxbJwIcTJNl1HFfyaXpZstmd_Sm6_za48gqJTYLKNzbBijL5lLVLxiHuk74RHjFVUZgfJbgaspBpMlEy3TYX13oqAHcPNc0YpeLB-kkI06UaJMsmDdEH-KCRkaUitIc/s320/bienvenue_cloud.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
L&#39;équipe de naTwelve vous souhaite la bienvenue sur leur blog.&lt;br /&gt;
&lt;br /&gt;
Vous êtes développeur, partenaire Salesforce ou simplement curieux ? Les collaborateurs de NaTwelve partageront régulièrement leurs astuces, leurs expériences et les&amp;nbsp;évènements&amp;nbsp;qui ont attiré leur attention.&lt;br /&gt;
&lt;br /&gt;
Les remarques et les améliorations sont elles aussi les bienvenues.&lt;br /&gt;
&lt;br /&gt;
Bonne lecture à tous !</content><link rel='replies' type='application/atom+xml' href='http://natwelve.blogspot.com/feeds/2251272240951283540/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://natwelve.blogspot.com/2012/03/le-blog-natwelve-ouvre-ses-portes.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/2251272240951283540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/277745491973931418/posts/default/2251272240951283540'/><link rel='alternate' type='text/html' href='http://natwelve.blogspot.com/2012/03/le-blog-natwelve-ouvre-ses-portes.html' title='Le blog naTwelve ouvre ses portes'/><author><name>Yannick Galatol</name><uri>http://www.blogger.com/profile/12870404671184814774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjmohwKmfpdHB0LHaYHg1-JH48GYxQw8kJdSfKQC_XqvMGxHOc25ebRiR6UwiV2Vadxx2LGob3u7PtQumojzbJPTzU8fBJHiR-Z4AlPDbzN5xoNmHoSbOYl0aF5yEKK8/s1600/photo%3FmemberId%3D0022222klrfl6cw6%26type%3D0%26ts%3D1320443972000'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGRpwONlH81BmLLxbJwIcTJNl1HFfyaXpZstmd_Sm6_za48gqJTYLKNzbBijL5lLVLxiHuk74RHjFVUZgfJbgaspBpMlEy3TYX13oqAHcPNc0YpeLB-kkI06UaJMsmDdEH-KCRkaUitIc/s72-c/bienvenue_cloud.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>