<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>French SharePoint GBS Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:59:45 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Issue when creating new “Report Data Source”, “Report Builder Report” or “Report Builder Model”</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/issue-when-creating-new-report-data-source-report-builder-report-or-report-builder-model</link>
      <pubDate>Fri, 10 Jun 2016 12:07:21 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/?p=316</guid>
      <description><![CDATA[If after installing the Reporting Services 2012 Add-in on a SharePoint Server 2013 Farm, you get the...]]></description>
      <content:encoded><![CDATA[If after installing the Reporting Services 2012 Add-in on a SharePoint Server 2013 Farm, you get the following message when you try to create a new “Report Data Source”, “Report Builder Report” or “Report Builder Model”:

<span style="color: #ff0000"><em>‘New Document’ requires a Microsoft SharePoint Foundation-compatible application and web browser. To add a document to this document library, click the ‘Upload Document’ button.</em></span>

This issue is related to the property “RequireClientRenderingOnNew” that is not set to the correct value for the Content Types “Report Data Source”, “Report Builder Report”, “Report Builder Model”.

By default, the value of the property “RequireClientRenderingOnNew” is $false for these Content Types. It can happen that the value is switched to $true, which prevents the creation of new items based of these Content Types so we need to change it back to $false.

To roll back to the default value, the following script can be used:

$siteUrl = "<a href="https://intranet.contoso.com/">https://intranet.contoso.com</a>"

$docLibName = "Documents"

$reportingServicesCTs = "Report Data Source", "Report Builder Report", "Report Builder Model"

$spWeb = Get-SPWeb -Identity $siteUrl

foreach ($reportingServicesCT in $reportingServicesCTs)

{
<p style="padding-left: 30px">$contentType = $spWeb.ContentTypes[$reportingServicesCT]</p>
<p style="padding-left: 30px">if($contentType.RequireClientRenderingOnNew -eq $true)</p>
<p style="padding-left: 30px">{</p>
<p style="padding-left: 60px">$contentType.RequireClientRenderingOnNew = $false</p>
<p style="padding-left: 60px">$contentType.Update()</p>
<p style="padding-left: 60px">Write-Host $contentType.Name "updated (web level)" -ForegroundColor Yellow</p>
<p style="padding-left: 30px">}</p>
<p style="padding-left: 30px">else</p>
<p style="padding-left: 30px">{</p>
<p style="padding-left: 60px">Write-Host "No update needed for (web level): " $contentType.Name</p>
<p style="padding-left: 30px">}</p>
<p style="padding-left: 30px">$docLib = $spWeb.Lists[$docLibName]</p>
<p style="padding-left: 30px">$docContentType = $spWeb.ContentTypes[$reportingServicesCT]</p>
<p style="padding-left: 30px">if($docContentType.RequireClientRenderingOnNew -eq $true)</p>
<p style="padding-left: 30px">{</p>
<p style="padding-left: 60px">$docContentType.RequireClientRenderingOnNew = $false</p>
<p style="padding-left: 60px">$docContentType.Update()</p>
<p style="padding-left: 60px">Write-Host $docContentType.Name "updated (DocLib level)" -ForegroundColor Yellow</p>
<p style="padding-left: 30px">}</p>
<p style="padding-left: 30px">else</p>
<p style="padding-left: 30px">{</p>
<p style="padding-left: 60px">Write-Host "No update needed for (DocLib level): " $docContentType.Name</p>
<p style="padding-left: 30px">}</p>
}

&nbsp;

Thanks to Radu CARAIVAN for having reviewed my post.
<p style="text-align: right">Matthieu RUNTZ</p>]]></content:encoded>
    </item>
    <item>
      <title>Migration of a Content Database containing Reporting Services WebParts</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/migration-of-a-content-database-containing-reporting-services-webparts</link>
      <pubDate>Fri, 27 Nov 2015 07:59:17 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2015/11/27/migration-of-a-content-database-containing-reporting-services-webparts/</guid>
      <description><![CDATA[Reporting Services report servers can be installed in SharePoint mode and integrated with a...]]></description>
      <content:encoded><![CDATA[<p>Reporting Services report servers can be installed in SharePoint mode and integrated with a SharePoint deployment. Not all features are supported in all combinations of report server, Reporting Services add-in for SharePoint, and SharePoint Products. To find the supported combination, you can review the following TechNet article: <a href="https://msdn.microsoft.com/en-us/library/gg492257.aspx" target="_blank">https://msdn.microsoft.com/en-us/library/gg492257.aspx</a></p>
<p>I recently had to assist a customer to migrate some content databases from a SharePoint 2010 environment to a SharePoint 2013 environment.</p>
<p>The source environment:</p>
<ul>
<li>Windows Server 2008 R2</li>
<li>SharePoint Server 2010 (with Reporting Services 2008 R2 Add-in)</li>
<li>SQL Server 2008 R2</li>
<li>Reporting Services 2008 R2 (SharePoint Integrated mode)</li>
</ul>
<p>The destination environment:</p>
<ul>
<li>Windows Server 2012 R2</li>
<li>SharePoint Server 2013 (with Reporting Services 2012 Add-in)</li>
<li>SQL Server 2012</li>
<li>Reporting Services 2012 (SharePoint Integrated mode)</li>
</ul>
<p>The migration was done by using the Content Database detach/attach procedure. Before attaching the database to the new environment we executed &ldquo;Test-SPContentDatabase&rdquo; and get the following error:</p>
<p><span style="background-color:#c0c0c0;">WebPart class [ab6d9dad-e23c-ce4f-ff98-f6575a1ccf4c] (class [</span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportView</span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; erWebPart] from assembly </span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Microsoft.ReportingServices.SharePoint.UI.WebParts, </span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version=10.0.0.0, Culture=neutral, </span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PublicKeyToken=89845dcd8080cc91]) is referenced [4] times in </span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the database [WSS_Content], but is not installed on </span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the current farm. Please install any feature/solution which </span><br /><span style="background-color:#c0c0c0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contains this web part.</span></p>
<p>The Microsoft.ReportingServices.SharePoint.UI.WebParts in version=10.0.0.0 is reported as missing because this WebPart is brought by the Reporting Services 2008 R2 Add-in which is a version that is not supported on a SharePoint 2013 environment. On the destination environment, the Reporting Services 2012 Add-in was deployed and the version of the WebPart that was added to the GAC is 11.0.0.0.</p>
<p>If you ignore the warning and attach the database to the SharePoint 2013 environment, when a user access to a page containing a Reporting Service WebPart, the WebPart will not be visible and the following error will be logged in the ULS logs:</p>
<p><span style="background-color:#c0c0c0;">An unexpected error has been encountered in this Web Part.&nbsp; Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportViewerWebPart, Microsoft.ReportingServices.SharePoint.UI.WebParts, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 could not be found or it is not registered as safe</span></p>
<p>In order to allow the user to view the reports displayed via the ReportingServices WebPart, the WebPart references on the pages need to be updated in the SharePoint 2013 environment. This update consists in replacing the version 10.0.0.0 of the WebPart by the version 11.0.0.0.</p>
<p>Two options allow to do the update:</p>
<ul>
<li>On the SharePoint 2013 environment remove the old WebParts and add instances of the new version of the WebPart (then reconfigure the WebParts).</li>
<li>On the SharePoint 2010 environment, update the references of the Reporting Services WebParts to reference the version 11.0.0.0 instead of the version 10.0.0.0.</li>
</ul>
<h3>Option n&deg;1</h3>
<p>The first option consists in attaching the Content Database to the SharePoint 2013 environment (warnings are ignored), and remove the references to WebParts in version 10.0.0.0, then to add the new version of the WebParts and reapply the same configuration as for the WebPart that was removed.</p>
<p>1. Restore a SQL Server Backup of the Content Database to migrate on a test environment</p>
<p>2. On this database, execute the following query: <span style="background-color:#c0c0c0;">select * from WebParts WITH (NOLOCK) where tp_WebPartTypeId = &#39;ab6d9dad-e23c-ce4f-ff98-f6575a1ccf4c&#39;</span></p>
<p>3. For each result returned, execute the following query after updating the value of tp_PageURLID in order to find the URLs of the pages containing Reporting Service WebParts : <span style="background-color:#c0c0c0;">select * from AllDocs WITH (NOLOCK) where id = &#39;&lt;tp_PageURLID&gt;&#39;</span></p>
<p>4. Migrate the Content Database to SharePoint 2013 environment by using the database detach/attach method</p>
<p>5. On the SharePoint 2013 environment connect to all URLs identified previously. Add at the end of the URL &ldquo;?contents=1&rdquo; in order to be able to remove the old version of the WebPart, then add again the WebPart to the page, and apply the same configuration as previously, finally check the page in.</p>
<h3>Option n&deg;2</h3>
<p>The second option consists in updating the references of the Reporting Services WebParts in the SharePoint 2010 environment, then to detach/attach the Content Database to the SharePoint 2013 environment.</p>
<p>1. Installation of the SQL 2012 Reporting Services Add-in on the SharePoint 2010 environment</p>
<p>After installation of the Add-in the following elements are added to the Web.config of the Web Applications:<br />&lt;SafeControl Assembly=&quot;Microsoft.ReportingServices.SharePoint.UI.WebParts, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&quot; Namespace=&quot;Microsoft.ReportingServices.SharePoint.UI.WebParts&quot; TypeName=&quot;*&quot; Safe=&quot;True&quot; /&gt;</p>
<p>&lt;dependentAssembly xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;assemblyIdentity name=&quot;Microsoft.ReportingServices.SharePoint.UI.WebParts&quot; publicKeyToken=&quot;89845dcd8080cc91&quot; culture=&quot;neutral&quot; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bindingRedirect oldVersion=&quot;10.0.0.0&quot; newVersion=&quot;11.0.0.0&quot; /&gt;<br />&lt;/dependentAssembly&gt;</p>
<p>The dependentAssembly section allows to specify that the DLL in version 11.0.0.0 must be loaded when the version 10.0.0.0 is called.</p>
<p>2. In order to update the references to the Reporting Services WebParts in the Content Database, it is needed to do a check-out / check-in on all pages containing this WebPart. To identify the pages, you can use the same steps as described in the option n&deg;1.</p>
<p>3. Detach the database from the SharePoint 2010 environment and attach it to the SharePoint 2013 environment.</p>
<p><span style="text-decoration:underline;">&nbsp;</span></p>
<p><span style="text-decoration:underline;">Warning:</span> If in you Content Database you have multiple versions of the pages containing the Reporting Services WebPart, the Test-SPContentDatabase command will continue to display warning as the old version of the WebPart will still be referenced in the older versions.</p>
<p></p>
<p>Thanks to Dominique VIVES for having reviewed my post.</p>
<p style="margin:0px;padding:0px;text-align:right;"></p>
<p style="margin:0px;padding:0px;text-align:right;">Matthieu RUNTZ</p>]]></content:encoded>
    </item>
    <item>
      <title>How to delete a problematic External User account from a SharePoint Online site Users List?</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/how-to-delete-a-problematic-external-user-account-from-a-sharepoint-online-site-users-list</link>
      <pubDate>Wed, 17 Dec 2014 08:18:43 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/12/17/how-to-delete-a-problematic-external-user-account-from-a-sharepoint-online-site-users-list/</guid>
      <description><![CDATA[As this issue keeps showing up again and again in support requests, I thought it is worth mentioning...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Times New Roman;font-size:medium;">As this issue keeps showing up again and again in support requests, I thought it is worth mentioning here.</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">The problem is that the External User account gets, somehow,&nbsp;associated with a different UPN in the Users List of&nbsp;SharePoint Online or&nbsp;gets corrupted somehow. Either way the first thing to do is to&nbsp;find it and get rid of it so that we can recreate a health account in the Users List.</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">I had like to mention that I have seen cases where the Administrator has executed the command <strong>Get-SPOExternalUser</strong> in the Power Shell Administration console but the External User account was not found using this method.</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">The solution in this case was to look for the External User account in the Users List page:</span></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;">&lt;URL&gt;/_layouts/15/people.aspx?MembershipGroupId=0</span></strong></p>
<p><span style="font-family:Times New Roman;font-size:medium;">If the account appears listed in there, just delete it&nbsp;and then re-invite the user. This time&nbsp;around it should work.</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">I hope this works for you,&nbsp;when facing a similar problem.</span></p>
<p style="text-align:right;"><span style="font-family:Times New Roman;font-size:medium;">Helio De Andrade </span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Site Administrator is unable to change the Regional Settings of site collection</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/site-administrator-is-unable-to-change-the-regional-settings-of-site-collection</link>
      <pubDate>Wed, 17 Dec 2014 08:18:12 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/12/17/site-administrator-is-unable-to-change-the-regional-settings-of-site-collection/</guid>
      <description><![CDATA[The site Administrator is unable to change the regional settings for a site collection. Whenever he...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Times New Roman;font-size:medium;">The site Administrator is unable to change the regional settings for a site collection. Whenever he tries to do so a message appears that says something similar to the following:</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">&quot;<em>The column &quot;Workflow History Parent Instance&quot; in the list or library &quot;CreateDateExpiredTasks History&quot; has been marked for indexing. Please turn off all indexed columns before changing the collation of this site. You may re-index those columns after the collation of the site has been changed</em>.&quot;</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">Or</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">&quot;<em>The column &quot;Invitation&quot; in the list or library &quot;correlation ID number&quot; has been marked for indexing. Please turn off all indexed columns before changing the collation of this site. You may re-index those columns after the collation of the site has been changed.&quot;</em></span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">Or&nbsp;</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">&quot;<em>The site regional settings cannot be changed because one or more columns has been marked for indexing</em>&quot;.</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">&nbsp;You could try to get rid of the afore mentioned column manually but that could take hours on a medium to large site.</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">&nbsp;The best way I have found so far to be able to change the Regional Settings under this condition is to make sure the&nbsp;&quot;Sort Order&quot; option is set to &quot;General&quot;, as in this screen-shot:</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/SiteRegionalSettings.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/SiteRegionalSettings.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/SiteRegionalSettings.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/SiteRegionalSettings.png" border="0" /></a><br /></span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">I hope this help. <br /></span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">Thanks to Dominique VIVES&nbsp;for having reviewed my post.</span></p>
<p style="text-align:right;"><span style="font-family:Times New Roman;font-size:medium;">Helio De Andrade<br /></span></p>
<p><span style="font-family:Times New Roman;font-size:medium;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>How to activate Yammer enterprise in your Office 365 Tenant ?</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/how-to-activate-yammer-enterprise-in-your-office-365-tenant</link>
      <pubDate>Wed, 08 Oct 2014 09:09:29 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/10/08/how-to-activate-yammer-enterprise-in-your-office-365-tenant/</guid>
      <description><![CDATA[1. When should you activate Yammer? 


If you use Yammer Basic, the free version of Yammer, you...]]></description>
      <content:encoded><![CDATA[<h1 style="text-align:justify;margin-left:18pt;"><span style="font-size:14pt;"><strong>1. When should you activate Yammer? </strong></span></h1>
<ul>
<li>
<div style="text-align:justify;">If you use <strong><em>Yammer Basic</em></strong>, the free version of Yammer, you don&#39;t need to activate Yammer.</div>
</li>
<li>
<div style="text-align:justify;">You need to activate Yammer if you paid for <strong><em>Yammer Enterprise</em></strong> which is available online with the following plans :</div>
<ul style="margin-left:72pt;">
<li>
<div style="text-align:justify;"><strong><em>Yammer Enterprise Standalone </em></strong></div>
</li>
<li>
<div style="text-align:justify;"><strong><em>Office 365 Enterprise Plans </em></strong></div>
</li>
<li>
<div style="text-align:justify;"><strong><em>Office 365 Midsize Business </em></strong></div>
</li>
<li>
<div style="text-align:justify;"><strong><em>SharePoint Online + Yammer Enterprise Plans </em></strong></div>
</li>
<li>
<div style="text-align:justify;"><strong><em>Office 365 Education Plans </em></strong></div>
</li>
</ul>
<p>&nbsp;</p>
</li>
</ul>
<p>For more details: <a href="https://about.yammer.com/success/activate/activation-guide/why-yammer/"><span style="font-size:10pt;">https://about.yammer.com/success/activate/activation-guide/why-yammer/</span></a></p>
<p style="text-align:justify;margin-left:18pt;">&nbsp;</p>
<h1 style="text-align:justify;margin-left:18pt;"><span style="font-size:14pt;"><strong>2. Where do you activate Yammer? </strong></span></h1>
<p style="margin-left:18pt;">As part of Yammer Enterprise, you receive access to your own<span style="color:#646569;font-size:10pt;"><em>&nbsp;<a href="https://portal.microsoftonline.com/admin/"></a></em><a title="https://portal.microsoftonline.com/admin/" href="/controlpanel/blogs/posteditor.aspx/Office%20365%20Admin%20Portal">Office 365 Admin Portal</a> </span>with a Global Admin account. Use this portal to configure your account and activate your Yammer Enterprise network.</p>
<p style="text-align:justify;margin-left:18pt;">&nbsp;</p>
<h1 style="text-align:justify;margin-left:18pt;"><span style="font-size:14pt;"><strong>3. What are Yammer activation prerequisites? </strong></span></h1>
<p style="text-align:justify;margin-left:18pt;">Yammer requires a company domain, such as <strong><em>contoso.com</em></strong> to activate the network. This means the default domain (<strong><em>contoso.onmicrosoft.com</em></strong>) you created with your Office 365 account can&#39;t be used to activate Yammer Enterprise. So, if you don&#39;t have a company domain, you can purchase one&nbsp;from a domain name registrar (for example GoDaddy.com, Gandi.net, etc.), or on the Domains page in O365 Admin portal.</p>
<p style="text-align:justify;margin-left:18pt;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img1.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:18pt;"></p>
<p style="margin-left:18pt;">If your enterprise domain is already created, you&#39;ll need to have access to your DNS hosting provider or domain registrar to confirm ownership of this domain.</p>
<p>&nbsp;</p>
<p style="text-align:justify;margin-left:18pt;">For more details: <a href="https://about.yammer.com/success/activate/activation-guide/add-a-company-domain/">Add a Company Domain</a><span style="color:#646569;font-size:10pt;"> </span><span style="font-size:14pt;"><strong> </strong></span></p>
<p style="margin-left:18pt;">&nbsp;</p>
<h1 style="text-align:justify;margin-left:18pt;"><span style="font-size:14pt;"><strong>4. How to activate Yammer? </strong></span></h1>
<ol>
<li>
<div style="text-align:justify;">Create your enterprise domain (for this lab, I created <strong><em>imenbacha.com</em></strong> domain).</div>
<p style="text-align:justify;">&nbsp;</p>
</li>
<li>
<div style="text-align:justify;">Log into your <a href="https://portal.microsoftonline.com/admin/" target="_blank">Office 365 Admin Center</a> and go to <strong>Domains &gt; Add a domain</strong>.</div>
<p style="text-align:justify;"></p>
<p style="text-align:justify;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img2.png" border="0" /></a></p>
<p>&nbsp;</p>
</li>
<li>
<div style="text-align:justify;">Add your domain</div>
<p style="text-align:justify;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img3.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:34pt;">&nbsp;</p>
</li>
<li>
<div style="text-align:justify;">Confirm that you own the specified domain<span style="font-size:14pt;"><strong> </strong></span></div>
<p style="text-align:justify;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img4.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:34pt;">&nbsp;</p>
</li>
<li>
<div style="text-align:justify;">You are redirected to the site where you created your domain to confirm the ownership of this domain. You&#39;ll need to have access to your DNS hosting provider or domain registrar.<span style="font-size:14pt;"><strong> </strong></span></div>
<p style="text-align:justify;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img5.png" border="0" /></a></p>
<p style="text-align:justify;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img6.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img6.png" border="0" /></a></p>
<p style="text-align:justify;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img7.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img7.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:34pt;">&nbsp;</p>
</li>
<li>
<div style="text-align:justify;">Once the ownership confirmed, you can add users immediately or later. <span style="font-size:14pt;"><strong> </strong></span></div>
</li>
</ol>
<div style="margin-left:35pt;">
<table style="border-collapse:collapse;" border="0"><colgroup><col style="width:557px;" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left:7px;padding-right:7px;border:solid 0.5pt;">
<p style="text-align:justify;"><span style="color:black;">By default, Office 365 uses the user authentication service of Azure Active Directory to provide authentication to Office 365 services (such as Exchange Online, Lync Online, SharePoint Online, and so on). This means Office 365 uses the identity that is synchronized with Azure AD to provide authentication. This flexible model allows you to use one of the following three methods to manage your accounts: </span></p>
<ul>
<li><span style="color:black;"><strong>First method:</strong> Manage user accounts in Office 365 </span></li>
<li><span style="color:black;"><strong>Second method:</strong> Synchronize on-premises directory objects with Office 365 </span></li>
<li><span style="color:black;"><strong>Third method:</strong> Use Active Directory Federation Services (AD&nbsp;FS) to manage users </span></li>
</ul>
<p>Source : <a href="https://technet.microsoft.com/en-us/library/hh852415.aspx">Plan for managing Office 365 user accounts using Azure Active Directory</a></p>
</td>
</tr>
</tbody>
</table>
</div>
<p style="text-align:justify;margin-left:36pt;">&nbsp;</p>
<p style="text-align:justify;margin-left:36pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img8.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:36pt;">&nbsp;</p>
<p style="margin-left:30px;">7. Define how you&#39;ll use your domain by selecting Yammer&nbsp;or a combination with&nbsp;other Office 365 services like Exchange Online or Lync Online.</p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img9.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img9.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:60px;"></p>
<p style="text-align:justify;margin-left:30px;">8. Set up DNS records for your enterprise domain at your DNS hosting provider<span style="font-size:14pt;"><strong> </strong></span></p>
<p style="text-align:justify;margin-left:30px;"></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img10.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img10.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img10.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img11.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img11.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img11.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:30px;">9. If this domain is your organization&#39;s primary domain, change your default Office 365 domain from <strong><em>onmicrosoft.com</em></strong> to the company domain you just added. Go to&nbsp;<strong>Admin&nbsp;&gt;&nbsp;Office 365</strong>, click your organization name in the upper-right corner, and then choose&nbsp;<strong>Default domain</strong>.</p>
<p style="text-align:justify;margin-left:30px;"></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img12.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img12.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img12.png" border="0" /></a></p>
<p style="text-align:justify;"></p>
<p style="text-align:justify;">10. If you choose to manage user accounts in Office 365, you should create a new user in this newly configured domain (for example <strong>johndoe@imenbacha.com</strong>) and assign it &quot;Global admin&quot;. He will automatically be Yammer administrator.</p>
<div style="margin-left:36pt;">
<table style="border-collapse:collapse;" border="0"><colgroup><col style="width:556px;" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left:7px;padding-right:7px;border:solid 0.5pt;">
<p><span style="color:black;font-size:10pt;"><strong>Note : </strong></span></p>
<p><span style="color:black;font-size:10pt;">Assign Global Admins : </span></p>
<p><span style="color:red;font-size:10pt;">Office 365 Global Admin accounts <strong>assigned to *.onmicrosoft.com</strong> or <strong>with generic usernames</strong> will not be synchronized with Yammer. </span></p>
<p><span style="color:black;font-size:10pt;">Generic usernames include: admin, noreply, help, support, workfeed, feedback, yammer, api, abuse, postmaster, hostmaster, root, new, create, index, show, destroy, delete, and update. </span></p>
<p>&nbsp;</p>
<p style="text-align:justify;">Source&nbsp;: <a href="https://about.yammer.com/success/activate/activation-guide/why-yammer/"><span style="font-size:10pt;">https://about.yammer.com/success/activate/activation-guide/why-yammer/</span></a></p>
</td>
</tr>
</tbody>
</table>
</div>
<p>&nbsp;&nbsp;</p>
<p style="text-align:justify;margin-left:36pt;">Create a new user in the new domain:</p>
<p style="text-align:justify;margin-left:36pt;"></p>
<p style="text-align:justify;margin-left:36pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img13.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img13.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img13.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:36pt;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img14.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img14.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img14.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img14.png" border="0" /></a></p>
<div style="text-align:justify;margin-left:30px;"></div>
<div style="text-align:justify;margin-left:30px;">11. Assign &quot;Global Admin&quot; role to this user. He will automatically be Yammer Admin. To do this Click on the user <strong>&gt; Settings</strong></div>
<p style="text-align:justify;margin-left:30px;"></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img15.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img15.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img15.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img15.png" border="0" /></a></p>
<p style="text-align:justify;">&nbsp;</p>
<p style="margin-left:30px;">12. Now you are ready to activate Yammer in O365 Admin center!</p>
<p style="text-align:justify;margin-left:60px;">To do this: <strong>Office 365 Admin Site &gt; Dashboard &gt; Included Services &gt; Yes, activate Yammer Enterprise for my network </strong></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img16.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img16.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img16.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img16.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img17.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img17.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img17.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img17.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img18.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img18.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img18.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img18.png" border="0" /></a></p>
<p></p>
<p><span style="color:black;">You can now see Yammer Admin Link: </span></p>
<p style="margin-left:35pt;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img19.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img19.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img19.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img19.png" border="0" /></a></p>
<p style="margin-left:70pt;">&nbsp;</p>
<div style="text-align:justify;margin-left:30px;">13. Click on this Yammer Admin Link, you will be redirected to <a href="https://www.yammer.com/yourDomain/admin"><span style="font-size:10pt;">https://www.yammer.com/yourDomain/admin</span></a><span style="color:#646569;font-size:10pt;"> </span></div>
<p style="text-align:justify;margin-left:60px;">Note: Your account is Global Admin in O365 Admin center, so it will automatically be Yammer Admin. However you should explicitly create your Yammer profile.</p>
<p style="text-align:justify;">&nbsp;</p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img20.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img20.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img20.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img20.png" border="0" /></a></p>
<p style="text-align:justify;">&nbsp;</p>
<p style="text-align:justify;margin-left:30px;">14. Click on: Don&#39;t have an account? Sign Up</p>
<p style="text-align:justify;margin-left:30px;"></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img21.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img21.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img21.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img21.png" border="0" /></a></p>
<p style="text-align:justify;margin-left:30px;"></p>
<p></p>
<p style="text-align:justify;margin-left:30px;">15. When you signup, you will receive an email in order to complete registration. Click on &quot;Complete Signup&quot;:</p>
<p style="text-align:justify;margin-left:30px;"></p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img22.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img22.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img22.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img22.png" border="0" /></a></p>
<p style="text-align:justify;"></p>
<div style="text-align:justify;margin-left:30px;">16. Complete the creation of your Yammer profile</div>
<div style="text-align:justify;margin-left:30px;"></div>
<div style="text-align:justify;margin-left:30px;"></div>
<div style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img23.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img23.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img23.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img23.png" border="0" /></a></div>
<p></p>
<p style="margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img24.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img24.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img24.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img24.png" border="0" /></a></p>
<p style="margin-left:36pt;">&nbsp; &nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img25.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img25.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img25.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img25.png" border="0" /></a>&nbsp;</p>
<p style="margin-left:36pt;"></p>
<div style="text-align:justify;margin-left:30px;">17. And you&#39;re done!<span style="font-family:Times New Roman;font-size:12pt;"> </span></div>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img26.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img26.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img26.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img26.png" border="0" /></a></p>
<p style="text-align:justify;">&nbsp;</p>
<p></p>
<div style="text-align:justify;margin-left:30px;">18. You are in &quot;Global Admin&quot; role in Office 365 admin site, so you are automatically a Yammer Administrator.</div>
<p style="text-align:justify;margin-left:60px;">To access Yammer&#39;s administration menu, click on &quot;Network Admin&quot;</p>
<p style="text-align:justify;margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img27.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img27.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img27.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img27.png" border="0" /></a></p>
<p style="margin-left:34pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img28.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img28.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/Img28.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/Img28.png" border="0" /></a></p>
<p style="margin-left:34pt;"></p>
<p style="margin-left:34pt;">19. Now you can use your enterprise social network.</p>
<p style="margin-left:34pt;"></p>
<p style="margin-left:34pt;"></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>Thanks to H&eacute;l&egrave;ne Lemontvert &amp; Dominique VIVES&nbsp;for having reviewed my post.</p>
<p></p>
<p style="text-align:right;">Imen Bacha</p>
<p>&nbsp;</p>
<p></p>
<p>Version : Microsoft Office 365 Plan E3</p>
<p>Date : 25/09/2014</p>]]></content:encoded>
    </item>
    <item>
      <title>How To Upgrade PowerPivot for SharePoint</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/how-to-upgrade-powerpivot-for-sharepoint</link>
      <pubDate>Mon, 22 Sep 2014 08:02:00 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/09/22/how-to-upgrade-powerpivot-for-sharepoint/</guid>
      <description><![CDATA[&nbsp;
As we all know we have multiple flavors of PowerPivot for SharePoint and sometimes it&#39;s...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p>As we all know we have multiple flavors of PowerPivot for SharePoint and sometimes it&#39;s a bit strange how you install updates for PowerPivot.</p>
<p>Let us start with the beginning <span style="font-family:Wingdings;">J</span> We have SharePoint 2010 that can use PowerPivot from SQL 2008 R2 or PowerPivot from SQL 2012 SP1/SQL 2014 and on the other hand we have SharePoint 2013 that can use only PowerPivot from SQL 2012 SP1/SQL 2014. I&#39;m grouping SQL 2012 SP1 and SQL 2014 because from the update perspective they are behaving identical.</p>
<p>&nbsp;</p>
<h1>Situation 1: SharePoint 2010 with PowerPivot from SQL 2008R2</h1>
<p>&nbsp;</p>
<p>You are installing an update for SQL 2008 R2 like SP2 due to the fact that you need to have your environment supported (<a href="https://support.microsoft.com/lifecycle/search/?sort=PN&amp;alpha=sql">SQL 2008 R2 is out of main support starting with 08/07/2014 and the least supported version is SQL 2008 R2 SP2</a>). You can download SP2 and the latest Cumulative Update for it (CU 13) from <a href="https://technet.microsoft.com/en-us/library/ff803383.aspx">Update Center for Microsoft SQL Server</a></p>
<p>In order to upgrade the PowerPivot service application and its components all you have to do is to install the updates and check the Health Analyzer that it picked up the correct version. As explained in the following article <a href="https://technet.microsoft.com/en-us/library/ee210646(v=sql.105).aspxhttp:/technet.microsoft.com/en-us/library/ee210646(v=sql.105).aspx">Upgrade (PowerPivot for SharePoint)</a>, here are the steps to do it:</p>
<ol>
<li>Install the patch using the instructions that are provided with the QFE.</li>
<li>In Central Administration, in Monitoring, click Review rule definitions.</li>
<li>In the Configuration category, find an then click the following rule:</li>
</ol>
<p>PowerPivot: The deployed farm solution is not up-to-date</p>
<ol>
<li>In the Health Analyzer Rule Definitions box for this rule, click Run Now.</li>
<li>Reset IIS to ensure the older version is no longer available. To do this, open an Administrator command prompt and type IISRESET.</li>
</ol>
<p>&nbsp;</p>
<h1>Situation 2: SharePoint 2010 with PowerPivot from SQL 2012 SP1/ SQL 2014</h1>
<p>&nbsp;</p>
<p>Now we start to have some fun! While for SQL 2008 R2 all you had to do was to install the hotfix (QFE) with PowerPivot 2012 SP1 the situation has changed and be careful you should install the x64 hotfix as SharePoint and PowerPivot for SharePoint are only on x64.</p>
<p>Please check the articles describing procedure:</p>
<p><a href="https://technet.microsoft.com/en-us/library/ee210646(v=sql.110).aspx">Upgrade PowerPivot for SharePoint (SQL 2012 SP1)</a></p>
<p><a href="https://technet.microsoft.com/en-us/library/ee210646(v=sql.120).aspx">Upgrade PowerPivot for SharePoint (SQL 2014)</a></p>
<ul>
<li>Once you have installed the hotfix/CU you will need to run the PowerPivot Configuration Tool as now it&#39;s like applying a hotfix for SharePoint (install windows binaries and then run the SharePoint configuration wizard)<img alt=" " /></li>
</ul>
<p>&nbsp;</p>
<p style="margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im1.png" border="0" /></a></p>
<p style="margin-left:70pt;"></p>
<ul>
<li>The first thing you will notice is the 3<sup>rd</sup> option in the PowerPivot Configuration Tool (<em>Upgrade Features, Services, Applications and Solutions</em>) is not grayed out anymore and you will even have a nice message saying that you need to run it.</li>
</ul>
<p></p>
<p style="margin-left:60px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im2.png" border="0" /></a><img alt=" " /></p>
<p></p>
<ul>
<li>
<div>You should Click OK on the information window and then click OK to execute the Upgrade.</div>
<p>&nbsp;</p>
</li>
<li>Click Run. Sit back, relax have a tea or coffee and wait for the update to finish</li>
</ul>
<p style="margin-left:30px;"></p>
<p style="margin-left:30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im3.png" border="0" /></a></p>
<p style="margin-left:30px;"></p>
<p style="margin-left:60px;">&nbsp;</p>
<h1>Situation 3: SharePoint 2013 with PowerPivot from SQL 2012 SP1 / SQL 2014</h1>
<p>&nbsp;</p>
<ol>
<li>
<div>If the Analysis Services instance in SharePoint mode (PowerPivot) is installed on one or multiple servers in the farm you will do the same steps as for the Situation 2.</div>
<p style="margin-left:18pt;">&nbsp;</p>
</li>
<li>
<div>If you SSAS in SharePoint mode is on a server that is not a member of the SharePoint farm you will have to execute some extra steps:</div>
<p style="margin-left:18pt;">&nbsp;</p>
</li>
</ol>
<ul>
<li>Install the CU for SQL 2012 SP1 / SQL 2014</li>
<li>
<div>Copy the spPowerPivot.msi to your SharePoint server(s) where you have installed it before. You can find it here: C:\Program Files\Microsoft SQL Server\110 or 120\Setup Bootstrap\Update Cache\&lt;KB number you have installed&gt;\QFE\1033_enu_lp\x64\setup\ or you can do a Start &ndash; Run &ndash; path to CU including the name of the file and then /extract</div>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im4.png" border="0" /></a><img alt=" " /><img alt=" " /></p>
<p>&nbsp;</p>
</li>
<li>
<div>Install the newer version of the spPowerPivot.msi and click Yes on the warning message</div>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im5.png" border="0" /></a></p>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>
<div>Finalize the installation wizard</div>
<div></div>
<p>&nbsp;<img alt=" " /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im6.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im6.png" border="0" /></a></p>
<p><img alt=" " />&nbsp;</p>
</li>
</ul>
<ul>
<li>
<div>Run the PowerPivot Configuration Tool and upgrade the existing installation and from here is the same as Situation 2.</div>
<p>&nbsp;<img alt=" " /></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im7.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/im7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/im7.png" border="0" /></a></p>
<p></p>
<p><span style="font-size:small;">Thanks to Dominique VIVES for having reviewed my post.</span></p>
<p style="text-align:right;"><strong>Radu CARAIVAN</strong></p>
<p><img alt=" " /></p>
<p></p>
</li>
</ul>
<p><img alt=" " /></p>
<p><span style="font-size:small;"></span></p>]]></content:encoded>
    </item>
    <item>
      <title>How to manage your O365 sites with PowerShell and CSOM?</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/how-to-manage-your-o365-sites-with-powershell-and-csom</link>
      <pubDate>Tue, 08 Apr 2014 07:01:00 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/04/08/how-to-manage-your-o365-sites-with-powershell-and-csom/</guid>
      <description><![CDATA[This post explains how to manage your SharePoint Online environment and manipulate SPO objects. In...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size:10pt;"><span style="font-size:small;">This post explains how to manage your SharePoint Online environment and manipulate SPO objects. In other words, this post describes how to manage SharePoint sites, SharePoint lists using Powershell and CSOM (Client Side Object Model).</span> </span></p>
<p style="background:white;margin-left:30px;"><span style="color:#707070;font-family:Segoe UI;font-size:20pt;">1. Prerequisites </span></p>
<p><span style="font-size:small;">In order to use CSOM within your PowerShell scripts, you first need to download the &quot;<em>Office Developer Tools for Visual Studio 2013</em>&quot;. This package contains the client Dlls components for SharePoint Online. You can download the office Developer tools on <a href="https://www.microsoft.com/web/handlers/WebPI.ashx/getinstaller/OfficeToolsForVS2013Update1.appids">this link</a>.</span></p>
<p><span style="font-size:small;">You can find more details regarding the Office Developer Tools for Visual Studio in the following articles:</span></p>
<ul>
<li>
<div><span style="font-size:small;">Now Available: Office Developer Tools for Visual Studio 2012 <a href="https://blogs.msdn.com/b/somasegar/archive/2013/03/04/now-available-office-developer-tools-for-visual-studio-2012.aspx"><span style="font-family:Segoe UI;">https://blogs.msdn.com/b/somasegar/archive/2013/03/04/now-available-office-developer-tools-for-visual-studio-2012.aspx</span></a><span style="color:#424242;font-family:Segoe UI;">&nbsp;</span></span></div>
</li>
</ul>
<ul>
<li><span style="font-size:small;">What&#39;s New in Office Developer Tools for Visual Studio 2013 &ndash; March 2014 Update <a href="https://msdn.microsoft.com/library/dn610877.aspx">https://msdn.microsoft.com/library/dn610877.aspx</a></span></li>
</ul>
<p><span style="font-size:small;"><em>Note: the examples of this post use the office developer tools of March 2014. </em></span></p>
<p><span style="font-size:small;">In this post, I&#39; am using a PowerShell version 4.0 provided with Windows 8.1, however the scripts should also work since PowerShell 2.0 (at least).</span></p>
<p style="background:white;margin-left:30px;"><span style="color:#707070;font-family:Segoe UI;font-size:20pt;">2. Walkthrough </span></p>
<p style="margin-left:60px;"><span style="color:#707070;font-family:Segoe UI;font-size:15pt;">a. Loading Clients Assemblies </span></p>
<p><span style="font-size:small;">In order to manipulate SharePoint Online objects in our PowerShell script, we first need to load the Clients DLL installed with the <em>Office Developer tools</em> on our local machine.</span></p>
<p><span style="font-size:small;">We will load two client DLLs with the two following lines:</span></p>
<p style="background:white;"><span style="color:darkgray;font-family:Lucida Console;font-size:8pt;">[<span style="color:teal;">System.Reflection.Assembly<span style="color:darkgray;">]::</span>LoadWithPartialName(<span style="color:darkred;">&quot;Microsoft.SharePoint.Client&quot;</span>)</span> </span></p>
<p style="background:white;"><span style="color:darkgray;font-family:Lucida Console;font-size:8pt;">[<span style="color:teal;">System.Reflection.Assembly<span style="color:darkgray;">]::</span>LoadWithPartialName(<span style="color:darkred;">&quot;Microsoft.SharePoint.Client.Runtime&quot;</span>) </span> </span></p>
<p style="background:white;">&nbsp;<em><span style="font-size:9pt;">Note: &quot;Add-Type&quot; cmdlet is an alternative to Loadwithpartialname. LoadWithPartialName is actually deprecated (<a href="https://msdn.microsoft.com/en-us/library/system.reflection.assembly.aspx">link</a>).</span> </em></p>
<p style="margin-left:60px;"><span style="color:#707070;font-family:Segoe UI;font-size:15pt;">b. Create Client Context and Authenticate to SPO </span></p>
<p><span style="font-size:small;">Now that the client DLLs have been loaded with the previous lines, we can access the SP client objects model. However in order to manipulate SharePoint objects and run operations, we need a new client context.</span></p>
<p><span style="font-size:small;">To create the context, we first have to provide the site collection URL:</span></p>
<p style="background:white;"><span style="color:orangered;font-family:Lucida Console;font-size:8pt;">$weburl<span style="color:darkgray;">=</span> <span style="color:darkred;">&#39;https://tenant.sharepoint.com/sites/team&#39; </span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$ctx</span> <span style="color:darkgray;">=</span> <span style="color:blue;">New-Object</span> <span style="color:blueviolet;">Microsoft.SharePoint.Client.ClientContext</span>(<span style="color:orangered;">$webUrl</span>) </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;">&nbsp;</span></p>
<p><span style="font-size:small;">Then we should provide the site collection administrator credentials to the context object to authenticate against on the site:</span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$username</span> <span style="color:darkgray;">=</span> <span style="color:darkred;">&#39;user@tenant.onmicrosoft.com&#39; </span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$password</span> <span style="color:darkgray;">=</span> <span style="color:blue;">Read-Host</span> <span style="color:navy;">-Prompt</span> <span style="color:darkred;">&quot;Password for <span style="color:orangered;">$username<span style="color:darkred;">&quot;</span> <span style="color:navy;">&ndash;AsSecureString </span></span></span></span></p>
<p style="background:white;">&nbsp;<span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$ctx<span style="color:darkgray;">.</span>Credentials <span style="color:darkgray;">=</span> <span style="color:blue;">New-Object</span> <span style="color:blueviolet;">Microsoft.SharePoint.Client.SharePointOnlineCredentials</span>($username<span style="color:darkgray;">,</span> $password</span>) </span></p>
<p style="background:white;">&nbsp;<span style="font-size:9pt;"><em>Note: if the credentials or the WebUrl are wrong, you will face an error when executing the above command. </em></span></p>
<p style="margin-left:60px;"><span style="color:#707070;font-family:Segoe UI;font-size:15pt;">c. Query Objects through Context </span></p>
<p><span style="font-size:small;">Now that we are authenticated to a SPO Site and that we have a context object, we can access objects by loading them in the current context.</span></p>
<p><span style="font-size:small;">The following query will retrieve the site (SPWeb) in the $ctx:</span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$web</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$ctx<span style="color:darkgray;">.</span>Web</span> </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$ctx<span style="color:darkgray;">.</span>Load($web</span>); </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$ctx<span style="color:darkgray;">.</span>ExecuteQuery(); </span> </span></p>
<p><span style="font-size:8pt;"><span style="color:orangered;font-family:Lucida Console;">$web.</span><span style="font-family:Lucida Console;">Title </span><span style="color:green;font-family:Courier New;"># will print the name of the site</span> </span></p>
<p style="background:white;"><em>Note: we could also retrieve the site collection (SPSite), <span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$site</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$ctx<span style="color:darkgray;">.</span>Site </span> </span></em></p>
<p>&nbsp;</p>
<p><span style="font-size:small;">Now, that we have the site (SPWeb), we can also query objects like lists (SPList) and their basic properties:</span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$listname</span> <span style="color:darkgray;">=</span> <span style="color:darkred;">&quot;Documents&quot;</span> </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$list</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$context<span style="color:darkgray;">.</span>Web<span style="color:darkgray;">.</span>Lists<span style="color:darkgray;">.</span>GetByTitle($listname</span>); </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$ctx<span style="color:darkgray;">.</span>Load($list</span>); </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:8pt;"><span style="color:orangered;">$ctx<span style="color:darkgray;">.</span>ExecuteQuery(); </span></span></p>
<p style="background:white;"><span style="color:orangered;font-size:8pt;"><span style="font-family:Lucida Console;">$list<span style="color:darkgray;">.</span>ItemCount </span><span style="color:green;font-family:Courier New;"># will print the number of documents and folders </span></span></p>
<div style="background:white;margin-left:30px;"><span style="color:#707070;font-family:Segoe UI;font-size:20pt;">3. Example Script </span></div>
<p><span style="font-size:small;">With the following PowerShell script, we will upload a local Temp.txt file to a SharePoint document library.</span></p>
<p><span style="font-size:10pt;"><em>This script is provided on an &quot;as is&quot; basis without warranties of any kind, whether express or implied. The entire risk as to the quality and performance of the code is with the end user.</em></span><span style="font-size:10pt;"><em><br /></em></span></p>
<div>
<table style="width:600px;height:2467px;border-collapse:collapse;" border="0"><colgroup><col style="width:623px;" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left:7px;padding-right:7px;border:solid 0.5pt;">
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$loadInfo1</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> [</span></span><span style="color:#008080;"><span style="color:#008080;"><span style="color:#008080;">System.Reflection.Assembly</span></span></span><span><span>]::</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">LoadWithPartialName</span></span></span><span><span>(</span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Microsoft.SharePoint.Client&quot;</span></span></span><span><span>)</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$loadInfo2</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> [</span></span><span style="color:#008080;"><span style="color:#008080;"><span style="color:#008080;">System.Reflection.Assembly</span></span></span><span><span>]::</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">LoadWithPartialName</span></span></span><span><span>(</span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Microsoft.SharePoint.Client.Runtime&quot;</span></span></span><span><span>)</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">&nbsp;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$weburl</span></span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Read-Host</span></span></span></b><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-Prompt</span></span></span></i><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Please type or paste the site url you want to connect to (ex: https://tenant.sharepoint.com/sites/TeamSite)&quot;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$username</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Read-Host</span></span></span></b><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-Prompt</span></span></span></i><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Enter or paste the site collection administrators user name&quot;</span></span></span><span><span> </span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$password</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Read-Host</span></span></span></b><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-Prompt</span></span></span></i><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Password for $username&quot;</span></span></span><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-AsSecureString</span></span></span></i></span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$listTitle</span></span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Read-Host</span></span></span></b><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-Prompt</span></span></span></i><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Please type the Documents library TITLE in which you updload the demo text file(ex: Documents)&quot;</span></span></span></span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;">#$webUrl = &#39;https://contoso.sharepoint.com/sites/dev/&#39;</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">#$username = &#39;administrator@contoso.onmicrosoft.com&#39;</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">#$password = ConvertTo-SecureString &#39;passwod&#39; -AsPlainText -Force</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">#$ListTitle= &quot;Documents&quot;</span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;">try</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;">#Creating the SharePoint Context with SP Site Url and the Site Collection admin credential. </span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-Output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Connecting to $weburl ...&quot;</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">New-Object</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">Microsoft.SharePoint.Client.ClientContext</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$webUrl</span></span></span><span><span>)</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Credentials</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">New-Object</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">Microsoft.SharePoint.Client.SharePointOnlineCredentials</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$username</span></span></span><span><span>, </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$password</span></span></span><span><span>)</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">catch</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;... Couldn&#39;t connect. Please check your credential or the provided Url: $weburl.&quot;</span></span></span><span><span> ;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#0000ff;">break</span></span></span><span><span> </span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;">#Retrieving the Root Web</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;`nRetrieving Web ...&quot;</span></span></span></span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;">try</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$web</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Web</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Load</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$web</span></span></span><span><span>);</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">ExecuteQuery</span></span></span><span><span>();</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#0000ff;">catch</span></span></span><span><span>{</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&#39;Unable to get the $web site.&#39;</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#0000ff;">break</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>write-output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Web title : $($web.Title)&quot;</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>write-output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Web Template : $($web.WebTemplate)&quot;</span></span></span><span><span>;</span></span></span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;"> </span></p>
<p><span style="font-family:times new roman,times;font-size:small;">#Retrieving the &quot;Documents&quot; list.</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;`nRetrieving Documents document library...&quot;</span></span></span></span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;">try</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$list</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Web</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Lists</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">GetByTitle</span></span></span><span><span>(</span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;$ListTitle&quot;</span></span></span><span><span>); </span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Load</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$list</span></span></span><span><span>);</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">ExecuteQuery</span></span></span><span><span>();</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">catch</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-Output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Unable to get Documents library. Please check the $listTitle document library exists...&quot;</span></span></span><span><span> ;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#0000ff;">break</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;List contains: $($list.ItemCount) items.&quot;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">try</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;">#Retrieving the root folder and the Sub folders. </span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-Output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;`nRetrieving Root Folder of list...&quot;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Load</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$list</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">RootFolder</span></span></span><span><span>); </span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">ExecuteQuery</span></span></span><span><span>();</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$folder</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$list</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">RootFolder</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-Output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Root Folder Name : $($folder.Name)&quot;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">catch</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-Output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Face an error when retrieving RootFolder object or Folders nested in this RootFolder.&quot;</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#0000ff;">break</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">#Creating a file on local folder.</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;`nCreating a file on local folder.&quot;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$myfile</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">New-Item</span></span></span></b><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-Path</span></span></span></i><span><span> .\</span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">Temp.txt</span></span></span><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-ItemType</span></span></span></i><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">file</span></span></span><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-Force</span></span></span></i></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$textFile</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Congratulations, this file has been updloaded through CSOM &amp; PowerShell&quot;</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span>&nbsp;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">#Adding data to file</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Out-File</b></span></span></span><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-InputObject</span></span></span></i><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$textFile</span></span></span><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-Append</span></span></span></i><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-FilePath</span></span></span></i><span><span> $(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$myfile</span></span></span><span><span>.FullName)</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;`nAdded Text to Temp file.&quot;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"> </span></p>
<p><span style="font-family:times new roman,times;font-size:small;">#Retrieving the root folder and the Sub folders.</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;`nAdding file to $($folder.Name) root folder in List ...&quot;</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">try</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$FileInfo</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">New-Object</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">Microsoft.SharePoint.Client.FileCreationInformation</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$null</span></span></span><span><span>);</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$FileInfo</span></span></span><span><span>.Content </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">get-content</span></span></span></b><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-encoding</span></span></span></i><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">byte</span></span></span><span><span> </span></span><i><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">-path</span></span></span></i><span><span> $(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$myfile</span></span></span><span><span>.FullName)</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$FileInfo</span></span></span><span><span>.Url </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;$($myfile.Name)&quot;</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$FileInfo</span></span></span><span><span>.Overwrite </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$true</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$fileUpload</span></span></span><span><span> </span></span><span style="color:#ff0000;"><span style="color:#ff0000;"><span style="color:#ff0000;">=</span></span></span><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$folder</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Files</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Add</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$FileInfo</span></span></span><span><span>);</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Load</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$fileUpload</span></span></span><span><span>);</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">ExecuteQuery</span></span></span><span><span>();</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">Load</span></span></span><span><span>(</span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$list</span></span></span><span><span>);</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><span style="color:#800080;"><span style="color:#800080;"><span style="color:#800080;">$ctx</span></span></span><span><span>.</span></span><span style="color:#8b4513;"><span style="color:#8b4513;"><span style="color:#8b4513;">ExecuteQuery</span></span></span><span><span>();</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">catch</span></p>
<p><span style="font-family:times new roman,times;font-size:small;">{</span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span><span> </span></span><b><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;">Write-Output</span></span></span></b><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;... Face an issue when updloading file to the $ListTitle Doc Library.&quot;</span></span></span><span><span>;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#0000ff;">break</span></span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;">}</span></p>
<p></p>
<p><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;File was added sucessfully.&quot;</span></span></span></p>
<p><span style="font-family:times new roman,times;font-size:small;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><span style="color:#5f9ea0;"><b>Write-Output</b></span></span></span><span><span> </span></span><span style="color:#800000;"><span style="color:#800000;"><span style="color:#800000;">&quot;Now List contains: $($list.ItemCount) items.</span></span></span></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<div></div>
<div></div>
<div></div>
<div><span style="font-size:small;">You can find the script attached to this post in &quot;SPO_CreateListItem.zip&quot;.</span></div>
<div><span style="font-size:small;">&nbsp;</span></div>
<div><span style="font-size:small;">&nbsp;</span></div>
<div><span style="font-size:small;">Thanks to Vincent Runge for having reviewed my post.</span></div>
<div></div>
<div style="text-align:right;"><span style="font-size:small;">Dominique VIVES</span></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/10068/00/00/03/62/69/10/SPO_CreateListItem.zip" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-10068-00-00-03-62-69-10/SPO_5F00_CreateListItem.zip">SPO_CreateListItem.zip</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Rich Text Editor (RTE) et code réentrant dans un contexte de Minimal Download Strategy (MDS)</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/rich-text-editor-rte-et-code-rentrant-dans-un-contexte-de-minimal-download-strategy-mds</link>
      <pubDate>Thu, 23 Jan 2014 08:19:11 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/01/23/rich-text-editor-rte-et-code-rentrant-dans-un-contexte-de-minimal-download-strategy-mds/</guid>
      <description><![CDATA[Contexte
Vous avez g&eacute;n&eacute;r&eacute; sur votre environnement SharePoint 2013 une...]]></description>
      <content:encoded><![CDATA[<h1></h1>
<h1><span style="color:#2e74b5;font-family:Calibri Light;">Contexte</span></h1>
<p><span style="font-family:Calibri;font-size:medium;">Vous avez g&eacute;n&eacute;r&eacute; sur votre environnement SharePoint 2013 une solution Visual Studio de type Visual Web Part et cette solution comporte un &eacute;l&eacute;ment UpdatePanel (AJAX Extensions) ainsi qu&rsquo;un &eacute;l&eacute;ment </span><span style="font-family:Calibri;font-size:medium;">InputFormTextBox </span><span style="font-family:Calibri;font-size:medium;">(Microsoft.SharePoint.WebControls.InputFormTextBox).</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Cette solution pourrait avoir la forme suivante&nbsp;:</span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"><img width="553" height="178" style="width:821px;height:257px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png" border="0" /></a><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">L&rsquo;int&eacute;r&ecirc;t du contr&ocirc;le </span>&lt;asp:Button ID=&quot;btn&quot; runat=&quot;server&quot;&nbsp; Text=&quot;Refresh Panel&quot; OnClick=&quot;btn_Click&quot;/&gt;<span style="font-family:Calibri;font-size:medium;"> est de pouvoir d&eacute;clencher un post de la page et de mettre en &eacute;vidence le fonctionnement pr&eacute;sent&eacute; dans cet article de blog.&nbsp; Le code &laquo;&nbsp;behind&nbsp;&raquo; de ce contr&ocirc;le pourrait&nbsp;effectuer l&rsquo;action suivante&nbsp;:</span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/2.png" border="0" /></a><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Au final la page affich&eacute;e par SharePoint pourrait avoir la forme suivante&nbsp;:</span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/3.png" border="0" /></a><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Un clic sur le bouton &laquo;&nbsp;Refresh Panel&nbsp;&raquo; aura l&rsquo;effet suivant&nbsp;:</span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/4.png" border="0" /></a><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Le contr&ocirc;le RTE ainsi que la barre d&rsquo;outils sont dupliqu&eacute;s, le contenu est perdu et le contr&ocirc;le devient non op&eacute;rationnel.</span></p>
<h1><span style="color:#2e74b5;font-family:Calibri Light;">R&eacute;solution<span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></span></h1>
<p><span style="font-family:Calibri;font-size:medium;">Des informations compl&eacute;mentaires sur ce comportement sont donn&eacute;es dans le paragraphe &laquo;&nbsp;Conclusion&nbsp;&raquo;.<span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Depuis SharePoint 2013, un nouveau mode de rendu des pages&nbsp;ASPX est propos&eacute;, nomm&eacute; &laquo;&nbsp;Minimal Download Strategy&nbsp;&raquo;.&nbsp; Cette fonctionnalit&eacute; acc&eacute;l&egrave;re le rendu d&rsquo;une page lorsque peu d&rsquo;&eacute;l&eacute;ments changent sur cette page.&nbsp; Dans ce contexte, les contr&ocirc;les utilis&eacute;s sur la page doivent pouvoir &ecirc;tre rappel&eacute;s. En d&rsquo;autres termes, le code de l&rsquo;&eacute;l&eacute;ment doit &ecirc;tre fonctionnel en mode r&eacute;entrant. Dans l&rsquo;exemple ci-dessus, nous voyons tr&egrave;s bien que l&rsquo;&eacute;l&eacute;ment InputFormTextBox pr&eacute;sente un dysfonctionnement dans un tel contexte.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Pour contourner ce fonctionnement, l&#39;id&eacute;e est de v&eacute;rifier si l&#39;&eacute;l&eacute;ment est d&eacute;j&agrave; sur la page lors de son&nbsp;appel pour affichage.&nbsp;Si tel est le cas il faut bloquer cet appel.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Voici, ci-dessous, quelques m&eacute;thodes permettant de mettre en place ce contournement&nbsp;:<span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></span></p>
<h2><span style="color:#2e74b5;font-family:Calibri Light;font-size:large;">Premier exemple, dans une simple page ASPX</span></h2>
<p><span style="font-family:Calibri;font-size:medium;">Dans un tel contexte, le code suivant, ajout&eacute; dans&nbsp;une page ASPX, serait suffisant&nbsp;:<span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/5.png" border="0" /></a><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></p>
<h2><span style="color:#2e74b5;font-family:Calibri Light;font-size:large;">Deuxi&egrave;me exemple, dans le cadre de notre web-part</span></h2>
<p><span style="font-family:Calibri;font-size:medium;">Dans ce cas,&nbsp;cela se complique un peu. En effet,&nbsp;la fonction docu<span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span>ment.getElementById, pour pouvoir &ecirc;tre utilisable, va<span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span> n&eacute;cessiter d<span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span>e fournir le ClientID du contr&ocirc;le recherch&eacute; sur la page ASPX.</span></p>
<h3><span style="color:#1f4d78;font-family:Calibri Light;font-size:medium;">Premi&egrave;re solution</span></h3>
<p><span style="font-family:Calibri;font-size:medium;">Il faut r&eacute;cup&eacute;rer le ClientID du contr&ocirc;le en &eacute;ditant le code source de la page dans IE.&nbsp; La contrainte ici est que si la page est modifi&eacute;e, alors le ClientID va changer.&nbsp;Il sera n&eacute;cessaire de recompiler la solution Visual Studio et&nbsp;la red&eacute;ployer.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Le code aurait&nbsp;la forme suivante&nbsp;:</span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/6.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/6.png" border="0" /></a><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></p>
<h3><span style="color:#1f4d78;font-family:Calibri Light;font-size:medium;">Deuxi&egrave;me&nbsp;solution</span></h3>
<p><span style="font-family:Calibri;font-size:medium;">Cette&nbsp;solution semble plus optimale&nbsp;pour contourner ce comportement.&nbsp; Elle consiste &agrave; remplacer la fonction JavaScript expos&eacute;e ci-dessus par la version suivante&nbsp;:</span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/7.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/7.png" border="0" /></a><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></p>
<h3><span style="color:#1f4d78;font-family:Calibri Light;font-size:medium;">Derni&egrave;re pr&eacute;cision</span></h3>
<p><span style="font-family:Calibri;font-size:medium;">Il n&rsquo;est pas n&eacute;cessaire d&rsquo;ajouter le code ci-dessus directement dans le fichier ASCX de la solution Visual Studio.&nbsp; Ce code peut &ecirc;tre inject&eacute; par la fonction suivante d&eacute;clar&eacute;e dans le fichier ASCX.CS de la solution Visual Studio.</span></p>
<p><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><span style="color:#2e74b5;font-family:Calibri Light;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/8.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/8.png" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/1.png"></a></span></p>
<h1><span style="color:#2e74b5;font-family:Calibri Light;">Conclusion</span></h1>
<p><span style="font-family:Calibri;font-size:medium;">Ce dysfonctionnement a &eacute;t&eacute; rapport&eacute; au groupe produit SharePoint.&nbsp; Leur d&eacute;cision a &eacute;t&eacute; de ne pas toucher au code source utilis&eacute; par l&rsquo;&eacute;l&eacute;ment Rich Text Editor.&nbsp;&nbsp;RTE existe depuis plusieurs versions de SharePoint et le modifier maintenant pourrait avoir des impacts inattendus sur des plateformes SharePoint d&eacute;j&agrave; install&eacute;es. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">La solution de contournement expos&eacute;e ci-dessus a &eacute;t&eacute; officialis&eacute;&nbsp;par le groupe produit SharePoint et la fourniture d&rsquo;une solution sous forme de correctif est pour l&rsquo;instant exclue&nbsp;des prochaines mises &agrave; jour SharePoint.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Je remercie&nbsp;C&eacute;dric Naudy&nbsp;pour la relecture de ce billet.<br /></span></p>
<p style="text-align:right;"><span style="font-family:Calibri;font-size:medium;">Yamine Tai&euml;b<br /></span></p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Connaître les temps d’exécution … sans Développeur Dashboard!</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/connatre-les-temps-dexcution-sans-dveloppeur-dashboard</link>
      <pubDate>Mon, 20 Jan 2014 02:20:12 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/01/20/connatre-les-temps-dexcution-sans-dveloppeur-dashboard/</guid>
      <description><![CDATA[En analysant des problèmes de performance, je me suis confronté à un environnement où le developer...]]></description>
      <content:encoded><![CDATA[<p>En analysant des problèmes de performance, je me suis confronté à un environnement où le developer dashboard n&#39;est pas disponible.
</p><p>Les logs ULS contiennent les temps d&#39;exécution dans les évènements B4LY. Les évènements B4LY ne sont logués que lorsque pour le produit <strong>SharePoint Foundation</strong>, la catégorie <strong>Monitoring</strong> est à <strong>High</strong> ou plus verbeuse.
</p><p>J&#39;ai écrit un script PowerShell pour extraire les temps d&#39;exécution des logs ULS, pour un correlation ID donné. L&#39;objectif est de comprendre rapidement ce qui a consommé le temps de réponse. J&#39;ai publié le script à <a href="https://dumpexecutiontime.codeplex.com/">https://dumpexecutiontime.codeplex.com/</a>  
</p><p>La <a href="https://dumpexecutiontime.codeplex.com/documentation">documentation complète</a> (syntaxe, exemples, paramètres) est disponible sur codeplex. 
</p><h3>Pour extraire les temps d&#39;exécution:
</h3><ol><li>Mettre le niveau de diagnostic pour le produit <strong>SharePoint Foundation</strong>, catégorie <strong>Monitoring</strong> à <strong>High</strong> ou supérieur.
</li><li>Reproduire le problème
</li><li>Enregistrer localement le script <strong>Dump-ExecutionTime.ps1</strong> depuis <a href="https://dumpexecutiontime.codeplex.com/">https://dumpexecutiontime.codeplex.com/</a>.
</li><li>Dans une session PowerShell, exécuter <strong>Dump-ExecutionTime.ps1 </strong>:
</li></ol><p><span style="font-family:Courier New;">dir v:*log | C:\Tests\Dump-ExecutionTime.ps1 -Threshold 500</span>
	</p><p>La sortie sera par exemple:
</p><p><span style="font-family:Courier New;">Extracting Execution Times above 500 ms from file V:\srs\Ignacio Verbose-c52663.log with correlation</span>
	</p><p><span style="font-family:Courier New;">id matching *</span>
	</p><p><span style="font-family:Courier New;">ExecTime         Monitored Scope</span><br /><span style="font-family:Courier New;">----------       ------------------------------</span><br /><span style="font-family:Courier New;">   729.130       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   792.014       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   666.610       Leaving Monitored Scope (PortalSiteMapNode: Populating navigation children for web:</span>
	</p><p><span style="font-family:Courier New;">/&lt;PII:..&gt;).</span><br /><span style="font-family:Courier New;">   722.340       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   659.460       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   675.208       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   510.887       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   616.288       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   603.682       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   523.035       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   592.420       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   507.795       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;">   620.947       Leaving Monitored Scope (<span style="background-color:yellow;">Directory Search</span>).</span><br /><span style="font-family:Courier New;"> 8,580.957       Leaving Monitored Scope (Render the Web part of the PII own documents).</span><br /><span style="font-family:Courier New;"> 8,581.096       Leaving Monitored Scope (Redner the Web part- Main).</span><br /><span style="font-family:Courier New;"> 8,641.322       Leaving Monitored Scope (SharePointForm Control Render).</span><br /><span style="font-family:Courier New;">14,294.430       Leaving Monitored Scope (Request GET:https://server.domain.com/Forms/AllItems.aspx)).</span>
	</p><p><span style="font-family:Courier New;">17 monitored scopes matched, for a total of 48317.62 ms</span>
	</p><p>Dans cet exemple, les appels à <strong>Directory Search</strong> (surlignés en <span style="background-color:yellow;">jaune</span>) sont responsables de la plus grande partie du temps de réponse.
</p><p>Je remercie Dominique Vives pour la relecture de ce billet.
</p><p style="text-align:right;">Vincent Runge</p>]]></content:encoded>
    </item>
    <item>
      <title>Mise à jour labels enfants non fonctionnels après migration de SP2010 vers SP2013</title>
      <link>https://docs.microsoft.com/archive/blogs/french_sharepoint_gbs_blog/mise-jour-labels-enfants-non-fonctionnels-aprs-migration-de-sp2010-vers-sp2013</link>
      <pubDate>Tue, 14 Jan 2014 03:05:00 GMT</pubDate>
      <dc:creator><![CDATA[French SharePoint GBS Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/french_sharepoint_gbs_blog/2014/01/14/mise-jour-labels-enfants-non-fonctionnels-aprs-migration-de-sp2010-vers-sp2013/</guid>
      <description><![CDATA[Contexte 
&nbsp;
Vous avez g&eacute;n&eacute;r&eacute; sur votre environnement SharePoint 2010 une...]]></description>
      <content:encoded><![CDATA[<h1><span style="font-family:Segoe UI;">Contexte </span></h1>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">Vous avez g&eacute;n&eacute;r&eacute; sur votre environnement SharePoint 2010 une solution bas&eacute;e sur la fonctionnalit&eacute; variations. </span></p>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">Imaginons que cette solution est la forme simple suivante&nbsp;: </span></p>
<p>&nbsp;</p>
<ul>
<li><span style="font-family:Segoe UI;font-size:10pt;">Une collection de sites g&eacute;n&eacute;r&eacute;e &agrave; partir du template de site &laquo;&nbsp;Publishing Portal&nbsp;&raquo;. </span></li>
<li><span style="font-family:Segoe UI;font-size:10pt;">Cette collection de site h&eacute;berge le site racine (de r&eacute;f&eacute;rence) pour les autres labels. </span></li>
<li><span style="font-family:Segoe UI;font-size:10pt;">Un ou deux autres labels, voir beaucoup plus, sont pr&eacute;sents dans cette solution bas&eacute;e sur les variations. </span></li>
</ul>
<p><span style="font-family:Segoe UI;font-size:10pt;">Au final la solution disponible sur SharePoint 2010 pourrait avoir la forme suivante. </span></p>
<p>&nbsp;</p>
<p style="margin-left:35pt;"><span style="font-family:Segoe UI;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/test.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/test.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/68/test.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-68/test.png" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">Vous d&eacute;cidez de migrer ce contenu vers SharePoint 2013. Pour ce faire, la base de donn&eacute;es est sauvegard&eacute;e, restaur&eacute;e sur le nouvel environnement SQL et attach&eacute;e &agrave; la nouvelle application web SharePoint 2013 avec la commande PowerShell &laquo;&nbsp;Mount-SPContentDatabase&nbsp;&raquo;. </span></p>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">Dans ce nouvel environnement toute modification effectu&eacute;e sur le label racine ne sera plus propag&eacute;e vers les labels &laquo;&nbsp;enfants&nbsp;&raquo; faisant parties de la hi&eacute;rarchie. </span></p>
<h1><span style="font-family:Segoe UI;">R&eacute;solution<span style="font-size:16pt;"> </span></span></h1>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">La raison de ce dysfonctionnement, apr&egrave;s la migration, est que tous les labels, autre que le label racine, devraient avoir une propri&eacute;t&eacute; nomm&eacute;e &laquo;&nbsp;NotificationMode&nbsp;&raquo; &eacute;gale &agrave; <em>False</em>, alors que le label racive devrait cette propri&eacute;t&eacute; &eacute;gale &agrave; <em>True</em>, ce qui n&#39;est pas le cas. Cette propri&eacute;t&eacute; apr&egrave;s la migration est positionn&eacute;e &agrave; <em>Null</em> pour tous les labels. </span></p>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">Une solution de contournement a &eacute;t&eacute; trouv&eacute;e par le service support de Microsoft et ce dysfonctionnement a &eacute;t&eacute; report&eacute;e aupr&egrave;s du groupe produit SharePoint. </span></p>
<h1><span style="font-family:Segoe UI;">Conclusion<span style="font-size:16pt;"> </span></span></h1>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">La solution de contournement suivante a &eacute;t&eacute; officialis&eacute;e (support&eacute;) par le groupe produit SharePoint et la fourniture d&#39;une solution sous forme de correctif est pour l&#39;instant hors du champ de vision des prochaines mises &agrave; jour SharePoint 2013. </span></p>
<p>&nbsp;</p>
<p><span style="font-family:Segoe UI;font-size:10pt;">Le script PowerShell suivant peut &ecirc;tre utilis&eacute; pour mettre &agrave; jour les labels appartenant &agrave; la hi&eacute;rarchie. </span></p>
<p>&nbsp;</p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$web</span> <span style="color:darkgray;">=</span> <span style="color:blue;">Get-SPWeb</span> <span style="color:blueviolet;">https://nomDuSite</span> </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$list</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$web<span style="color:darkgray;">.</span>GetListFromUrl(<span style="color:darkred;">&quot;/Variation Labels/AllItems.aspx&quot;</span>) </span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$nbItems</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$list<span style="color:darkgray;">.</span>ItemCount </span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:darkblue;">For</span> (<span style="color:orangered;">$i</span> <span style="color:darkgray;">=</span> <span style="color:purple;">0</span> ; <span style="color:orangered;">$i</span> <span style="color:darkgray;">-lt</span> <span style="color:orangered;">$nbItems</span> ; <span style="color:orangered;">$i<span style="color:darkgray;">++</span>) </span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">{ </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp; <span style="color:darkblue;">If</span> (<span style="color:orangered;">$i</span> <span style="color:darkgray;">-eq</span> <span style="color:purple;">0</span>) </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp; { </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:orangered;">$item</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$list<span style="color:darkgray;">.</span>Items<span style="color:darkgray;">[<span style="color:orangered;">$i<span style="color:darkgray;">]</span> </span></span></span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:orangered;">$item<span style="color:darkgray;">[<span style="color:darkred;">&quot;NotificationMode&quot;<span style="color:darkgray;">]</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$true</span> </span></span></span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:orangered;">$item<span style="color:darkgray;">.</span>Update() </span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp; } </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp; <span style="color:darkblue;">Else</span> </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp; { </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:orangered;">$item</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$list<span style="color:darkgray;">.</span>Items<span style="color:darkgray;">[<span style="color:orangered;">$i<span style="color:darkgray;">]</span> </span></span></span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:orangered;">$item<span style="color:darkgray;">[<span style="color:darkred;">&quot;NotificationMode&quot;<span style="color:darkgray;">]</span> <span style="color:darkgray;">=</span> <span style="color:orangered;">$false</span> </span></span></span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:orangered;">$item<span style="color:darkgray;">.</span>Update() </span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">&nbsp;&nbsp; } </span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">} </span></p>
<p style="background:white;"></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="font-size:medium;"><span style="font-family:Calibri;">Je remercie&nbsp;Dominique&nbsp;Vives&nbsp;pour la relecture de ce blog.</span></span></span></p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="font-size:medium;"><span style="font-family:Calibri;">&nbsp;</span></span></span></p>
<p style="background:white;text-align:right;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="font-size:medium;"><span style="font-family:Calibri;">Yamine Tai&euml;b<br /></span></span></span></p>
<p></p>]]></content:encoded>
    </item>
  </channel>
</rss>