tag:blogger.com,1999:blog-3450700177542839912024-02-07T06:45:53.142-08:00SitecoreSitecore Related Topics, Features and WorkaroundsHaneenhttp://www.blogger.com/profile/01536333773246903014noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-345070017754283991.post-43979119512679087602017-12-21T12:36:00.001-08:002017-12-21T12:36:46.374-08:00Sitecore : Rendering Exception Handling<div dir="ltr" style="text-align: left;" trbidi="on">
To prevent showing yellow crash page if an error raised in one of Sitecore controls and keep handle errors for developers without showing errors in the site.<br />
<br />
Easily override "Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer" by add new pipeline to execute the following code<br />
<br />
<script src="https://gist.github.com/HaneenDaoud/3ce7ec436a877a05c28850fb57ddfd90.js"></script>
<br />
<script src="https://gist.github.com/HaneenDaoud/eb13085c71986995b2331bc131789363.js"></script>
<br />
<div style="background-color: white; border: 0px; color: #555555; font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", sans-serif; font-size: 14px; margin-bottom: 1.6em; margin-top: 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
</div>
</div>
Haneenhttp://www.blogger.com/profile/01536333773246903014noreply@blogger.com0tag:blogger.com,1999:blog-345070017754283991.post-54892637275596894842017-11-26T02:53:00.000-08:002017-11-28T03:35:53.827-08:00Sitecore 8.1 (rev.151003) - EXM Can't create onetime message<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<header class="entry-header" style="background-color: white; box-sizing: inherit; color: #1a1a1a; display: block; font-style: normal; font-weight: 400; letter-spacing: normal; margin-left: 0px; margin-right: 0px; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><h1 class="entry-title" style="box-sizing: inherit; clear: both; font-weight: 700; line-height: 1.225; margin: 0px 0px 1.05em;">
</h1>
</header><br />
<div class="entry-content" style="background-color: white; border-color: rgb(209, 209, 209); box-sizing: inherit; color: #1a1a1a; float: right; font-style: normal; font-weight: 400; letter-spacing: normal; margin-left: 0px; margin-right: 0px; text-indent: 0px; text-transform: none; white-space: normal; width: 545px; word-spacing: 0px;">
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">I have been facing issues in create onetime message from "Create button" in Email Experience Manage EXM in Sitecore 8.1 (rev.151003) , while it was working from the content editor.</span></div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">Creating any message types, you would get the templates showing up, select any template and click create.</span></div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">The create button disables and no further action happens and the page is not refreshed.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh99Lbize50y9Tj2G2lC0F4nr1__KuJ5LDGwybDiBz_VT9pDzrHcg01j3Hjvz83GAt0l8NP9b85HSvfyRYwqjcNfzaB5BQ95XsF-96G8mHCxxCsxF9F6VoRxrCaxkPMRCLlaeK6dGcC3sk/s1600/One-Time-Message-Create-Greyed-Out.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="760" data-original-width="1198" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh99Lbize50y9Tj2G2lC0F4nr1__KuJ5LDGwybDiBz_VT9pDzrHcg01j3Hjvz83GAt0l8NP9b85HSvfyRYwqjcNfzaB5BQ95XsF-96G8mHCxxCsxF9F6VoRxrCaxkPMRCLlaeK6dGcC3sk/s320/One-Time-Message-Create-Greyed-Out.png" width="320" /></span></a></div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">After investigation I found that there is a switch statement in <span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">MessageCreationDialogBase.js and it is case sensitive and the site has custom link provider set with lowercaseUrls=”true” then the case statement fails.</span></span></div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">the simple fix was to go into the custom config file which has the link manager and change:</span>
</span></span>
<script src="https://gist.github.com/HaneenDaoud/2bc35ec9d5581f42a6dd06626037b00c.js"></script>
<script src="https://gist.github.com/HaneenDaoud/c09595c4c132c0e8919b6037bd2902db.js"></script></div>
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"></span><span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"></span><span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br />
<div class="entry-content" style="background-color: white; border-color: rgb(209, 209, 209); box-sizing: inherit; color: #1a1a1a; float: right; font-style: normal; font-weight: 400; letter-spacing: normal; margin-left: 0px; margin-right: 0px; text-indent: 0px; text-transform: none; white-space: normal; width: 545px; word-spacing: 0px;">
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
</div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
</div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></span></div>
</div>
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
</span><span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"></span>
<br />
<br />
<br />
<br />
<header class="entry-header" style="background-color: white; box-sizing: inherit; color: #1a1a1a; display: block; font-style: normal; font-weight: 400; letter-spacing: normal; margin-left: 0px; margin-right: 0px; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><h1 class="entry-title" style="box-sizing: inherit; clear: both; font-weight: 700; line-height: 1.225; margin: 0px 0px 1.05em;">
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<i><span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></i></span></h1>
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
</span></header><br />
<div class="entry-content" style="background-color: white; border-color: rgb(209, 209, 209); box-sizing: inherit; color: #1a1a1a; float: right; font-style: normal; font-weight: 400; letter-spacing: normal; margin-left: 0px; margin-right: 0px; text-indent: 0px; text-transform: none; white-space: normal; width: 545px; word-spacing: 0px;">
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
</div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></span></div>
</div>
<span style="background-color: white; color: #1a1a1a; display: inline; float: none; font-size: 16px; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
</span>
<br />
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></div>
<div style="box-sizing: inherit; margin: 0px 0px 1.75em;">
<b><i><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></i></b></div>
</div>
<div>
<strike><span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></strike></div>
<div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br /></div>
Haneenhttp://www.blogger.com/profile/01536333773246903014noreply@blogger.com0tag:blogger.com,1999:blog-345070017754283991.post-86662410832952156812017-10-22T06:52:00.000-07:002017-11-19T07:22:45.349-08:00What I learned in Sitecore Symposium 2017 <div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">Sitecore Symposium in Las Vegas was my first event I attended for Sitecore it was a huge event with about 3000 attendance between partners, customers, MVPs and developers. </span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM4joQ_3yaaDAStqzgKV16RpSEn4wmDedFvQSBEjhZ7-J_LwXr8-PhQb7BP8LF1j9AbWnNrpd-vmPVbsy54qrAXRsvU3M0G1c5ryD9ALFQ9p96N-jC59N_O5e1XEGKetNF94l073Epg5E/s1600/sitecore+9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "times" , "times new roman" , serif;"><img border="0" data-original-height="666" data-original-width="977" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM4joQ_3yaaDAStqzgKV16RpSEn4wmDedFvQSBEjhZ7-J_LwXr8-PhQb7BP8LF1j9AbWnNrpd-vmPVbsy54qrAXRsvU3M0G1c5ryD9ALFQ9p96N-jC59N_O5e1XEGKetNF94l073Epg5E/s320/sitecore+9.png" width="320" /></span></a></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">As expected, the Sitecore Symposium 2017 in Las
Vegas was full of exciting announcements around Sitecore 9. We also found out a
lot about Sitecore’s wider news features and their plans for the future.</span></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvhO5PjsgaQr6PYri7j-ZI7i_J5M05iE0ePwVufHNQWBbdtoD3p02WWb9R2LrLL8N9DcqpE11kxyDVqWPAOGEfVw4IJ3Cunb6I35pyk8hEuG3pdNR1EKVJseM6pEcUd5qskQt06J67IB0/s1600/Sitecore+Symposium1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "times" , "times new roman" , serif;"><img border="0" data-original-height="900" data-original-width="1200" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvhO5PjsgaQr6PYri7j-ZI7i_J5M05iE0ePwVufHNQWBbdtoD3p02WWb9R2LrLL8N9DcqpE11kxyDVqWPAOGEfVw4IJ3Cunb6I35pyk8hEuG3pdNR1EKVJseM6pEcUd5qskQt06J67IB0/s320/Sitecore+Symposium1.jpg" width="320" /></span></a></div>
<div align="center" style="margin: 0px; text-align: center;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">Here’s what I learned about Sitecore9 new
features:</span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="margin: 0px;"><span style="margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;">
</span></span></span><b><span style="color: black; margin: 0px;">Sitecore
XConnect</span></b></span></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">xConnect is a framework
of rich APIs and services that allows users to integrate customer interaction
data collected by Sitecore with customer data from nearly any third-party CRM
system or channel. xConnect allows marketers to understand exactly what the
customer or prospect has been doing. Golden information that supports marketer
to tailor comes to delight targets.</span></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">A lot of work has also
gone into PII and GDPR compliance, also known as, “the right to be forgotten”.
Using xConnect, it will be possible to create various modules to comply with
the legislation which will come into force in 2018.<span style="box-sizing: inherit; margin: 0px;"> </span>
</span></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="color: black; margin: 0px;"><span style="margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;">
</span></span></span><b><span style="color: black; margin: 0px;">Sitecore JavaScript
Services (JSS for short) </span></b></span></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">JSS is a complete SDK for
JavaScript developers allowing to build full-fledged modern solutions using
Sitecore and JavaScript and being completely disconnected during development
and deploy to any platform in a headless configuration with full Experience
Platform capability preserved.</span></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="font-family: "times";"></span><br /></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="color: black; margin: 0px;"><span style="margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;"> </span></span></span><span style="color: black; margin: 0px;"><span style="margin: 0px;"><span style="font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 0px;">
</span></span></span></span><span style="font-family: "times" , "times new roman" , serif;"><b><span style="color: black; margin: 0px;">New Sitecore Forms
Engine</span></b></span></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">Sitecore Forms (a new
product to replace basic web forms) has been completely redesigned for today’s
marketers with a drag and drop UI to create forms and new features to ensure
that more quality customer data can be captured and acted upon with ease. The
analytics and reporting capabilities of the Sitecore Forms application enable
marketers to evaluate the effectiveness of their forms instantly.</span></div>
<div style="text-align: left;">
<br /></div>
<div style="box-sizing: inherit; margin-bottom: 2rem; margin-left: 0.5in; text-align: left; word-spacing: 0px;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">On the Performance Tab, you can see an overview
of the performance of your form and make quick decisions where necessary. For
example, marketers can now identify points of user friction instantly by
viewing form abandonment instances. This is incredibly useful during A/B
testing and provides quantitative data to impact CRO.</span></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="font-family: "times" , "times new roman" , serif;"><span style="font-family: "times" , "times new roman" , serif;"><span style="font-family: "times" , "times new roman" , serif;"><span style="font-family: "times" , "times new roman" , serif;"><span style="font-family: "times" , "times new roman" , serif;"><span style="font-family: "times" , "times new roman" , serif;"><span style="color: black; margin: 0px;"><span style="margin: 0px;"><span style="font-size: xx-small;"><span style="font-size: small;">·</span><span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;"> </span><span style="color: black; margin: 0px;"><span style="margin: 0px;"><span style="font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 0px;"> </span></span></span><span style="font-family: "times" , "times new roman" , serif;"><b><span style="color: black; font-size: small; margin: 0px;">The Sitecore Experience Cloud on Azure</span></b></span></span><br />
<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant: normal; line-height: normal; margin: 0px;">
</span></span></span></span></span></span></span></span></span></span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><span style="font-size: xx-small;"></span><span style="font-family: "times" , "times new roman" , serif;"></span><span style="font-family: "times" , "times new roman" , serif;"></span><span style="font-family: "times" , "times new roman" , serif;"></span><span style="font-family: "times" , "times new roman" , serif;"></span><span style="font-family: "times" , "times new roman" , serif;"></span><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">With the latest
release of Sitecore there is a stated commitment to be cloud-first. This means
that when adopting the Sitecore Experience Cloud, particularly when running as
platform-as-a-service on Azure, they're promising feature parity with
on-premise solutions.</span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">It's
great to hear about Sitecore's focus on the future and their strong alignment
with future-facing, forward thinking deployments.</span></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="color: black; margin: 0px;">Sitecore Experience Cloud allowing</span><span style="color: black; margin: 0px;"> businesses to
execute and scale their digital strategies, the Sitecore Experience Cloud
consists of:</span></span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; margin: 0px;"> </span>Sitecore
Experience Manager (Content Management System)</span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; margin: 0px;"> </span>Sitecore
Experience Platform (Sitecore 9)</span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; margin: 0px;"> </span>Sitecore
Experience Commerce (end-to-end e-commerce across all channels) </span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">Through a combined
offering of in-depth customer data, machine learning-insights and digital
marketing tools, Sitecore Experience Cloud is the complete digital marketing
experience.</span><br />
<br />
<span style="font-family: "times";">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;"></span><span style="color: black; margin: 0px;"><span style="margin: 0px;"><span style="font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 0px;"> <span style="font-family: "times" , "times new roman" , serif;"><span style="color: black; font-size: small; margin: 0px;"><b>Marketing Automation</b></span></span></span></span></span></span></div>
<ul style="text-align: left;">
</ul>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">Another new tool in
Version 9 is an incredibly slick and easy to use drag and drop user interface
to create automated marketing campaigns. This is a replacement for Engagement
Automation plans.</span></div>
<div style="margin-left: 0.5in; text-align: left;">
<br /></div>
<div style="box-sizing: inherit; margin-bottom: 2rem; margin-left: 0.5in; text-align: left; word-spacing: 0px;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">Marketing Automation allow to set up some
complex campaigns, enabling marketers to set up triggers to enter a contact
<span style="font-family: "times" , "times new roman" , serif;">into</span> the plan and effectively track them throughout their journey. The drag and
drop functionality makes it simple to set up conditions and rules allowing
marketers to validate campaign decisions on numerous data points gleaning
demographic data, device detection, list membership, personas, campaign and
goal triggers, allowing marketers to deliver a deeply personalized online
experience.</span></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="color: black; margin: 0px;"><span style="margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;">
</span></span></span><b><span style="color: black; margin: 0px;">Sitecore commerce
is an outstanding tool for retailers!</span></b></span></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">The newly-unveiled <span style="border-image: none; margin: 0px;">Sitecore Experience Commerce</span> has the
potential for brands to deliver an ultra-personalised end-to-end shopping
experience by combing content and commerce.</span></div>
<div style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">This was a huge
announcement, and will benefit ecommerce retailers. Carrying on Sitecore’s
theme of centralising and unifying processes, <span style="border-image: none; margin: 0px;">Sitecore
Experience Commerce</span> will be music to the ears of online merchants.
Testing, optimisation and industry price checks can be run alongside catalogue
and content management.<span style="border-image: none; margin: 0px;"> </span>This
creates an all-in-one environment and will cut down on time – a fantastic announcement.</span></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="margin: 0px;"><span style="margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;">
</span></span></span><b><span style="color: black; margin: 0px;">Dynamic
placeholders </span></b></span></div>
<div style="text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; margin: 0px;"><span style="font-family: "times" , "times new roman" , serif;">Finally dynamic
placeholders come out of the box with Sitecore 9. This has probably been one of
the most asked for features in Sitecore for a long time. Fortunately there have
been a few community modules that have helped in the past. One of the most popular
was the <a href="https://github.com/Fortis-Collection/dynamic-placeholders" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; outline: 0px; text-align: start; widows: 2; word-spacing: 0px;" target="_blank"><span style="color: black; margin: 0px; text-decoration: none;"><span style="border-image: none; margin: 0px;">Fortis Dynamic Placeholders</span></span></a><span style="-webkit-text-stroke-width: 0px; float: none; margin: 0px; orphans: 2; widows: 2; word-spacing: 0px;"> which used the rendering item’s unique Id to generate
the placeholder key.</span></span></span></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="margin-left: 0.5in; text-align: left;">
<br /></div>
<div style="margin-left: 0.5in; text-align: left; text-indent: -0.25in;">
<span style="font-family: "times" , "times new roman" , serif;"><span style="margin: 0px;"><span style="margin: 0px;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;"> <b>
</b></span></span></span><b><span style="color: black; margin: 0px;">Sitecore </span>installation<span style="color: black; margin: 0px;"> framework (SIF) </span></b></span></div>
<div style="text-align: left;">
<b><br /></b></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; font-family: "times" , "times new roman" , serif; margin: 0px;">One of the major change
to the platform is the way you install Sitecore on a server or local machine.
The standard .exe installer has been replaced with a Windows
PowerShell module which is called Sitecore Installation Framework (SIF). The
SIF comes with Sitecore related pre-built tasks and configuration files to
facilitate installation of Sitecore.</span></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; margin: 0px;"><span style="font-family: "times" , "times new roman" , serif;"></span><br /></span></div>
<div style="margin-left: 0.5in; text-align: left;">
<span style="color: black; margin: 0px;"><span style="font-family: "times" , "times new roman" , serif;"></span><br /></span></div>
<div style="text-align: left;">
<br /></div>
<div style="margin: 0px 0px 11px; text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"></span><br /></div>
<div style="text-align: left;">
<b></b><i></i><u></u><sub></sub><sup></sup><strike></strike></div>
</div>
Haneenhttp://www.blogger.com/profile/01536333773246903014noreply@blogger.com0tag:blogger.com,1999:blog-345070017754283991.post-8986913662960058522017-09-28T00:42:00.001-07:002017-09-28T00:42:41.669-07:00Sitecore Upload File watcher unable to create Sitecore items for big amount of files.<span style="color: #444444; font-family: Times, Times New Roman, serif;">Sitecore file watcher may not working in proper way for a big amount of files and that caused when the buffer of the .NET FileSystemWatcher class is full, it may fail to raise the Created event. </span><br />
<span style="color: #444444; font-family: Times, Times New Roman, serif;">These </span><span style="color: #444444; font-family: Times, "Times New Roman", serif;">steps is to solve this issue in Sitecore Xp 7.2 Update-6 </span><br />
<br />
<ul>
<li>Contact Sitecore support for the fix "Sitecore.Support.322918"</li>
<li><span style="color: #444444; font-family: Times, Times New Roman, serif;"> Add the settings </span></li>
</ul>
<span style="font-family: Times, "Times New Roman", serif;"><i><span style="color: #990000;"> <add type="Sitecore.Support.UploadWatcher,Sitecore.Support.322918" name="SitecoreUploadWatcher"/> </span></i></span><br />
<span style="font-family: Times, "Times New Roman", serif;"><span style="color: #444444;">before each occurrence of </span><i><span style="color: #990000;"><add type="Sitecore.Resources.Media.UploadWatcher, Sitecore.Kernel" name="SitecoreUploadWatcher"/> </span></i></span><br style="background-color: rgba(255, 255, 255, 0.498); box-sizing: border-box; color: #444444; font-family: Times, "Times New Roman", serif;" /><span style="background-color: rgba(255, 255, 255, 0.498); color: #444444; font-family: Times, "Times New Roman", serif; font-style: italic;">(see </span><span style="background-color: rgba(255, 255, 255, 0.498); font-family: Times, "Times New Roman", serif; font-style: italic;"><span style="color: #990000;"><system.webServer>/<modules></span></span><span style="background-color: rgba(255, 255, 255, 0.498); color: #444444; font-family: Times, "Times New Roman", serif; font-style: italic;"> section an</span><span style="background-color: rgba(255, 255, 255, 0.498); font-family: Times, "Times New Roman", serif; font-style: italic;"><span style="color: #990000;">d <system.web>/<httpModules></span></span><span style="background-color: rgba(255, 255, 255, 0.498); color: #444444; font-family: Times, "Times New Roman", serif; font-style: italic;"> section)</span><br />
<ul>
<li><span style="color: #444444; font-family: Times, Times New Roman, serif;"> Comment out all lines </span></li>
</ul>
<span style="color: #990000; font-family: Times, Times New Roman, serif;"><i><add type="Sitecore.Resources.Media.UploadWatcher, Sitecore.Kernel" name="SitecoreUploadWatcher"/></i></span><ul>
<li><span style="color: #444444; font-family: Times, Times New Roman, serif;">Put the Sitecore.Support.322918.dll file into the /bin folder of your web site </span></li>
</ul>
<ul>
<li><span style="color: #444444; font-family: Times, Times New Roman, serif;">In the web.config file, add the following string under the <settings> section</span></li>
</ul>
<span style="font-family: Times, Times New Roman, serif;"><span style="background-color: rgba(255, 255, 255, 0.498);"><i><span style="color: #990000;"><setting name="FileSystemWatcherBufferSize" value="4096000"/></span></i></span><br /><span style="background-color: rgba(255, 255, 255, 0.498); color: #444444;">Such value seems to be enough for 5000 files with short names, but you can increase it further to be sure that even files with very long names will be uploaded.</span></span><br />
<span style="color: #444444; font-family: Times, Times New Roman, serif;"><br /><span style="background-color: rgba(255, 255, 255, 0.498);">For example:</span><br /><span style="background-color: rgba(255, 255, 255, 0.498);">If the full file path contains 100 symbols, it takes 200 bytes</span><br /><span style="background-color: rgba(255, 255, 255, 0.498);">32000 files will take 6400000 bytes (6250 kb), so the setting value should be:</span></span><br />
<span style="color: #990000; font-family: Times, Times New Roman, serif;"><span style="background-color: rgba(255, 255, 255, 0.498);"><i> <setting name="FileSystemWatcherBufferSize" value="6400000 "/></i></span></span><br />
Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-345070017754283991.post-8522462013200258302017-07-21T02:00:00.000-07:002017-11-28T03:34:24.808-08:00Powershell - Import physical files to Sitecore media library<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="margin: 0px 0px 11px;">
<span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;">In some cases we need to import physical files to Sitecore media library, for example if we have pdf files issued by third party and Sitecore use these files to be shown for the client.</span><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><br /></span></div>
<ul style="text-align: left;">
<li><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">Install Sitecore PowerShell extensions on Sitecore Server</span></span></li>
<li><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">Enable Sitecore File watcher</span></span></li>
<li><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">Create new PowerShell script</span></span></li>
<li><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><span style="color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;"><span style="margin: 0px;"><span style="font-size-adjust: none; font-stretch: normal; font: 7pt "Times New Roman"; margin: 0px;"></span></span></span><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">Create new schedule task to run the PowerShell script </span></span><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><br /></span></li>
</ul>
<span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;">
<span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;"></span></span>
<div style="margin: 0px 0px 11px;">
<span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;"><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">PowerShell script include the following functionalities:</span></span></span></div>
<span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 107%; margin: 0px;"><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">
<div style="margin: 0px 0px 11px;">
<ul style="text-align: left;">
<li><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">Copy physical files from source folder to the destination folder (this folder supposed to be site Media folder under the site root</span></li>
<li><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">Check site publish targets to insure that all imported media published to all publish targets for the site</span></li>
<li><span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;">Start publish process from master to each publish target</span></li>
</ul>
</div>
<div style="margin: 0px 0px 0px 48px; text-indent: -0.25in;">
<script src="https://gist.github.com/HaneenDaoud/1cd642bcb4debf14c47319ccd815b138.js"></script>
</div>
<div style="margin: 0px 0px 0px 48px; text-indent: -0.25in;">
<span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;"><br /></span></div>
<div style="margin: 0px 0px 0px 48px; text-indent: -0.25in;">
<span style="background: white; color: #242729; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 107%; margin: 0px;"><br /></span></div>
<div style="margin: 0px 0px 11px 48px; text-indent: -0.25in;">
</div>
<div style="margin: 0px 0px 11px 48px;">
<br /></div>
<div style="margin: 0px 0px 11px 48px; text-indent: -0.25in;">
<b><br /></b></div>
</span><div style="margin: 0px 0px 11px;">
<b><br /></b></div>
</span><br />
<div style="margin: 0px 0px 11px;">
<br /></div>
</div>
Haneenhttp://www.blogger.com/profile/01536333773246903014noreply@blogger.com0tag:blogger.com,1999:blog-345070017754283991.post-4690066609352966072017-06-14T02:24:00.000-07:002017-11-28T02:03:31.257-08:00Sitecore 8.1 - Sitecore publishing stucks and CD server contents not updated<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoListParagraphCxSpFirst" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l1 level1 lfo3; text-indent: -.25in;">
</div>
<div style="text-align: center; text-indent: -24px;">
<br /></div>
<ul>
<li><span style="font-family: "arial" , sans-serif; font-size: 13.3333px; line-height: 13.5pt; text-indent: -0.25in;">Sitecore 8.1 </span><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">is not publishing and “initializing” is going forever</span></li>
<li><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span dir="LTR" style="line-height: 13.5pt; text-indent: -0.25in;"></span><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">CD website contents are not updated after publish to CD while the
database is up to date</span></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-BtdEtG9cwn4/V1_RqGTceTI/AAAAAAAAADo/oPk224c0hqQTbxmeBu4x-bNur0RcZ9fWgCLcB/s1600/Publish.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://4.bp.blogspot.com/-BtdEtG9cwn4/V1_RqGTceTI/AAAAAAAAADo/oPk224c0hqQTbxmeBu4x-bNur0RcZ9fWgCLcB/s320/Publish.png" width="273" /></a></div>
<!--[if !supportLists]--><br />
<a name='more'></a><br />
<br />
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoListParagraph" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto;">
<span style="font-family: "arial" , sans-serif; font-size: 10pt;"> <b>Solution</b>:</span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
</div>
<ul>
<li><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span dir="LTR" style="line-height: 13.5pt; text-indent: -0.25in;"></span><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">Add the following handler server to CM environment at <b>sitecore.config </b>file to clear HTML cache in the remote server (CD environment)</span></li>
</ul>
<script src="https://gist.github.com/HaneenDaoud/3a3bd2882b00958451a18216c709a602.js"></script>
<br />
<ul>
<li><span style="background-color: transparent; font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">\App_Config\Sitecore.config</span><span style="background-color: transparent; font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> file, set the </span><span style="background-color: transparent; font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">Indexing.UpdateInterval</span><span style="background-color: transparent; font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> setting to the </span><span style="background-color: transparent; font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">00:00:00</span><span style="background-color: transparent; font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> value </span><span style="background-color: transparent; font-family: "arial" , sans-serif; font-size: 9pt; line-height: 13.5pt; text-indent: -0.25in;"> on both CM and CD servers</span></li>
</ul>
<ul>
<li><span style="background-color: #fcfcfc; font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span dir="LTR" style="background-color: #fcfcfc; line-height: 13.5pt; text-indent: -0.25in;"></span><span style="background: white; color: #222222; font-family: "arial" , sans-serif; font-size: 9pt; line-height: 13.5pt; text-indent: -0.25in;">Comment the </span><span style="background: white; color: #222222; font-family: "courier new"; font-size: 9pt; line-height: 13.5pt; text-indent: -0.25in;">CleanupEventQueue</span><span style="background: white; color: #222222; font-family: "arial" , sans-serif; font-size: 9pt; line-height: 13.5pt; text-indent: -0.25in;"> agent is set to </span><span style="background-color: #fcfcfc; font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"><IntervalToKeep>06:00:00</IntervalToKeep></span><span style="background-color: #fcfcfc; font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> on both CM and CD. The </span><span style="background-color: #fcfcfc; font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"><DaysToKeep>1</DaysToKeep></span><span style="background-color: #fcfcfc; font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> </span></li>
</ul>
<ul>
<li><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> </span><span style="font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">\App_Config\Sitecore.config</span><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> file, remove the </span><span style="font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">__system</span><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> index definition
under the </span><span style="font-family: "courier new"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">\configuration\sitecore\search\configuration</span><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"> element:</span></li>
</ul>
<span style="background-color: #fcfcfc; font-family: "courier new"; font-size: 10pt; line-height: 13.5pt;"><search></span><br />
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;">...</span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;"> <configuration
type="Sitecore.Search.SearchConfiguration, Sitecore.Kernel"
singleInstance="true"></span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;"> <s><indexes
hint="list:AddIndex"></s></span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;">
<s><index id="system"
type="Sitecore.Search.Index, Sitecore.Kernel"></s><br />
<s>...</s></span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;">
<s></index></s></span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;"> <s></indexes></s></span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;">
</configuration></span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "courier new"; font-size: 10pt;"></search></span><span style="font-family: "arial" , sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FCFCFC; line-height: 13.5pt; margin-bottom: .0001pt; margin: 0in; mso-list: l2 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;">
</div>
<ul>
<li><span style="font-family: "symbol"; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span dir="LTR" style="line-height: 13.5pt; text-indent: -0.25in;"></span><span style="font-family: "arial" , sans-serif; font-size: 10pt; line-height: 13.5pt; text-indent: -0.25in;">On both CM and CD servers, keep disabled Sitecore Performance
Counters, Sitecore Memory Monitor and Sitecore Health Monitor:</span></li>
</ul>
<script src="https://gist.github.com/HaneenDaoud/45723804d585ba25ae17445c3869832b.js"></script>
<br />
<div>
<div class="MsoNormal">
<br /></div>
</div>
</div>
Anonymousnoreply@blogger.com10tag:blogger.com,1999:blog-345070017754283991.post-30920462391902748172017-05-25T10:26:00.000-07:002017-05-25T10:42:22.281-07:00Sitecore Creating custom search index<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;">Do you have an issue in your live system with indexing whereby a re-index of data can take long hours and the index frequently becomes corrupted forcing more regular re-indexes, a timely and intensive process?</span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;">Some items are used in a very distinct manner on the site to show logged in users the items that relate specifically to their account. There are no filters for this information so the indexed data need only be relatively simple.</span></div>
</div>
<h3>
</h3>
<h4>
</h4>
<h3>
</h3>
<h2>
</h2>
<h4>
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif; font-size: large;">Extract items into distinct indexes</span></li>
</ul>
</h4>
<div class="MsoNormal">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;">As a precursor to this work, it will be necessary to implement the audit recommendation to review and restructure Sitecore content and media library to reduce the number of folders at the root level and placing the directories at a high level and distinct from the rest of the media library and content so that they can be indexed independently:</span><br />
<span style="font-family: "times" , "times new roman" , serif;"><span lang="EN-GB" style="color: #660000; font-family: inherit;"><br /></span> </span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;">Ex:</span><br />
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;">If we have the following structure in the Sitecore tree and Custom Item A include up to 100000 images and Custom Item B has 1000000 images then Sitecore rebuild indexes will take hours to complete indexing.</span><br />
<span style="font-family: "times" , "times new roman" , serif;"><span lang="EN-GB" style="color: #660000; font-family: inherit;"></span><br /></span>
<br />
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">Sitecore</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">Content</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">Home</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">Item1</span></li>
</ul>
</ul>
<li><span style="font-family: "times" , "times new roman" , serif;">Media Library</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">Custom Item A</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">2015</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">2016</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">2017</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">12</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">11</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">10</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">9</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">image1</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image 2</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image3</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image4</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image5</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image6</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image 100000</span></li>
</ul>
</ul>
</ul>
<li><span style="font-family: "times" , "times new roman" , serif;">Custom Item B</span></li>
<ul>
<li><span style="font-family: "times" , "times new roman" , serif;">image1</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">imag2</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image3</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image 4</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image5</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image6</span></li>
<li><span style="font-family: "times" , "times new roman" , serif;"><br /></span></li>
<li><span style="font-family: "times" , "times new roman" , serif;">image100000</span></li>
</ul>
</ul>
</ul>
</ul>
</div>
<div style="text-align: justify;">
</div>
<ul>
<li style="text-align: left;"><span style="color: #660000;"><span lang="EN-GB" style="font-family: "times" , "times new roman" , serif; text-indent: -0.25in;">/sitecore/media library/Documents/Custom Item A </span></span></li>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">/sitecore<span style="text-indent: -0.25in;">/media library/Documents/Custom Item B</span></span></li>
</ul>
</div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;">The first step will then be to extract the custom items into distinct indexes. This will allow them to be managed independently of the main website data (news, events, etc.) reducing the overhead on the servers and consequently the time required to re-index this data when needed. As there will be less overall data held in each of these indexes it should, in turn, to reduce the number of corruptions that occur.</span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;">The new indexes should be configured with as few of the computed fields if needed.</span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;">This will require changes to the media library content structure in Sitecore, the index configurations and the code that accesses the index in various touch points across the site code to utilise the new indexes.</span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;"><b><br /></b></span></div>
</div>
<b style="color: #660000; font-family: times, "times new roman", serif;">Steps to create a custom index configuration file:</b><br />
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Create custom config file ex: Stecore.ContentSearch.Lucene.CstomIndexConfiguration.config</span></li>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Replace default index configuration tag <DefaultIndexConfiguration> with new custom name under <index configurations></span></li>
</ul>
<table class="highlight tab-size js-file-line-container" data-tab-size="8" style="background-color: white; border-collapse: collapse; border-spacing: 0px; box-sizing: border-box; text-align: left;"><tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;"></tr>
<tr style="box-sizing: border-box;"><td class="blob-code blob-code-inner js-file-line" id="file-lucence-configuration-index-LC8" style="box-sizing: border-box; line-height: 20px; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;"><CustomIndexConfiguration type="Sitecore.ContentSearch.LuceneProvider.</span><br />
<span style="font-family: "times" , "times new roman" , serif;"><span style="color: #660000;">LuceneIndexConfiguration,</span><span style="color: #660000;">Sitecore.ContentSearch.LuceneProvider"></span></span></td></tr>
<tr style="box-sizing: border-box;"></tr>
</tbody></table>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Add included templates to "Include template" tag</span></li>
</ul>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;">ex:</span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"> <include hint="list:IncludeTemplate"></span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"> <CustomTemplateId>{0603F166-35B8-469F-8123-E8D87BEDC171}</CustomTemplateId></span></div>
</div>
<div class="MsoNormal">
<span lang="EN-GB" style="color: #660000; font-family: "times" , "times new roman" , serif;"></span></div>
<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"> </include></span></div>
</div>
<div class="MsoNormal">
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
</div>
<div class="MsoNormal">
</div>
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Add computed fields used in the search</span></li>
</ul>
<script src="https://gist.github.com/HaneenDaoud/3a140c74b4beec5fb55c448ac6e23775.js"></script>
<br />
<div>
</div>
<div>
<div style="text-align: left;">
<b><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Steps to create a custom index file:</span></b></div>
</div>
<div>
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Create new index file ex: Sitecore.ContentSearch.Lucene.Index.Custom.config</span></li>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">In this file add custom index name to </span></li>
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;"> <index id="[index name]" type="Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider"></span></li>
</ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Navigate to Configuration tab to update the path to use new configuration tag to use custom index tag added to index configuration file which was <b>CustomIndexConfiguration</b> in our example </span></li>
<ul>
<li style="text-align: left;"> <script src="https://gist.github.com/HaneenDaoud/a1b2e73154b39827ed4a3be79ed298ea.js"></script></li>
</ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif;">Add root ID for the items included in this index by add parent ID <Root> tag </span></li>
</ul>
<script src="https://gist.github.com/HaneenDaoud/4a3e4e5b07729a381734df48fde6b5c3.js"></script><span style="font-family: "times" , "times new roman" , serif;"> At the end the file will look like the follwoing</span><br />
<script src="https://gist.github.com/HaneenDaoud/fc691cecd0fe6970077f7513b2a70186.js"></script>
</div>
<div>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
</div>
<div>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
</div>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
<h3>
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif; font-size: large;">Exclude Custom indexed items from the main index</span></li>
</ul>
</h3>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;">To take the advantage of distinct indexing, we will need to make changes to the existing index configuration by excluding the template used for sub items if they have their separate templates or exclude these items by ID from the default index and also that requires the implementation of the audit review of the media library structure to make this feasible.</span></div>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;"><br /></span></div>
<div style="text-align: left;">
<span style="color: #660000; font-family: "times" , "times new roman" , serif;">From Default Lucene configuration file Exclude templates which have custom index configuration</span></div>
<script src="https://gist.github.com/HaneenDaoud/e1ced05fbb0411b366e53a871971a5e4.js"></script>
<br />
<h3 style="text-align: left;">
<span style="font-family: "times" , "times new roman" , serif;"><br /></span></h3>
<div>
<br />
<h2>
<br />
<br />
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif; "> Sitecore Search Indexing for custom indexed items</span></li>
</ul>
</h2>
<ul><ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif; font-size: medium;">After creating configuration files a new index will be added to indexing manager which can be used to index all items included in that index</span></li>
</ul>
<ul>
<li style="text-align: left;"><span style="color: #660000; font-family: "times" , "times new roman" , serif; font-size: medium;">From the code, it's all about getting a new index to search items in the custom index.</span></li>
</ul>
<ul>var index = ContentSearchManager.GetIndex("<b style="font-family: times, "times new roman", serif; font-size: large;">custom_index_id</b><span style="font-family: "times" , "times new roman" , serif; font-size: medium;">") </span>As index ID is the one added to <index id="custom-news_index" type="Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider"></ul>
<ul>
</ul>
<br />
<br />
</ul>
<div style="text-align: left;">
<span style="color: #660000;"><br /></span></div>
</div>
<div class="MsoNormal">
</div>
Anonymousnoreply@blogger.com3tag:blogger.com,1999:blog-345070017754283991.post-3353009673505417342017-04-02T03:43:00.000-07:002017-11-28T03:37:34.051-08:00Sitecore8.1 : Resolve Wildcard (*) Item and fix presentation not cloned from * item<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background-color: white; border: 0px; box-sizing: inherit; color: #5e5e5e; font-family: Roboto, Helvetica, sans-serif; font-size: 16px; margin-bottom: 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<br /></div>
<div style="background-color: white; border: 0px; box-sizing: inherit; color: #5e5e5e; font-family: Roboto, Helvetica, sans-serif; font-size: 16px; margin-bottom: 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
This is the Sitecore structure for <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">wildcard item (*)</strong></div>
<ul style="background-color: white; border: 0px; box-sizing: inherit; color: #5e5e5e; font-family: Roboto, Helvetica, sans-serif; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.6em 3em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">sitecore<ul style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">content<ul style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Site name<ul style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Home<ul style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Blogs<ul style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">*</li>
</ul>
</li>
</ul>
</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Globals<ul style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Blogs Folder<ul style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Year</li>
<ul>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Month</li>
<ul>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Blog Article 1</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Blog Article 2</li>
</ul>
</ul>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div style="background-color: white; border: 0px; box-sizing: inherit; color: #5e5e5e; font-family: Roboto, Helvetica, sans-serif; font-size: 16px; margin-bottom: 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;">
So according to this structure, we have <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">#Wildcard Item(*)</strong> under the home node. It is like Blog detail page that is under Blog landing page.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-XBrDg86aHdY/WQcIhUwzGRI/AAAAAAAAAGY/rz5vv4xRMyMq44W2g68t9UElwCKGyIhHQCLcB/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="145" src="https://3.bp.blogspot.com/-XBrDg86aHdY/WQcIhUwzGRI/AAAAAAAAAGY/rz5vv4xRMyMq44W2g68t9UElwCKGyIhHQCLcB/s400/1.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="background-color: white; color: #5e5e5e; font-size: 16px;"><span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">Under Globals </span></span><span style="background-color: white; color: #5e5e5e; font-family: "roboto" , "helvetica" , sans-serif; font-size: 16px;">folder we have all blogs, those are actual blogs Detail Pages, we need to resolve.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-95GnHyr8rko/WQcJRxdJaUI/AAAAAAAAAGk/lmUOCFtDstgvHQDUBVhMTY5nhAgkcnjKgCLcB/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-95GnHyr8rko/WQcJRxdJaUI/AAAAAAAAAGk/lmUOCFtDstgvHQDUBVhMTY5nhAgkcnjKgCLcB/s1600/2.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
First I have added new configuration file (z.wildcard.config) with the following configurations</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<ol>
<li>created <span style="background-color: white; color: #24292e; font-family: , "consolas" , "liberation mono" , "menlo" , "courier" , monospace; font-size: 12px; white-space: pre;">httpRequestBegin </span><span style="background-color: white; color: #24292e; white-space: pre;"><span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">processor as a batch to be executed after </span></span>Item Resolver to Call Wildcard processor</li>
<li>Sitecore 8.1 observed the following issues</li>
<ol>
<li>1. Wildcard items no longer work</li>
<li>2. Presentation for cloned items not found</li>
</ol>
</ol>
<br />
<div class="separator" style="clear: both; text-align: left;">
Solution:</div>
<div class="separator" style="clear: both; text-align: left;">
If you are using MVC with Sitecore 8.1 then add <span style="background-color: white; color: #24292e; font-family: , "consolas" , "liberation mono" , "menlo" , "courier" , monospace; font-size: 12px; white-space: pre;"><mvc.getPageItem> </span><span style="background-color: white; color: #24292e; white-space: pre;"><span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">after our processor to avoid any route conflict</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; color: #24292e; white-space: pre;"><span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; color: #24292e; white-space: pre;"><span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; color: #24292e; white-space: pre;"><span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">The last point is to add settings to disable </span></span><span style="font-size: 16px;">ItemResolving.FindBestMatch because it's enabled in Sitecore 8.1 which may cause wildcard redirect issues</span></div>
<br />
<script src="https://gist.github.com/HaneenDaoud/02767be1446b58763e7e92b1c97229ee.js"></script>
<br />
<script src="https://gist.github.com/HaneenDaoud/2ef233157e1a8df50b8b480d472d7210.js"></script>
<br />
<span style="font-size: 12pt;"> </span><br />
<ul>
<li>Add class <span style="background-color: white; color: #24292e; font-family: , "consolas" , "liberation mono" , "menlo" , "courier" , monospace; font-size: 12px; white-space: pre;">WildCardItemResolver </span><span style="background-color: white; color: #24292e; white-space: pre;"><span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">which include the processor to resolve wildcard </span></span></li>
</ul>
<br />
<script src="https://gist.github.com/HaneenDaoud/6851ca87e38f93f33337d1a45931554e.js"></script>
<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
</div>
Anonymousnoreply@blogger.com4