<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sitecore Xperiences &#187; Content Hub</title>
	<atom:link href="https://blog.peplau.com.br/category/content-hub/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.peplau.com.br</link>
	<description>The things I&#039;ve seen as a Sitecore Professional</description>
	<lastBuildDate>Sun, 09 Mar 2025 21:54:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title> Know your Media Library disk usage with a simple PowerShell script</title>
		<link>https://blog.peplau.com.br/know-your-media-library-disk-usage-with-a-simple-powershell-script/</link>
		<comments>https://blog.peplau.com.br/know-your-media-library-disk-usage-with-a-simple-powershell-script/#comments</comments>
		<pubDate>Fri, 10 Jan 2025 21:14:52 +0000</pubDate>
		<dc:creator><![CDATA[Rodrigo Peplau]]></dc:creator>
				<category><![CDATA[Content Hub]]></category>
		<category><![CDATA[SPE]]></category>
		<category><![CDATA[SPE-only Alliance]]></category>

		<guid isPermaLink="false">http://blog.peplau.com.br/?p=1058</guid>
		<description><![CDATA[<div class="lr_horizontal_share" data-share-url="https://blog.peplau.com.br/know-your-media-library-disk-usage-with-a-simple-powershell-script/"></div>Happy Friday, Sitecore Community! As we head into the weekend, I thought I’d share a handy PowerShell script I recently put together that helped me with a Content Hub license cost analysis. If you’re working on a similar project or want to understand how much disk space your Sitecore Media Library uses, this one’s for [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Happy Friday, Sitecore Community! As we head into the weekend, I thought I’d share a handy PowerShell script I recently put together that helped me with a <strong>Content Hub license cost analysis</strong>. If you’re working on a similar project or want to understand how much disk space your Sitecore Media Library uses, this one’s for you!</p>
<p>I needed to calculate the total storage space used across multiple asset sources during my analysis. One of the most critical sources was the <strong>Sitecore Media Library</strong>, and after some googling, I quickly realized there wasn’t an easy way to calculate the total size directly from the CM server, without involving SQL queries or manual summations from reports. So, I built a simple and effective <strong>Sitecore PowerShell Extensions (SPE)</strong> script that gives you the <strong>total Media Library size in MB</strong> directly from the CM interface. No database access required!</p>
<div id="attachment_1061" style="width: 310px" class="wp-caption aligncenter"><a href="http://blog.peplau.com.br/wp-content/uploads/DALL·E-2025-01-10-17.49.49-A-minimalist-logo-design-for-the-SPE-only-alliance-Sitecore-Powershell-Extensions-featuring-a-powerful-symbol-of-a-lightning-bolt-combined-with-a-sh.png"><img class="size-medium wp-image-1061" src="http://blog.peplau.com.br/wp-content/uploads/DALL·E-2025-01-10-17.49.49-A-minimalist-logo-design-for-the-SPE-only-alliance-Sitecore-Powershell-Extensions-featuring-a-powerful-symbol-of-a-lightning-bolt-combined-with-a-sh-300x300.png" alt="SPE-only Alliance" width="300" height="300" /></a><p class="wp-caption-text">Another goal was scored by the <span style="text-decoration: underline;"><strong>SPE-only Alliance</strong></span>!</p></div>
<h2><strong>The Script</strong></h2>
<p>Here’s the full PowerShell script that can be run in <strong>Sitecore PowerShell ISE</strong>:</p>
<hr />
<p><script src="https://gist.github.com/peplau/166c204ad243b8ac8e76cc1b856617a0.js"></script></p>
<hr />
<h3>Output Example:</h3>
<blockquote><p><span class="hljs-attr">Total Media Library Size:</span> <span class="hljs-number">1473.92 </span><span class="hljs-string">MB</span></p></blockquote>
<p>I hope this little script helps you start the weekend with one less thing on your to-do list! If you give this script a try, please let me know how it worked for you.</p>
<p>And if you have improvements or tweaks, feel free to share them — <strong>after all, that’s what makes the Sitecore community so awesome!</strong></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.peplau.com.br/know-your-media-library-disk-usage-with-a-simple-powershell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XM Cloud Starter Kit with Content Hub Integration</title>
		<link>https://blog.peplau.com.br/xm-cloud-starter-kit-with-content-hub-integration/</link>
		<comments>https://blog.peplau.com.br/xm-cloud-starter-kit-with-content-hub-integration/#comments</comments>
		<pubDate>Fri, 04 Aug 2023 20:54:38 +0000</pubDate>
		<dc:creator><![CDATA[Rodrigo Peplau]]></dc:creator>
				<category><![CDATA[Content Hub]]></category>
		<category><![CDATA[XM Cloud]]></category>

		<guid isPermaLink="false">http://blog.peplau.com.br/?p=977</guid>
		<description><![CDATA[<div class="lr_horizontal_share" data-share-url="https://blog.peplau.com.br/xm-cloud-starter-kit-with-content-hub-integration/"></div>TL;DR &#8211; If you want to activate the Content Hub Integration with Sitecore XM Cloud Starter Kit demo, this post is for you! &#160; Full Story Our team in Arke Brazil recently used the &#8220;XM Cloud Starter Kit&#8221; to quickly spin up a fully functional demo for our clients. We also wanted to demonstrate the native integration [&#8230;]]]></description>
				<content:encoded><![CDATA[<blockquote><p><strong>TL;DR &#8211; If you want to activate the <span style="text-decoration: underline;">Content Hub Integration</span> with Sitecore <span style="text-decoration: underline;">XM Cloud Starter Kit</span> demo, this post is for you!</strong></p></blockquote>
<p>&nbsp;</p>
<h2>Full Story</h2>
<p>Our team in <a href="https://arke.com/" target="_blank">Arke</a> Brazil recently used the &#8220;XM Cloud Starter Kit&#8221; to quickly spin up a fully functional demo for our clients. We also wanted to demonstrate the native integration between XM Cloud and Content Hub, which is not enabled by default.</p>
<p>If you try, XM Cloud will show the message &#8220;<em>The DAM provider cannot be shown. Try refreshing the page. If the error reoccurs, contact your system administrator.</em>&#8221;</p>
<p><a href="http://blog.peplau.com.br/wp-content/uploads/DAM-not-configured-on-XM-Cloud.png"><img class="alignnone size-full wp-image-983" src="http://blog.peplau.com.br/wp-content/uploads/DAM-not-configured-on-XM-Cloud.png" alt="DAM not configured on XM Cloud" width="660" height="200" /></a></p>
<p>The steps to enable the integration, shown in the <a href="https://doc.sitecore.com/xmc/en/developers/xm-cloud/walkthrough--enabling-the-dam-connector-in-an-environment-deployed-to-xm-cloud.html" target="_blank">official walkthrough</a>, require changes in the source control repository linked to our XM Cloud environment.</p>
<p>But since we are using the XM Cloud Starter Kit, instead of starting from our own source code implementation, what should we do to change those files?</p>
<p>&nbsp;</p>
<p><strong>Don&#8217;t worry, follow the steps below and be happy!</strong></p>
<ol>
<li>Run the <a href="https://doc.sitecore.com/xmc/en/developers/xm-cloud/walkthrough--enabling-the-dam-connector-in-an-environment-deployed-to-xm-cloud.html#prerequisites" target="_blank">pre-requisites from the walkthrough</a>, including <a href="https://doc.sitecore.com/xmc/en/developers/xm-cloud/create-a-user-in-sitecore-content-hub-for-scch.html" target="_blank">the creation of a user in Sitecore Content Hub that has the relevant user rights</a>;</li>
<li>Follow the steps to <a href="https://doc.sitecore.com/xmc/en/developers/xm-cloud/walkthrough--enabling-the-dam-connector-in-an-environment-deployed-to-xm-cloud.html#configure-and-enable-the-dam-connector-in-the-xm-cloud-deploy-app" target="_blank">configure and enable the DAM connector in your app</a>; This will create 4 environment variables in your XM Cloud; It&#8217;s important that you follow the instructions correctly and input your Content Hub configurations correctly in accordance with your installation</li>
<li>The third step, &#8220;<a href="https://doc.sitecore.com/xmc/en/developers/xm-cloud/walkthrough--enabling-the-dam-connector-in-an-environment-deployed-to-xm-cloud.html#configure-and-enable-the-dam-connector-in-the-xm-cloud-deploy-app" target="_blank">Configure the DAM connection</a>&#8220;, is where we need to update files in our source control repository. For that, let&#8217;s find out your source repository, clone it and apply the required file changes:
<ol>
<li>In XM Cloud Deploy, go to Projects &gt; Click on your project &gt; Click at the Details tab &#8211; here is where you find the repository account and repository name linked to your XM Cloud App<br />
<a href="http://blog.peplau.com.br/wp-content/uploads/XM-Cloud-source-repository.png"><img class="alignnone size-full wp-image-982" src="http://blog.peplau.com.br/wp-content/uploads/XM-Cloud-source-repository.png" alt="XM Cloud source repository" width="353" height="335" /></a></li>
<li>Clone this repository &#8211; if you don&#8217;t have permission you&#8217;ll need to request to the administrators.</li>
<li>Apply the file changes described in the step 3 of the walkthrough;</li>
<li>Commit your changes, push them, and deploy the solution again</li>
</ol>
</li>
<li>Run the final step to <a href="https://doc.sitecore.com/xmc/en/developers/xm-cloud/walkthrough--enabling-the-dam-connector-in-an-environment-deployed-to-xm-cloud.html#configure-cors-for-dam" target="_blank">Configure CORS for DAM</a>; Without this part, the image picker will display the following error:<br />
<a href="http://blog.peplau.com.br/wp-content/uploads/DAM-integration-error.png"><img class="alignnone size-full wp-image-984" src="http://blog.peplau.com.br/wp-content/uploads/DAM-integration-error.png" alt="DAM integration error" width="532" height="181" /><br />
</a></li>
</ol>
<p>When everything is correctly setup, you will now have Content Hub integration working on your Image Picker!</p>
<p><a href="http://blog.peplau.com.br/wp-content/uploads/DAM-image-picker.png"><img class="alignnone wp-image-985 size-full" src="http://blog.peplau.com.br/wp-content/uploads/DAM-image-picker.png" alt="DAM image picker" width="567" height="267" /></a></p>
<p>&nbsp;</p>
<p>Happy XM Clouding!</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.peplau.com.br/xm-cloud-starter-kit-with-content-hub-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
