<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">Blog posts by Tung Tran</title><link href="https://world.optimizely.com/blogs/tung-tran/" /><updated>2024-04-15T04:47:34.0000000Z</updated><id>https://world.optimizely.com/blogs/tung-tran/</id><generator uri="https://world.optimizely.com/blogs/tung-tran/" version="2.0">Optimizely World</generator><entry><title>Optimizely Search &amp; Navigation: Boosting in Unified Search</title><link href="https://world.optimizely.com/blogs/tung-tran/dates/2024/4/optimizely-search--navigation-boosting-in-unified-search/" /><id>https://world.optimizely.com/blogs/tung-tran/dates/2024/4/optimizely-search--navigation-boosting-in-unified-search/</id><published>2024-04-15T04:47:34.0000000Z</published><updated>2024-04-15T04:47:34.0000000Z</updated><author><name>tung.tran@perficient.com</name></author><category term="Blog post" /><summary type="html">&lt;p&gt;In the Optimizely Search &amp;amp; Navigation admin view, administrators can set a certain weight of different properties (title, content, summary, or document content). When an user searches for a keyword that matches to a property's value, the higher weight of that property will make the matching pages to be more likely to appear at the top of the search result.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://blogs.perficient.com/files/BoostAdmin.png" width="1188" alt="Boostadmin" height="416" /&gt;&lt;/p&gt;
&lt;p&gt;Once you configured the weights, you can boost scores by calling a standard Unified Search method - &lt;strong&gt;UnifiedSearchFor&lt;/strong&gt;:&lt;/p&gt;
&lt;pre class="EnlighterJSRAW"&gt;var result = client.UnifiedSearchFor(searchText).GetResult();&lt;/pre&gt;
&lt;p&gt;Or calling &lt;strong&gt;UsingUnifiedWeights() &lt;/strong&gt;with no parameters. This can also boost the scores based on the admin-defined weights.&lt;/p&gt;
&lt;pre class="EnlighterJSRAW"&gt;var result = client.UnifiedSearch(Language.English).For(searchText).UsingUnifiedWeights().GetResult();&lt;/pre&gt;
&lt;h3&gt;The problem:&lt;/h3&gt;
&lt;p&gt;However, in real life scenarios, those 4 out-of-the-box property weights in admin view are obviously not enough. For example, we want to boost the Author's name of the Article Page when using search. How can we do that?&lt;/p&gt;

&lt;p&gt;For more details, please visit this &lt;a href="https://blogs.perficient.com/2024/04/02/optimizely-search-navigation-boosting-in-unified-search/"&gt;complete post&lt;/a&gt;.&lt;/p&gt;</summary></entry><entry><title>Optimizely CMS – Getting all content of a specific property with a simple SQL script</title><link href="https://world.optimizely.com/blogs/tung-tran/dates/2024/4/optimizely-cms--getting-all-content-of-a-specific-property-with-a-simple-sql-script/" /><id>https://world.optimizely.com/blogs/tung-tran/dates/2024/4/optimizely-cms--getting-all-content-of-a-specific-property-with-a-simple-sql-script/</id><published>2024-04-15T04:30:08.0000000Z</published><updated>2024-04-15T04:30:08.0000000Z</updated><author><name>tung.tran@perficient.com</name></author><category term="Blog post" /><summary type="html">&lt;p&gt;When you need to retrieve all content of a specific property from a Page/Block type, normally you will use the IContentLoader or IContentRepository, or even IContentModelUsage to get all instances of a content type then select them by property. This is the correct implementation by code.&lt;/p&gt;
&lt;p&gt;But what if you only need to check the property's value for debugging/development purpose? Or generate a quick report for a property's usage? Then you have to wrap the above implementation inside an API or a custom tool, and then build, deploy, etc. Seems excessive for a single-use requirement, doesn't it? This article will guide you to go through this by just a SQL script.&lt;/p&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;
&lt;p&gt;In this article, we will try to get all MetaDescription of Standard Pages inside the Alloy template:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://blogs.perficient.com/files/alloy.png" width="751" alt="Alloy" height="479" /&gt;&lt;/p&gt;

&lt;p&gt;Please visit this &lt;a href="https://blogs.perficient.com/2023/06/19/optimizely-cms-getting-all-content-of-a-specific-property-with-a-simple-sql-script/"&gt;complete post&lt;/a&gt; here for more details.&lt;/p&gt;</summary></entry><entry><title>Optimizely CMS – Customize your Bulk Upload Confirmation</title><link href="https://blogs.perficient.com/?p=332006" /><id>https://blogs.perficient.com/?p=332006</id><published>2023-04-12T08:37:04.0000000Z</published><updated>2023-04-12T09:31:22.0000000Z</updated><author><name>tung.tran@perficient.com</name></author><category term="Blog post" /><summary type="html">When you upload a media file to a specific location, if the file is already existed, you will be noticed by a warning: You can either choose &amp;#8220;Skip this File&amp;#8221; to ignore the replacement, or hit &amp;#8220;Replace File&amp;#8221; to replace the old existing file. The issue Things went well until you did a bulk upload [&amp;#8230;]</summary></entry><entry><title>Optimizely CMS – Adding Sort option to the Asset Pane</title><link href="https://blogs.perficient.com/?p=319454" /><id>https://blogs.perficient.com/?p=319454</id><published>2022-10-03T03:15:58.0000000Z</published><updated>2022-10-11T04:01:11.0000000Z</updated><author><name>tung.tran@perficient.com</name></author><category term="Blog post" /><summary type="html">Have you ever felt tired of scrolling down the Asset Pane, looking for the item you&amp;#8217;ve just created? I know someone would say, &amp;#8220;Then just get a better structure for your content!&amp;#8221;. Right, folder structure should be in a hierarchical order for best practice. However, in some cases (especially the Media), specific content must be [&amp;#8230;]</summary></entry></feed>